int main(int argc, char *argv[]) { Game1* game = new Game1(); game->Run("Test Window", 800, 480); delete game; return 0; }
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow ){ Game1 game; SGE::Framework::GameDescription GD; GD.fullscreen = true; GD.height = 1080; GD.width = 1920; HRESULT result = game.Run(NULL,hInstance,nCmdShow); }
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow ){ Game1 game; HRESULT result = game.Run(NULL,hInstance,nCmdShow); }