X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=reports.c;h=f0dc134eb88d29d975e7cb753952030d2882ef97;hp=f169c150e4ddd5bd192887cccb56f2e575169171;hb=ca9de456d928ab8f7ef95f2fa03aeab2b3161d97;hpb=0494866db0a61c4111d1fb15836cea9b8c1a9d97 diff --git a/reports.c b/reports.c index f169c15..f0dc134 100644 --- a/reports.c +++ b/reports.c @@ -54,10 +54,9 @@ void report(void) if (skill>SKILL_GOOD && thawed && !alldone) prout("No plaque is allowed."); if (tourn) prout("This is tournament game %d.", tourn); prout("Your secret password is \"%s\"",game.passwd); - proutn("%d of %d Klingons have been killed", - game.state.killk+game.state.killc+game.state.nsckill, inkling); - if (game.state.killc) prout(", including %d Commander%s.", game.state.killc, game.state.killc==1?"":"s"); - else if (game.state.killk+game.state.nsckill > 0) prout(", but no Commanders."); + proutn("%d of %d Klingons have been killed", KLINGKILLED, INKLINGTOT); + if (NKILLC) prout(", including %d Commander%s.", NKILLC, NKILLC==1?"":"s"); + else if (NKILLK + NKILLSC > 0) prout(", but no Commanders."); else prout("."); if (skill > SKILL_FAIR) prout("The Super Commander has %sbeen destroyed.", game.state.nscrem?"not ":""); @@ -124,7 +123,7 @@ void lrscan(void) prout("LONG-RANGE SENSORS DAMAGED."); return; } - proutn("Starbase's long-range scan"); + prout("Starbase's long-range scan"); } else { prout("Long-range scan"); @@ -194,11 +193,11 @@ void chart(int nn) rechart(); if (lastchart < game.state.date && condit == IHDOCKED) { - proutn("Spock- \"I revised the Star Chart from the starbase's records.\"\n"); + prout("Spock- \"I revised the Star Chart from the starbase's records.\""); rechart(); } - if (nn == 0) proutn(" STAR CHART FOR THE KNOWN GALAXY\n"); + if (nn == 0) prout(" STAR CHART FOR THE KNOWN GALAXY"); if (game.state.date > lastchart) prout("(Last surveillance update %d stardates ago).", (int)(game.state.date-lastchart)); @@ -226,9 +225,8 @@ void chart(int nn) proutn(" "); } proutn(" |"); - if (i