Example #1
0
int main()
{
    TestGame game;
    game.Run();

    return 0;
}
Example #2
0
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nCmdShow)
{
	//Create a TestGame pointer
	TestGame* tGame = new TestGame (hInstance);

	if (!tGame->Init ())
		return 0;

	return (tGame->Run ());
}
Example #3
0
int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int nCmdShow){
  TestGame TestGame;
  return TestGame.Run();
}