Download this file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 #define WIN32_LEAN_AND_MEAN #include "windows.h" #endif #include "OgreEngineManager.h" int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { if (ENGINEMANAGER.Startup()) ENGINEMANAGER.StartRenderLoop(); ENGINEMANAGER.Shutdown(); return 0; }