Description: CDrawGameEx::CDrawGameEx(void)
{
//全局当前对象
gthis = this
//FPS
_fps = NULL
//摄像机
_theCamera = NULL
//map
_maps = NULL
_skyBox = NULL
//Role
_Roles = NULL
//UI 界面
_EngineRender = NULL
_mainGui =-1
_startGui =-1
_creditsGui =-1
_currentGUI = GUI_MAIN_SCREEN
//font id
_arialID =-1
_InputSystem = NULL
//mouse x y
_mouseX = 0
_mouseY = 0
_LMBDown = false
_RMBDown = false
//sound id
_Sound_OverMenu =-1
_SoundSystem = NULL
//Game states
_gameState = GS_MENU
//handle
_hwnd = NULL
_MapOtherCS.clear()
IsCheckToServer = false
//debug
_debug = NULL
testLineID =-1
}
CDrawGameEx::~CDrawGameEx(void)
{
SAFE_DELETE(_fps)
SAFE_DELETE(_theCamera)
//map
SAFE_DELETE(_maps)
//Role
SAFE_DELETE(_Roles)
//Debug
SAFE_DELETE(_debug)
}
void CDrawGameEx::ShutdownEngine()
{
if(_EngineRender)
{
_EngineRender->Shutdown()
delete _Engin
To Search:
File list (Check if you may need any files):
射击类3D网络游戏的设计与实现论文.doc
程序\GameServer\Debug\config.ini
....\..........\FileIO.cpp
....\..........\FileIO.h
....\..........\GameServer.cpp
....\..........\GameServer.dsp
....\..........\GameServer.dsw
....\..........\GameServer.ncb
....\..........\GameServer.opt
....\..........\GameServer.plg
....\..........\IniHelper.cpp
....\..........\IniHelper.h
....\..........\PathHelper.cpp
....\..........\PathHelper.h
....\..........\ReadMe.txt
....\..........\Socket.cpp
....\..........\Socket.h
....\..........\SocketHelper.cpp
....\..........\SocketHelper.h
....\..........\StdAfx.cpp
....\..........\StdAfx.h
....\SampleCS1.0\Debug\config.ini
....\...........\.....\InputIpCmd.exe
....\...........\InputIpCmd\InputIpCmd.cpp
....\...........\..........\InputIpCmd.dsp
....\...........\..........\InputIpCmd.dsw
....\...........\..........\InputIpCmd.ncb
....\...........\..........\InputIpCmd.opt
....\...........\..........\InputIpCmd.plg
....\...........\lib\StrandedEngine.lib
....\...........\SampleCS1.0\backFile\CommonWall.cpp
....\...........\...........\........\CommonWall.h
....\...........\...........\Camera.cpp
....\...........\...........\Camera.h
....\...........\...........\config.ini
....\...........\...........\CSEngine.h
....\...........\...........\Debug.cpp
....\...........\...........\Debug.h
....\...........\...........\DrawGameEx.cpp
....\...........\...........\DrawGameEx.h
....\...........\...........\GameDefines.h
....\...........\...........\GameStruct.h
....\...........\...........\GameUI.cpp
....\...........\...........\GameUI.h
....\...........\...........\IniHelper.cpp
....\...........\...........\IniHelper.h
....\...........\...........\InputIpCmd.exe
....\...........\...........\lib\StrandedEngine.lib
....\...........\...........\Light.cpp
....\...........\...........\Light.h
....\...........\...........\map\cs_models\terror.mdl
....\...........\...........\...\.........\w_ak47.mdl
....\...........\...........\...\lion\Lion.tga
....\...........\...........\...\....\lion.X
....\...........\...........\...\map1.ini
....\...........\...........\...\map1.txt
....\...........\...........\...\map2.ini
....\...........\...........\...\map2.txt
....\...........\...........\...\.odels\p_mp5.mdl
....\...........\...........\...\......\terror.mdl
....\...........\...........\...\......\v_mp5.mdl
....\...........\...........\...\sky1\skybox.x
....\...........\...........\...\....\skyDay_back.jpg
....\...........\...........\...\....\skyDay_front.jpg
....\...........\...........\...\....\skyDay_left.jpg
....\...........\...........\...\....\skyDay_right.jpg
....\...........\...........\...\....\skyDay_top.jpg
....\...........\...........\...\....\sky_dust_bottom.jpg
....\...........\...........\Maps.cpp
....\...........\...........\Maps.h
....\...........\...........\menu\backDown.png
....\...........\...........\....\backOver.png
....\...........\...........\....\backUp.png
....\...........\...........\....\creditsDown.png
....\...........\...........\....\creditsMenu.jpg
....\...........\...........\....\creditsOver.png
....\...........\...........\....\creditsUp.png
....\...........\...........\....\mainMenu.jpg
....\...........\...........\....\quitDown.png
....\...........\...........\....\quitOver.png
....\...........\...........\....\quitUp.png
....\...........\...........\....\startDown.png
....\...........\...........\....\startOver.png
....\...........\...........\....\startUp.png
....\...........\...........\PathHelper.cpp
....\...........\...........\PathHelper.h
....\...........\...........\Player.cpp
....\...........\...........\Player.h
....\...........\...........\ReadMe.txt
....\...........\...........\Render.cpp
....\...........\...........\Render.h
....\...........\...........\res\brick080.jpg
....\...........\...........\...\sounds\boltup.wav
....\...........\...........\...\......\buttonclick.wav
....\...........\...........\...\......\death6.wav
....\...........\...........\...\......\footfall01.wav
....\...........\...........\...\......\go.wav
....\...........\...........\...\...