X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=reports.c;h=f0dc134eb88d29d975e7cb753952030d2882ef97;hp=568d4f006d4d35754f35d64362fac7c3b1571728;hb=ca9de456d928ab8f7ef95f2fa03aeab2b3161d97;hpb=642653333d23ce8ef84fafa213bb8a196ff21b0b diff --git a/reports.c b/reports.c index 568d4f0..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 ":""); @@ -311,7 +310,7 @@ static void status(int req) (int)((100.0*shield)/inshld + 0.5), shield); break; case 9: - proutn("Klingons Left %d", game.state.remkl); + proutn("Klingons Left %d", KLINGREM); break; case 10: attakreport(1);