X operations(XOPS)に非常に近いFPSゲームを制作・リメイクし、成果物をオープンソースとして公開することを目的としたプロジェクトです。
| Revision | 109 (tree) |
|---|---|
| Time | 2015-09-12 22:46:54 |
| Author | |
ソースコード内のコメントを修正
| @@ -59,19 +59,19 @@ | ||
| 59 | 59 | //! @brief 基本的な初期化処理 |
| 60 | 60 | int InitGame(WindowControl *WindowCtrl) |
| 61 | 61 | { |
| 62 | - //DirectX初期化 | |
| 62 | + //D3DGraphicsクラス初期化 | |
| 63 | 63 | if( d3dg.InitD3D(WindowCtrl, "data\\char.dds", GameConfig.GetFullscreenFlag()) ){ |
| 64 | 64 | WindowCtrl->ErrorInfo("Direct3Dの作成に失敗しました"); |
| 65 | 65 | return 1; |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | - //Directinput初期化 | |
| 68 | + //InputControlクラス初期化 | |
| 69 | 69 | if( inputCtrl.InitInput(WindowCtrl) ){ |
| 70 | 70 | WindowCtrl->ErrorInfo("Input initialization error"); |
| 71 | 71 | return 1; |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | - //EASY DIRECT SOUND 初期化 | |
| 74 | + //SoundControlクラス初期化 | |
| 75 | 75 | if( SoundCtrl.InitSound(WindowCtrl) ){ |
| 76 | 76 | WindowCtrl->ErrorInfo("dll open failed"); |
| 77 | 77 | return 1; |
| @@ -118,7 +118,7 @@ | ||
| 118 | 118 | return 0; |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | -//! @brief DirectXをリセットする | |
| 121 | +//! @brief リソースをリセットする | |
| 122 | 122 | //! @return 失敗:1 それ以外:0 |
| 123 | 123 | //! @attention 通常は、描画処理に失敗した場合に限り呼び出してください。 |
| 124 | 124 | int ResetGame(WindowControl *WindowCtrl) |
| @@ -151,20 +151,20 @@ | ||
| 151 | 151 | //! @brief 基本的な解放処理 |
| 152 | 152 | void CleanupGame() |
| 153 | 153 | { |
| 154 | - //リソースを初期化 | |
| 154 | + //リソースを解放 | |
| 155 | 155 | Resource.DestroyResource(); |
| 156 | 156 | |
| 157 | - //設定値を初期化 | |
| 157 | + //設定値を解放 | |
| 158 | 158 | GameParamInfo.DestroyInfo(); |
| 159 | 159 | |
| 160 | 160 | |
| 161 | - //DirectX解放 | |
| 161 | + //D3DGraphicsクラス解放 | |
| 162 | 162 | d3dg.DestroyD3D(); |
| 163 | 163 | |
| 164 | - //Directinput解放 | |
| 164 | + //InputControlクラス解放 | |
| 165 | 165 | inputCtrl.DestroyInput(); |
| 166 | 166 | |
| 167 | - //EASY DIRECT SOUND 解放 | |
| 167 | + //SoundControlクラス解放 | |
| 168 | 168 | SoundCtrl.DestroySound(); |
| 169 | 169 | } |
| 170 | 170 |