• 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

Revision109 (tree)
Time2015-09-12 22:46:54
Authorxops-mikan

Log Message

ソースコード内のコメントを修正

Change Summary

Incremental Difference

--- trunk/gamemain.cpp (revision 108)
+++ trunk/gamemain.cpp (revision 109)
@@ -59,19 +59,19 @@
5959 //! @brief 基本的な初期化処理
6060 int InitGame(WindowControl *WindowCtrl)
6161 {
62- //DirectX初期化
62+ //D3DGraphicsクラス初期化
6363 if( d3dg.InitD3D(WindowCtrl, "data\\char.dds", GameConfig.GetFullscreenFlag()) ){
6464 WindowCtrl->ErrorInfo("Direct3Dの作成に失敗しました");
6565 return 1;
6666 }
6767
68- //Directinput初期化
68+ //InputControlクラス初期化
6969 if( inputCtrl.InitInput(WindowCtrl) ){
7070 WindowCtrl->ErrorInfo("Input initialization error");
7171 return 1;
7272 }
7373
74- //EASY DIRECT SOUND 初期化
74+ //SoundControlクラス初期化
7575 if( SoundCtrl.InitSound(WindowCtrl) ){
7676 WindowCtrl->ErrorInfo("dll open failed");
7777 return 1;
@@ -118,7 +118,7 @@
118118 return 0;
119119 }
120120
121-//! @brief DirectXをリセットする
121+//! @brief リソースをリセットする
122122 //! @return 失敗:1 それ以外:0
123123 //! @attention 通常は、描画処理に失敗した場合に限り呼び出してください。
124124 int ResetGame(WindowControl *WindowCtrl)
@@ -151,20 +151,20 @@
151151 //! @brief 基本的な解放処理
152152 void CleanupGame()
153153 {
154- //リソースを初期化
154+ //リソースを解放
155155 Resource.DestroyResource();
156156
157- //設定値を初期化
157+ //設定値を解放
158158 GameParamInfo.DestroyInfo();
159159
160160
161- //DirectX解放
161+ //D3DGraphicsクラス解放
162162 d3dg.DestroyD3D();
163163
164- //Directinput解放
164+ //InputControlクラス解放
165165 inputCtrl.DestroyInput();
166166
167- //EASY DIRECT SOUND 解放
167+ //SoundControlクラス解放
168168 SoundCtrl.DestroySound();
169169 }
170170