merge with physics

This commit is contained in:
Linda Andersson 2013-11-27 16:21:57 +01:00
parent c06a53addb
commit 01515a4d2d
1 changed files with 13 additions and 3 deletions

View File

@ -86,14 +86,24 @@ int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdL
DWORD dwReserved; // must be zero
} LOADPARMS32;
LOADPARMS32 p;
memset(&p, 0, sizeof(LOADPARMS32));
p.lpEnvAddress = "";
p.lpCmdLine = "";
p.lpCmdShow = "";
p.dwReserved = 0;
DWORD ret = LoadModule("OysterGraphics_x86D.dll", &p);
ret = LoadModule("GameLogic_x86D.dll", &p);
DWORD ret = 1;
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 ) ) )
return 0;