tank.md~
来自「一个用c++写的很棒的坦克大战游戏源代码」· MD~ 代码 · 共 2,214 行 · 第 1/5 页
MD~
2,214 行
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "DDInit"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A47017D"
result "BOOL"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "InitApplication"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A470186"
result "BOOL"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "Initialize"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A470187"
parameters (list Parameters
(object Parameter "hInst"
type "HINSTANCE"))
result "BOOL"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "~CGame"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A470189"
stereotype "virtual"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "CGame"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A47018A"
concurrency "Sequential"
opExportControl "Public"
uid 0))
class_attributes (list class_attribute_list
(object ClassAttribute "m_lockTime"
quid "3EBF9A470020"
type "DWORD")
(object ClassAttribute "m_bEnemyLocked"
quid "3EBF9A470021"
type "BOOL")
(object ClassAttribute "m_nEnemys"
quid "3EBF9A470022"
type "int")
(object ClassAttribute "m_nEnemysLeft"
quid "3EBF9A470023"
type "int")
(object ClassAttribute "m_nLevel"
quid "3EBF9A470024"
type "int")
(object ClassAttribute "m_lastTime"
quid "3EBF9A470025"
type "DWORD")
(object ClassAttribute "m_nMaxEnemys"
quid "3EBF9A47003D"
type "int")
(object ClassAttribute "m_dwFillColor"
quid "3EBF9A470072"
type "DWORD")
(object ClassAttribute "m_bSingle"
quid "3EBF9A470082"
type "BOOL")
(object ClassAttribute "m_bFullScreen"
quid "3EBF9A47008C"
type "BOOL")
(object ClassAttribute "m_bShowStats"
quid "3EBF9A47008D"
type "BOOL")
(object ClassAttribute "m_bActive"
quid "3EBF9A47009C"
type "BOOL")
(object ClassAttribute "m_hWnd"
quid "3EBF9A4700AB"
type "HWND")
(object ClassAttribute "m_hInst"
quid "3EBF9A4700AC"
type "HINSTANCE"))
module "Component View::BattleCity"
quidu "3EBF9A30000F"
language "VC++")
(object Class "CSprite"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "AppliedPattern"
value "none")
(object Attribute
tool "VC++"
name "AfxSupportMacro"
value ""))
quid "3EBF9A4701D4"
operations (list Operations
(object Operation "Draw"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A4701E9"
parameters (list Parameters
(object Parameter "pdds"
type "LPDIRECTDRAWSURFACE"))
result "void"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "HitTest"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A4701EB"
parameters (list Parameters
(object Parameter "sprite"
type "CSprite&"))
result "BOOL"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "BitBlt"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value TRUE))
quid "3EBF9A4701ED"
parameters (list Parameters
(object Parameter "bmp"
type "LPDIRECTDRAWSURFACE"))
result "void"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "Create"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value TRUE))
quid "3EBF9A4701EF"
parameters (list Parameters
(object Parameter "w"
type "int")
(object Parameter "h"
type "int")
(object Parameter "active"
type "BOOL"))
result "void"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "CSprite"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A4701F7"
concurrency "Sequential"
opExportControl "Public"
uid 0))
class_attributes (list class_attribute_list
(object ClassAttribute "m_height"
quid "3EBF9A4701D5"
type "int"
exportControl "Public")
(object ClassAttribute "m_width"
quid "3EBF9A4701D6"
type "int"
exportControl "Public")
(object ClassAttribute "m_y"
quid "3EBF9A4701D7"
type "float"
exportControl "Public")
(object ClassAttribute "m_x"
quid "3EBF9A4701D8"
type "float"
exportControl "Public")
(object ClassAttribute "m_active"
quid "3EBF9A4701D9"
type "BOOL"
exportControl "Public"))
module "Component View::BattleCity"
quidu "3EBF9A30000F"
language "VC++")
(object Class "CDirectInput"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "AppliedPattern"
value "none")
(object Attribute
tool "VC++"
name "AfxSupportMacro"
value ""))
quid "3EBF9A470242"
operations (list Operations
(object Operation "EnumJoystickCB"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A470243"
stereotype "friend"
parameters (list Parameters
(object Parameter "pdinst"
type "LPCDIDEVICEINSTANCE")
(object Parameter "pvRef"
type "LPVOID"))
result "BOOL CALLBACK"
concurrency "Sequential"
opExportControl "Private"
uid 0)
(object Operation "GetKey"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A47025B"
parameters (list Parameters
(object Parameter "input1"
type "WORD&")
(object Parameter "input2"
type "WORD&"))
result "BOOL"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "Acquire"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A470261"
result "BOOL"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "Destroy"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A470262"
result "void"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "Create"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A470263"
parameters (list Parameters
(object Parameter "hInst"
type "HINSTANCE")
(object Parameter "hWnd"
type "HWND"))
result "BOOL"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "~CDirectInput"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A470266"
stereotype "virtual"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "CDirectInput"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A470267"
concurrency "Sequential"
opExportControl "Public"
uid 0))
module "Component View::BattleCity"
quidu "3EBF9A30000F"
language "VC++")
(object Class "CWaveSoundRead"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "AppliedPattern"
value "none")
(object Attribute
tool "VC++"
name "AfxSupportMacro"
value ""))
quid "3EBF9A4702BF"
documentation
|-----------------------------------------------------------------------------
| Name: class CWaveSoundRead
| Desc: A class to read in sound data from a Wave file
|-----------------------------------------------------------------------------
operations (list Operations
(object Operation "Close"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A4702E2"
result "HRESULT"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "Read"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A4702E3"
parameters (list Parameters
(object Parameter "nSizeToRead"
type "UINT")
(object Parameter "pbData"
type "BYTE*")
(object Parameter "pnSizeRead"
type "UINT*"))
result "HRESULT"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "Reset"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A4702EE"
result "HRESULT"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "Open"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A4702EF"
parameters (list Parameters
(object Parameter "strFilename"
type "CHAR*"))
result "HRESULT"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "~CWaveSoundRead"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A4702F1"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "CWaveSoundRead"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A4702F2"
concurrency "Sequential"
opExportControl "Public"
uid 0))
module "Component View::BattleCity"
quidu "3EBF9A30000F"
language "VC++")
(object Class "CEnemy"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "AppliedPattern"
value "none")
(object Attribute
tool "VC++"
name "AfxSupportMacro"
value ""))
quid "3EBF9A47032C"
superclasses (list inheritance_relationship_list
(object Inheritance_Relationship
quid "3EBF9A47032D"
supplier "Logical View::Reverse Engineered::BattleCity::CTank"
quidu "3EBF9A48006D"))
operations (list Operations
(object Operation "Draw"
attributes (list Attribute_Set
(object Attribute
tool "VC++"
name "Inline"
value FALSE))
quid "3EBF9A47033F"
parameters (list Parameters
(object Parameter "pdds"
type "LPDIRECTDRAWSURFACE"))
result "void"
concurrency "Sequential"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?