• 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

Revision168 (tree)
Time2017-03-20 18:33:38
Authorxops-mikan

Log Message

VC++にてDebugモードでコンパイルした際のダイアログ表示を修正、デバック情報表示を修正

Change Summary

Incremental Difference

--- trunk/gamemain.cpp (revision 167)
+++ trunk/gamemain.cpp (revision 168)
@@ -2163,7 +2163,7 @@
21632163 sprintf(str, "camera x:%.2f y:%.2f z:%.2f rx:%.2f ry:%.2f", camera_x, camera_y, camera_z, camera_rx, camera_ry);
21642164 d3dg->Draw2DTextureDebugFontText(10+1, 30+1, str, d3dg->GetColorCode(0.1f,0.1f,0.1f,1.0f));
21652165 d3dg->Draw2DTextureDebugFontText(10, 30, str, d3dg->GetColorCode(1.0f,1.0f,1.0f,1.0f));
2166- sprintf(str, "human[%02d] x:%.2f y:%.2f z:%.2f rx:%.2f HP:%d", ObjMgr.GetPlayerID(), human_x, human_y, human_z, human_rx, hp);
2166+ sprintf(str, "human[%d] x:%.2f y:%.2f z:%.2f rx:%.2f HP:%d", ObjMgr.GetPlayerID(), human_x, human_y, human_z, human_rx, hp);
21672167 d3dg->Draw2DTextureDebugFontText(10+1, 50+1, str, d3dg->GetColorCode(0.1f,0.1f,0.1f,1.0f));
21682168 d3dg->Draw2DTextureDebugFontText(10, 50, str, d3dg->GetColorCode(1.0f,1.0f,1.0f,1.0f));
21692169 sprintf(str, " move_x:%.2f move_y:%.2f move_z:%.2f", move_x, move_y, move_z);
--- trunk/main.cpp (revision 167)
+++ trunk/main.cpp (revision 168)
@@ -104,8 +104,8 @@
104104 //GameConfig.GetPlayerName(str);
105105 //MessageBox(NULL, str, "プレイヤー名", MB_OK);
106106 char str[255];
107- strcpy(str, "The compiler is the Debug mode.\nIf release the software, Switch compiler to Release mode.");
108- MessageBox(NULL, str, "Information", MB_OK);
107+ strcpy(str, "[Information]\nThe compiler is the Debug mode.\nIf release the software, Switch compiler to Release mode.");
108+ MessageBox(NULL, str, GAMENAME, MB_OK);
109109 #endif
110110
111111 //ウィンドウ初期化