#pragma once #ifndef __AFXWIN_H__ #error 在包含用于 PCH 的此文件之前包含“stdafx.h” #endif #include "Resource.h" #include "GameClientEngine.h" ////////////////////////////////////////////////////////////////////////// //应用程序类 class CGameClientApp : public CGameFrameApp { //函数定义 public: //构造函数 CGameClientApp(); //析构函数 virtual ~CGameClientApp(); //继承函数 public: //创建引擎 virtual CGameFrameEngine * GetGameFrameEngine(DWORD dwSDKVersion); }; //应用程序对象 extern CGameClientApp theApp; //////////////////////////////////////////////////////////////////////////