From 18 Jan, 2021 0:00 UTC: All services will be temporary unavailable for maintenance
  • R/O
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscaphegui翻訳comegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

無人機動兵器ダンジョン探索ゲーム JAVAベース


Commit MetaInfo

修订版33 (tree)
时间2015-06-29 01:22:19
作者manjihq

Log Message

ジャンプ時のステータス表示の微調整
武器発射時に副武装の時だけ弾数表示をするように調整

更改概述

差异

--- CarnageHack2/trunk/src/CarnageHack/OkeStatusWindow.java (revision 32)
+++ CarnageHack2/trunk/src/CarnageHack/OkeStatusWindow.java (revision 33)
@@ -121,9 +121,11 @@
121121 int ncount = param >> 1;
122122 StringBuilder wkresult = new StringBuilder();
123123 wkresult.append((nweapon == 0) ? "MAIN" : "SUB");
124- wkresult.append('[');
125- wkresult.append(ncount);
126- wkresult.append(']');
124+ if (nweapon != 0) {
125+ wkresult.append('[');
126+ wkresult.append(ncount);
127+ wkresult.append(']');
128+ }
127129 return wkresult.toString();
128130 }
129131
@@ -241,15 +243,15 @@
241243 status_str = "PRONE";
242244 break;
243245 case Oke.STATUS_BEFOREJUMP:
244- status_str = "Prepare JUMP";
246+ status_str = "Prepare JUMP ";
245247 status_str += make_direction_param();
246248 break;
247249 case Oke.STATUS_JUMPNOW:
248- status_str = "JUMP";
250+ status_str = "JUMP ";
249251 status_str += make_direction_param();
250252 break;
251253 case Oke.STATUS_ENDJUMP:
252- status_str = "End JUMP";
254+ status_str = "End JUMP ";
253255 status_str += make_direction_param();
254256 break;
255257 case Oke.STATUS_STAIRS: