• R/O
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

X operations(XOPS)に非常に近いFPSゲームを制作・リメイクし、成果物をオープンソースとして公開することを目的としたプロジェクトです。


Commit MetaInfo

Revision110 (tree)
Time2015-09-14 23:05:34
Authorxops-mikan

Log Message

Rev108以降コンパイルが通らなかった問題の修正、リソース解放の処理順序を変更。

Change Summary

Incremental Difference

--- trunk/gamemain.cpp (revision 109)
+++ trunk/gamemain.cpp (revision 110)
@@ -158,14 +158,14 @@
158158 GameParamInfo.DestroyInfo();
159159
160160
161- //D3DGraphicsクラス解放
162- d3dg.DestroyD3D();
161+ //SoundControlクラス解放
162+ SoundCtrl.DestroySound();
163163
164164 //InputControlクラス解放
165165 inputCtrl.DestroyInput();
166166
167- //SoundControlクラス解放
168- SoundCtrl.DestroySound();
167+ //D3DGraphicsクラス解放
168+ d3dg.DestroyD3D();
169169 }
170170
171171 //! @brief コンストラクタ
--- trunk/d3dgraphics.h (revision 109)
+++ trunk/d3dgraphics.h (revision 110)
@@ -246,6 +246,7 @@
246246 ~D3DGraphics();
247247 int InitD3D(WindowControl *WindowCtrl, char *TextureFontFilename, bool fullscreen);
248248 int ResetD3D(WindowControl *WindowCtrl);
249+ void DestroyD3D();
249250 int LoadModel(char* filename);
250251 int MorphingModel(int idA, int idB);
251252 void CleanupModel(int id);