X operations(XOPS)に非常に近いFPSゲームを制作・リメイクし、成果物をオープンソースとして公開することを目的としたプロジェクトです。
修订版 | 94 (tree) |
---|---|
时间 | 2015-06-20 13:55:10 |
作者 | xops-mikan |
InputControlクラスの関数名を変更、デバック用ログ出力機能のバグ修正
@@ -186,17 +186,17 @@ | ||
186 | 186 | } |
187 | 187 | |
188 | 188 | //現在のミリ秒 |
189 | - fprintf(fp, "<tr><td> %d </tb>", GetTimeMS()); | |
189 | + fprintf(fp, "<tr><td> %d </td>", GetTimeMS()); | |
190 | 190 | |
191 | 191 | if( (tag != LOG_COMPLETE)&&(tag != LOG_ERROR) ){ |
192 | 192 | //通常の情報 |
193 | - fprintf(fp, "<td width=100><b><font color=#%s>%s</font></b></tb>", tagcolor, tagstr); | |
194 | - fprintf(fp, "<td width=100>%s</tb><td colspan=3>%s</tb>", title, text); | |
193 | + fprintf(fp, "<td width=100><b><font color=#%s>%s</font></b></td>", tagcolor, tagstr); | |
194 | + fprintf(fp, "<td width=100>%s</td><td colspan=3>%s</td>", title, text); | |
195 | 195 | } |
196 | 196 | else{ |
197 | 197 | //完了・エラー情報 |
198 | - fprintf(fp, "<td colspan=2></td><td width=100><b><font color=#%s>%s</font></b></tb>", tagcolor, tagstr); | |
199 | - fprintf(fp, "<td>%s</tb><td>%s</tb>", title, text); | |
198 | + fprintf(fp, "<td colspan=2></td><td width=100><b><font color=#%s>%s</font></b></td>", tagcolor, tagstr); | |
199 | + fprintf(fp, "<td>%s</td><td>%s</td>", title, text); | |
200 | 200 | } |
201 | 201 | |
202 | 202 | fprintf(fp, "</tr>\n"); |
@@ -88,7 +88,7 @@ | ||
88 | 88 | //! @brief 初期化 |
89 | 89 | //! @param WindowCtrl WindowControlクラスのポインタ |
90 | 90 | //! @return 成功:0 失敗:1 |
91 | -int InputControl::InitD3Dinput(WindowControl *WindowCtrl) | |
91 | +int InputControl::InitInput(WindowControl *WindowCtrl) | |
92 | 92 | { |
93 | 93 | #ifdef ENABLE_DEBUGLOG |
94 | 94 | //ログに出力 |
@@ -66,7 +66,7 @@ | ||
66 | 66 | } |
67 | 67 | |
68 | 68 | //Directinputの初期化 |
69 | - if( inputCtrl.InitD3Dinput(WindowCtrl) ){ | |
69 | + if( inputCtrl.InitInput(WindowCtrl) ){ | |
70 | 70 | WindowCtrl->ErrorInfo("Input initialization error"); |
71 | 71 | return 1; |
72 | 72 | } |
@@ -72,7 +72,7 @@ | ||
72 | 72 | public: |
73 | 73 | InputControl(); |
74 | 74 | ~InputControl(); |
75 | - int InitD3Dinput(WindowControl *WindowCtrl); | |
75 | + int InitInput(WindowControl *WindowCtrl); | |
76 | 76 | void GetInputState(bool mousemode); |
77 | 77 | void MoveMouseCenter(); |
78 | 78 | bool CheckKeyNow(int id); |