⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 winmain.cpp

📁 赫赫大名的 OGRE 游戏引擎
💻 CPP
字号:
// Include the TutorialApplication header
#include "TutorialApplication.h"

// We are always windows, no need for checks
#define WIN32_LEAN_AND_MEAN
#include <windows.h>

// The nasty WinMain
INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR
   strCmdLine, INT )
{
   // Start the application
   try 
   {
      // Create an instance of our application
      TutorialApplication TutorialApp;

      // Run the Application
      TutorialApp.go();
   } 
   catch ( Ogre::Exception &error ) 
   {
      // An exception has occured
      MessageBox( NULL, error.getFullDescription().c_str(), 
         "An exception has occured!",
         MB_OK | MB_ICONERROR | MB_TASKMODAL );
   }
   return 0;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -