int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdParam, int nCmdShow) { Application *app = new Application; app->Create( hInstance, nCmdShow, "Pudding3D", 200, 100, 960, 640 ); return app->Run(); }
int main() { Application game = Application(); game.Create( "My Awesome Game", 1270, 720, 32, false ); while( game.isRunning()) { game.Update(); game.Draw(); } return 0; }