Introduction - If you have any usage issues, please Google them yourself
G5 game engine sample code using DirectX9 realize the underlying engine. The direction of engine production is to make logic layer to minimize the amount of coding. Commonly used in the game count and status values in the engine will automatically maintain, logic layer can be at any time convenient to retrieve such information. (Eg: the game after the start of the frame count)
Packet : 3970989g5engine.rar filelist
Sample.suo
_Bin
_Bin\d3dx9_28.dll
_Bin\FMod.dll
_Bin\G5Engine.dll
_Bin\G5Engine.lib
_Bin\G5Engine.log
_Bin\G5Game.dll
_Bin\G5Game.lib
_Bin\G5Socket.dll
_Bin\G5Socket.lib
_Bin\G5UT.dll
_Bin\G5UT.lib
_Bin\Plane
_Bin\Plane\Resource
_Bin\Plane\Resource\Explode.res
_Bin\Plane\Resource\Explode.res\000.bmp
_Bin\Plane\Resource\Explode.res\001.bmp
_Bin\Plane\Resource\Explode.res\002.bmp
_Bin\Plane\Resource\Explode.res\003.bmp
_Bin\Plane\Resource\Explode.res\004.bmp
_Bin\Plane\Resource\Explode.res\005.bmp
_Bin\Plane\Resource\Explode.res\006.bmp
_Bin\Plane\Resource\Explode.res\007.bmp
_Bin\Plane\Resource\Explode.res\008.bmp
_Bin\Plane\Resource\Explode.res\009.bmp
_Bin\Plane\Resource\Explode.res\Desc.ini
_Bin\Plane\Resource\Sky.res
_Bin\Plane\Resource\Sky.res\000.bmp
_Bin\Plane\Resource\Sky.res\Desc.ini
_Bin\Plane\Resource\UI.res
_Bin\Plane\Resource\UI.res\000.png
_Bin\Plane\Resource\UI.res\001.png
_Bin\Plane\Resource\UI.res\Desc.ini
_Bin\Plane\Resource\UI.res\jackal2封面结构.png
_Bin\Plane\Sound
_Bin\Plane\Sound\Bullet.wav
_Bin\Plane\Sound\explode.WAV
_Bin\Plane\Sound\Music.mid
_Bin\Plane\Sprite
_Bin\Plane\Sprite\EBullet.res
_Bin\Plane\Sprite\EBullet.res\000.BMP
_Bin\Plane\Sprite\EBullet.res\Desc.ini
_Bin\Plane\Sprite\EBullet.spr
_Bin\Plane\Sprite\EPlane.res
_Bin\Plane\Sprite\EPlane.res\000.bmp
_Bin\Plane\Sprite\EPlane.res\Desc.ini
_Bin\Plane\Sprite\EPlane.spr
_Bin\Plane\Sprite\PBullet.res
_Bin\Plane\Sprite\PBullet.res\000.bmp
_Bin\Plane\Sprite\PBullet.res\Desc.ini
_Bin\Plane\Sprite\PBullet.spr
_Bin\Plane\Sprite\PPlane.res
_Bin\Plane\Sprite\PPlane.res\000.BMP
_Bin\Plane\Sprite\PPlane.res\001.BMP
_Bin\Plane\Sprite\PPlane.res\002.BMP
_Bin\Plane\Sprite\PPlane.res\003.bmp
_Bin\Plane\Sprite\PPlane.res\Desc.ini
_Bin\Plane\Sprite\PPlane.spr
_Bin\Plane.exe
_Bin\Plane.pdb
_Bin\ResPacker.exe
_Bin\ResPreview.exe
_Bin\ResPreview.ini
_Bin\Sample1
_Bin\Sample1\Explode.res
_Bin\Sample1\Explode.res\000.png
_Bin\Sample1\Explode.res\001.png
_Bin\Sample1\Explode.res\002.png
_Bin\Sample1\Explode.res\003.png
_Bin\Sample1\Explode.res\004.png
_Bin\Sample1\Explode.res\005.png
_Bin\Sample1\Explode.res\006.png
_Bin\Sample1\Explode.res\007.png
_Bin\Sample1\Explode.res\008.png
_Bin\Sample1\Explode.res\009.png
_Bin\Sample1\Explode.res\010.png
_Bin\Sample1\Explode.res\011.png
_Bin\Sample1\Explode.res\012.png
_Bin\Sample1\Explode.res\013.png
_Bin\Sample1\Explode.res\014.png
_Bin\Sample1\Explode.res\015.png
_Bin\Sample1\Explode.res\016.png
_Bin\Sample1\Explode.res\017.png
_Bin\Sample1\Explode.res\018.png
_Bin\Sample1\Explode.res\019.png
_Bin\Sample1\Explode.res\020.png
_Bin\Sample1\Explode.res\021.png
_Bin\Sample1\Explode.res\022.png
_Bin\Sample1\Explode.res\023.png
_Bin\Sample1\Explode.res\024.png
_Bin\Sample1\Explode.res\025.png
_Bin\Sample1\Explode.res\026.png
_Bin\Sample1\Explode.res\027.png
_Bin\Sample1\Explode.res\028.png
_Bin\Sample1\Explode.res\029.png
_Bin\Sample1\Explode.res\030.png
_Bin\Sample1\Explode.res\031.png
_Bin\Sample1\Explode.res\032.png
_Bin\Sample1\Explode.res\033.png
_Bin\Sample1\Explode.res\034.png
_Bin\Sample1\Explode.res\Desc.ini
_Bin\Sample1\Explode.res\Thumbs.db
_Bin\Sample1\Explode.WAV
_Bin\Sample1\Plane.res
_Bin\Sample1\Plane.res\000.BMP
_Bin\Sample1\Plane.res\Desc.ini
_Bin\Sample1\Plane.res\Thumbs.db
_Bin\Sample1.exe
_Bin\Sample1.pdb
_Bin\Sample2
_Bin\Sample2\Tile.res
_Bin\Sample2\Tile.res\000.bmp
_Bin\Sample2\Tile.res\001.bmp
_Bin\Sample2\Tile.res\Desc.ini
_Bin\Sample2\Tile.res\Thumbs.db
_Bin\Sample2.exe
_Bin\Sample2.pdb
_Bin\Sample3.exe
_Bin\Sample3.pdb
_Bin\Sample4
_Bin\Sample4\Background.res
_Bin\Sample4\Background.res\000.jpg
_Bin\Sample4\Background.res\Desc.ini
_Bin\Sample4\Button.wav
_Bin\Sample4\Char0.res
_Bin\Sample4\Char0.res\000.bmp
_Bin\Sample4\Char0.res\001.bmp
_Bin\Sample4\Char0.res\002.bmp
_Bin\Sample4\Char0.res\003.bmp
_Bin\Sample4\Char0.res\004.bmp
_Bin\Sample4\Char0.res\005.bmp
_Bin\Sample4\Char0.res\006.bmp
_Bin\Sample4\Char0.res\007.bmp
_Bin\Sample4\Char0.res\008.bmp
_Bin\Sample4\Char0.res\009.bmp
_Bin\Sample4\Char0.res\010.bmp
_Bin\Sample4\Char0.res\011.bmp
_Bin\Sample4\Char0.res\012.bmp
_Bin\Sample4\Char0.res\013.bmp
_Bin\Sample4\Char0.res\014.bmp
_Bin\Sample4\Char0.res\015.bmp
_Bin\Sample4\Char0.res\016.bmp
_Bin\Sample4\Char0.res\017.bmp
_Bin\Sample4\Char0.res\Desc.ini
_Bin\Sample4\Char1.res
_Bin\Sample4\Char1.res\000.bmp
_Bin\Sample4\Char1.res\001.bmp
_Bin\Sample4\Char1.res\002.bmp
_Bin\Sample4\Char1.res\003.bmp
_Bin\Sample4\Char1.res\004.bmp
_Bin\Sample4\Char1.res\005.bmp
_Bin\Sample4\Char1.res\006.bmp
_Bin\Sample4\Char1.res\007.bmp
_Bin\Sample4\Char1.res\Desc.ini
_Bin\Sample4\Char2.res
_Bin\Sample4\Char2.res\000.bmp
_Bin\Sample4\Char2.res\001.bmp
_Bin\Sample4\Char2.res\002.bmp
_Bin\Sample4\Char2.res\003.bmp
_Bin\Sample4\Char2.res\004.bmp
_Bin\Sample4\Char2.res\005.bmp
_Bin\Sample4\Char2.res\006.bmp
_Bin\Sample4\Char2.res\007.bmp
_Bin\Sample4\Char2.res\008.bmp
_Bin\Sample4\Char2.res\009.bmp
_Bin\Sample4\Char2.res\010.bmp
_Bin\Sample4\Char2.res\011.bmp
_Bin\Sample4\Char2.res\012.bmp
_Bin\Sample4\Char2.res\013.bmp
_Bin\Sample4\Char2.res\014.bmp
_Bin\Sample4\Char2.res\015.bmp
_Bin\Sample4\Char2.res\016.bmp
_Bin\Sample4\Char2.res\017.bmp
_Bin\Sample4\Char2.res\018.bmp
_Bin\Sample4\Char2.res\019.bmp
_Bin\Sample4\Char2.res\Desc.ini
_Bin\Sample4\Char3.res
_Bin\Sample4\Char3.res\000.bmp
_Bin\Sample4\Char3.res\001.bmp
_Bin\Sample4\Char3.res\002.bmp
_Bin\Sample4\Char3.res\003.bmp
_Bin\Sample4\Char3.res\004.bmp
_Bin\Sample4\Char3.res\005.bmp
_Bin\Sample4\Char3.res\006.bmp
_Bin\Sample4\Char3.res\007.bmp
_Bin\Sample4\Char3.res\008.bmp
_Bin\Sample4\Char3.res\009.bmp
_Bin\Sample4\Char3.res\010.bmp
_Bin\Sample4\Char3.res\011.bmp
_Bin\Sample4\Char3.res\012.bmp
_Bin\Sample4\Char3.res\013.bmp
_Bin\Sample4\Char3.res\014.bmp
_Bin\Sample4\Char3.res\015.bmp
_Bin\Sample4\Char3.res\016.bmp
_Bin\Sample4\Char3.res\017.bmp
_Bin\Sample4\Char3.res\018.bmp
_Bin\Sample4\Char3.res\019.bmp
_Bin\Sample4\Char3.res\020.bmp
_Bin\Sample4\Char3.res\021.bmp
_Bin\Sample4\Char3.res\Desc.ini
_Bin\Sample4\CharDlg.res
_Bin\Sample4\CharDlg.res\000.bmp
_Bin\Sample4\CharDlg.res\001.bmp
_Bin\Sample4\CharDlg.res\002.bmp
_Bin\Sample4\CharDlg.res\Desc.ini
_Bin\Sample4\ChatDlg.res
_Bin\Sample4\ChatDlg.res\000.png
_Bin\Sample4\ChatDlg.res\Desc.ini
_Bin\Sample4\ChatDlg.res\Thumbs.db
_Bin\Sample4\Click.wav
_Bin\Sample4\Edit.res
_Bin\Sample4\Edit.res\000.bmp
_Bin\Sample4\Edit.res\Desc.ini
_Bin\Sample4\Edit.res\Thumbs.db
_Bin\Sample4\LeftBtn.res
_Bin\Sample4\LeftBtn.res\000.bmp
_Bin\Sample4\LeftBtn.res\001.bmp
_Bin\Sample4\LeftBtn.res\002.bmp
_Bin\Sample4\LeftBtn.res\Desc.ini
_Bin\Sample4\MenuDlg.res
_Bin\Sample4\MenuDlg.res\000.png
_Bin\Sample4\MenuDlg.res\Desc.ini
_Bin\Sample4\MenuDlg.res\Thumbs.db
_Bin\Sample4\MenuItem.res
_Bin\Sample4\MenuItem.res\000.png
_Bin\Sample4\MenuItem.res\Desc.ini
_Bin\Sample4\MenuItem.res\Thumbs.db
_Bin\Sample4\MenuItemEffect.res
_Bin\Sample4\MenuItemEffect.res\000.png
_Bin\Sample4\MenuItemEffect.res\001.bmp
_Bin\Sample4\MenuItemEffect.res\001.png
_Bin\Sample4\MenuItemEffect.res\002.bmp
_Bin\Sample4\MenuItemEffect.res\002.png
_Bin\Sample4\MenuItemEffect.res\Desc.ini
_Bin\Sample4\MenuItemEffect.res\Thumbs.db
_Bin\Sample4\MenuItemSelect.ogg
_Bin\Sample4\RightBtn.res
_Bin\Sample4\RightBtn.res\000.bmp
_Bin\Sample4\RightBtn.res\001.bmp
_Bin\Sample4\RightBtn.res\002.bmp
_Bin\Sample4\RightBtn.res\Desc.ini
_Bin\Sample4\SendBtn.res
_Bin\Sample4\SendBtn.res\000.bmp
_Bin\Sample4\SendBtn.res\001.bmp
_Bin\Sample4\SendBtn.res\002.bmp
_Bin\Sample4\SendBtn.res\Desc.ini
_Bin\Sample4\ShowSlot.wav
_Bin\Sample4\StartBtn.res
_Bin\Sample4\StartBtn.res\000.bmp
_Bin\Sample4\StartBtn.res\001.bmp
_Bin\Sample4\StartBtn.res\002.bmp
_Bin\Sample4\StartBtn.res\Desc.ini
_Bin\Sample4\StartBtnEffect.res
_Bin\Sample4\StartBtnEffect.res\000.bmp
_Bin\Sample4\StartBtnEffect.res\001.bmp
_Bin\Sample4\StartBtnEffect.res\002.bmp
_Bin\Sample4\StartBtnEffect.res\003.bmp
_Bin\Sample4\StartBtnEffect.res\004.bmp
_Bin\Sample4\StartBtnEffect.res\005.bmp
_Bin\Sample4\StartBtnEffect.res\006.bmp
_Bin\Sample4\StartBtnEffect.res\Desc.ini
_Bin\Sample4\TeamBtn.res
_Bin\Sample4\TeamBtn.res\000.bmp
_Bin\Sample4\TeamBtn.res\001.bmp
_Bin\Sample4\TeamBtn.res\002.bmp
_Bin\Sample4\TeamBtn.res\Desc.ini
_Bin\Sample4.exe
_Bin\Sample4.pdb
_Bin\SpriteEditor
_Bin\SpriteEditor\SpriteEditor.ini
_Bin\SpriteEditor\UI
_Bin\SpriteEditor\UI\Button.res
_Bin\SpriteEditor\UI\Button.res\000.bmp
_Bin\SpriteEditor\UI\Button.res\002.bmp
_Bin\SpriteEditor\UI\Button.res\Desc.ini
_Bin\SpriteEditor\UI\Cursor.res
_Bin\SpriteEditor\UI\Cursor.res\000.bmp
_Bin\SpriteEditor\UI\Cursor.res\001.bmp
_Bin\SpriteEditor\UI\Cursor.res\Desc.ini
_Bin\SpriteEditor\UI\Edit.res
_Bin\SpriteEditor\UI\Edit.res\000.bmp
_Bin\SpriteEditor\UI\Edit.res\Desc.ini
_Bin\SpriteEditor\UI\Radio.res
_Bin\SpriteEditor\UI\Radio.res\000.bmp
_Bin\SpriteEditor\UI\Radio.res\004.bmp
_Bin\SpriteEditor\UI\Radio.res\Desc.ini
_Bin\SpriteEditor.exe
_Bin\TraceViewer.exe
_Bin\TraceViewer.ini
include
include\3DFunc.h
include\Animation.h
include\AnimationCtrl.h
include\Camera.h
include\Cube.h
include\EngineDefine.h
include\EngineFont.h
include\G5Game.h
include\G5GameDefine.h
include\G5Socket.h
include\G5Ut.h
include\G5UtDefine.h
include\GameEngine.h
include\GameFun.h
include\GButton.h
include\GDialog.h
include\GEdit.h
include\Geometry.h
include\GResource.h
include\GUI.h
include\GUIDefine.h
include\GWnd.h
include\IniFile.h
include\InputSystem.h
include\InputSystemDefine.h
include\IServerShell.h
include\MacroUtility.h
include\MapSprite.h
include\MemoryCheck.h
include\Mesh.h
include\Picture.h
include\RenderSystem.h
include\RenderSystemDefine.h
include\Sound.h
include\SoundSystem.h
include\SoundSystemDefine.h
include\SpriteArray.h
include\SystemBase.h
include\TileMap.h
include\TraceSend.h
include\TypeDefine.h
include\Utility.h
include\win32file.h
Plane
Plane\Debug
Plane\G5Engine.log
Plane\Game.cpp
Plane\Game.h
Plane\GameDefine.h
Plane\GameFun.cpp
Plane\GameFun.h
Plane\Global.cpp
Plane\Global.h
Plane\Plane.cpp
Plane\Plane.h
Plane\Plane.ico
Plane\Plane.rc
Plane\Plane.sln
Plane\Plane.suo
Plane\Plane.vcproj
Plane\ReadMe.txt
Plane\Release
Plane\Resource.h
Plane\small.ico
Plane\Sprite.cpp
Plane\Sprite.h
Plane\SpriteDefine.h
Plane\stdafx.cpp
Plane\stdafx.h
Sample1
Sample1\Debug
Sample1\Game.cpp
Sample1\Game.h
Sample1\Global.cpp
Sample1\Global.h
Sample1\ReadMe.txt
Sample1\Release
Sample1\Resource.h
Sample1\Sample1.cpp
Sample1\Sample1.h
Sample1\Sample1.ico
Sample1\Sample1.rc
Sample1\Sample1.vcproj
Sample1\small.ico
Sample1\stdafx.cpp
Sample1\stdafx.h
Sample2
Sample2\Debug
Sample2\Game.cpp
Sample2\Game.h
Sample2\Global.cpp
Sample2\Global.h
Sample2\ReadMe.txt
Sample2\Release
Sample2\Resource.h
Sample2\Sample2.cpp
Sample2\Sample2.h
Sample2\Sample2.ico
Sample2\Sample2.rc
Sample2\Sample2.vcproj
Sample2\small.ico
Sample2\stdafx.cpp
Sample2\stdafx.h
Sample3
Sample3\Debug
Sample3\G5Engine.log
Sample3\Game.cpp
Sample3\Game.h
Sample3\Global.cpp
Sample3\Global.h
Sample3\ReadMe.txt
Sample3\Release
Sample3\resource.h
Sample3\Sample.aps
Sample3\Sample.cpp
Sample3\Sample.h
Sample3\Sample.ico
Sample3\Sample.rc
Sample3\Sample3.sln
Sample3\Sample3.suo
Sample3\Sample3.vcproj
Sample3\small.ico
Sample3\stdafx.cpp
Sample3\stdafx.h
Sample4
Sample4\CharDlg.cpp
Sample4\CharDlg.h
Sample4\Debug
Sample4\G5Engine.log
Sample4\Game.cpp
Sample4\Game.h
Sample4\Global.cpp
Sample4\Global.h
Sample4\MenuDlg.cpp
Sample4\MenuDlg.h
Sample4\ReadMe.txt
Sample4\Release
Sample4\resource.h
Sample4\Sample.aps
Sample4\Sample.cpp
Sample4\Sample.h
Sample4\Sample.ico
Sample4\Sample.rc
Sample4\Sample.vcproj
Sample4\small.ico
Sample4\stdafx.cpp
Sample4\stdafx.h
Clear_Obj.bat
Sample.ncb
Sample.sln