• R/O
  • SSH
  • HTTPS

提交

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

修订版94 (tree)
时间2015-06-20 13:55:10
作者xops-mikan

Log Message

InputControlクラスの関数名を変更、デバック用ログ出力機能のバグ修正

更改概述

差异

--- trunk/debug.cpp (revision 93)
+++ trunk/debug.cpp (revision 94)
@@ -186,17 +186,17 @@
186186 }
187187
188188 //現在のミリ秒
189- fprintf(fp, "<tr><td> %d </tb>", GetTimeMS());
189+ fprintf(fp, "<tr><td> %d </td>", GetTimeMS());
190190
191191 if( (tag != LOG_COMPLETE)&&(tag != LOG_ERROR) ){
192192 //通常の情報
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);
195195 }
196196 else{
197197 //完了・エラー情報
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);
200200 }
201201
202202 fprintf(fp, "</tr>\n");
--- trunk/input.cpp (revision 93)
+++ trunk/input.cpp (revision 94)
@@ -88,7 +88,7 @@
8888 //! @brief 初期化
8989 //! @param WindowCtrl WindowControlクラスのポインタ
9090 //! @return 成功:0 失敗:1
91-int InputControl::InitD3Dinput(WindowControl *WindowCtrl)
91+int InputControl::InitInput(WindowControl *WindowCtrl)
9292 {
9393 #ifdef ENABLE_DEBUGLOG
9494 //ログに出力
--- trunk/gamemain.cpp (revision 93)
+++ trunk/gamemain.cpp (revision 94)
@@ -66,7 +66,7 @@
6666 }
6767
6868 //Directinputの初期化
69- if( inputCtrl.InitD3Dinput(WindowCtrl) ){
69+ if( inputCtrl.InitInput(WindowCtrl) ){
7070 WindowCtrl->ErrorInfo("Input initialization error");
7171 return 1;
7272 }
--- trunk/input.h (revision 93)
+++ trunk/input.h (revision 94)
@@ -72,7 +72,7 @@
7272 public:
7373 InputControl();
7474 ~InputControl();
75- int InitD3Dinput(WindowControl *WindowCtrl);
75+ int InitInput(WindowControl *WindowCtrl);
7676 void GetInputState(bool mousemode);
7777 void MoveMouseCenter();
7878 bool CheckKeyNow(int id);