merge with physics
This commit is contained in:
parent
c06a53addb
commit
01515a4d2d
|
@ -86,14 +86,24 @@ int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdL
|
||||||
DWORD dwReserved; // must be zero
|
DWORD dwReserved; // must be zero
|
||||||
} LOADPARMS32;
|
} LOADPARMS32;
|
||||||
LOADPARMS32 p;
|
LOADPARMS32 p;
|
||||||
memset(&p, 0, sizeof(LOADPARMS32));
|
|
||||||
p.lpEnvAddress = "";
|
p.lpEnvAddress = "";
|
||||||
p.lpCmdLine = "";
|
p.lpCmdLine = "";
|
||||||
p.lpCmdShow = "";
|
p.lpCmdShow = "";
|
||||||
p.dwReserved = 0;
|
p.dwReserved = 0;
|
||||||
DWORD ret = LoadModule("OysterGraphics_x86D.dll", &p);
|
DWORD ret = 1;
|
||||||
ret = LoadModule("GameLogic_x86D.dll", &p);
|
ret = LoadModule("OysterGraphics_x86D.dll", &p);
|
||||||
|
|
||||||
|
if( ret == 0)
|
||||||
|
{
|
||||||
|
// error
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
ret = LoadModule("GameLogic_x86D.dll", &p);
|
||||||
|
if( ret == 0)
|
||||||
|
{
|
||||||
|
// error
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
if( FAILED( InitWindow( hInstance, nCmdShow ) ) )
|
if( FAILED( InitWindow( hInstance, nCmdShow ) ) )
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue