key = scan();\r
}\r
if (key != IHREAL && nenhere != 0) {\r
- prout("Phasers locked on target. Energy available = %3.2f", ifast?energy-200.0:energy);\r
+ prout("Phasers locked on target. Energy available = %.2f", ifast?energy-200.0:energy);\r
}\r
do {\r
while (key != IHREAL) {\r
}\r
rpow = aaitem;\r
if (rpow >= (ifast?energy-200:energy)) {\r
- proutn("Energy available= %3.2f",\r
+ proutn("Energy available= %.2f",\r
ifast?energy-200:energy);\r
skip(1);\r
key = IHEOL;\r
int ii = game.kx[k], jj = game.ky[k];\r
int ienm = game.quad[ii][jj];\r
if (msgflag) {\r
- proutn("Energy available= %5.2f",\r
+ proutn("Energy available= %.2f",\r
energy-.006-(ifast?200:0));\r
skip(1);\r
msgflag = 0;\r
/* it isn't here, or we just entered (treat as inroute) */\r
if (game.damage[DRADIO] == 0.0 || condit == IHDOCKED) {\r
skip(1);\r
- prout("Message from Starfleet Command Stardate %5.2f", game.state.date);\r
+ prout("Message from Starfleet Command Stardate %.2f", game.state.date);\r
proutn(" Supernova in %s; caution advised.",\r
cramlc(quadrant, nqx, nqy));\r
}\r
newcnd();\r
if (consumeTime()) return;\r
height = (1400.+7200.*Rand());\r
- prout("Sulu- \"Entered orbit at altitude %4.2f kilometers.\"", height);\r
+ prout("Sulu- \"Entered orbit at altitude %.2f kilometers.\"", height);\r
inorbit = 1;\r
return;\r
}\r
if (condit == IHDOCKED)\r
proutn("DAMAGED, supported by starbase");\r
else\r
- proutn("DAMAGED, reserves=%4.2f", lsupres);\r
+ proutn("DAMAGED, reserves=%.2f", lsupres);\r
}\r
else\r
proutn("ACTIVE");\r
}\r
else\r
proutn("Remaining");\r
- prout(" energy will be %5.2f.", energy-tpower);\r
+ prout(" energy will be %.2f.", energy-tpower);\r
if (wfl) {\r
- prout("And we will arrive at stardate %5.2f.",\r
+ prout("And we will arrive at stardate %.2f.",\r
game.state.date+ttime);\r
}\r
else if (twarp==1.0)\r
prout("Any warp speed is adequate.");\r
else {\r
- prout("Minimum warp needed is %5.2f,", twarp);\r
- prout("and we will arrive at stardate %5.2f.",\r
+ prout("Minimum warp needed is %.2f,", twarp);\r
+ prout("and we will arrive at stardate %.2f.",\r
game.state.date+ttime);\r
}\r
if (game.state.remtime < ttime)\r
case FSCMOVE: proutn("SC Move "); break;\r
case FSCDBAS: proutn("SC Base Destroy "); break;\r
}\r
- proutn("%82.2f", future[i]-game.state.date);\r
+ proutn("%.2f", future[i]-game.state.date);\r
chew();\r
proutn(" ?");\r
key = scan();\r