文件名称:CS_game
- 所属分类:
- 射击游戏
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2013-06-22
- 文件大小:
- 6.12mb
- 下载次数:
- 0次
- 提 供 者:
- wozha*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
局域网CS 游戏 D3D做的。内容非常详细,功能齐全-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
{
//全局当前对象
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
射击类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
....\...........\...........\...\...