X operations(XOPS)に非常に近いFPSゲームを制作・リメイクし、成果物をオープンソースとして公開することを目的としたプロジェクトです。
| Revision | 110 (tree) |
|---|---|
| Time | 2015-09-14 23:05:34 |
| Author | |
Rev108以降コンパイルが通らなかった問題の修正、リソース解放の処理順序を変更。
| @@ -158,14 +158,14 @@ | ||
| 158 | 158 | GameParamInfo.DestroyInfo(); |
| 159 | 159 | |
| 160 | 160 | |
| 161 | - //D3DGraphicsクラス解放 | |
| 162 | - d3dg.DestroyD3D(); | |
| 161 | + //SoundControlクラス解放 | |
| 162 | + SoundCtrl.DestroySound(); | |
| 163 | 163 | |
| 164 | 164 | //InputControlクラス解放 |
| 165 | 165 | inputCtrl.DestroyInput(); |
| 166 | 166 | |
| 167 | - //SoundControlクラス解放 | |
| 168 | - SoundCtrl.DestroySound(); | |
| 167 | + //D3DGraphicsクラス解放 | |
| 168 | + d3dg.DestroyD3D(); | |
| 169 | 169 | } |
| 170 | 170 | |
| 171 | 171 | //! @brief コンストラクタ |
| @@ -246,6 +246,7 @@ | ||
| 246 | 246 | ~D3DGraphics(); |
| 247 | 247 | int InitD3D(WindowControl *WindowCtrl, char *TextureFontFilename, bool fullscreen); |
| 248 | 248 | int ResetD3D(WindowControl *WindowCtrl); |
| 249 | + void DestroyD3D(); | |
| 249 | 250 | int LoadModel(char* filename); |
| 250 | 251 | int MorphingModel(int idA, int idB); |
| 251 | 252 | void CleanupModel(int id); |