X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=reports.c;fp=reports.c;h=29bcba5d061c865e26a101e210a4bb473b3b3eea;hp=f670a1ec38825eb0ece66f5c5717c9509f1acdb3;hb=1e2622cf770b7183b813e0dc0095f085dda4419f;hpb=8629b4a298e31f81ba0db0debb4796356c3966c7 diff --git a/reports.c b/reports.c index f670a1e..29bcba5 100644 --- a/reports.c +++ b/reports.c @@ -6,7 +6,7 @@ void attakreport(int curt) { if (!curt) { - if (game.future[FCDBAS] < 1e30) { + if (game.future[FCDBAS] < FOREVER) { prout("Starbase in %s is currently under Commander attack.", cramlc(quadrant, batx, baty)); prout("It can hold out until Stardate %d.", @@ -19,7 +19,7 @@ void attakreport(int curt) (int)game.future[FSCDBAS]); } } else { - if (game.future[FCDBAS] < 1e30) + if (game.future[FCDBAS] < FOREVER) proutn("Base in %i - %i attacked by C. Alive until %.1f", batx, baty, game.future[FCDBAS]); if (isatb == 1) proutn("Base in %i - %i attacked by S. Alive until %.1f", game.state.isx, game.state.isy, game.future[FSCDBAS]); @@ -89,7 +89,7 @@ void report(void) prout("."); } if ((game.damage[DRADIO] == 0.0 || condit == IHDOCKED)&& - game.future[FDSPROB] != 1e30) { + game.future[FDSPROB] != FOREVER) { if (isarmed) proutn("An armed deep space probe is in"); else @@ -190,11 +190,11 @@ void chart(int nn) int i,j; char *cp; chew(); - if (stdamtim != 1e30 && stdamtim != game.state.date && condit == IHDOCKED) { + if (stdamtim != FOREVER && stdamtim != game.state.date && condit == IHDOCKED) { proutn("Spock- \"I revised the Star Chart from the starbase's records.\"\n\r"); } if (nn == 0) proutn(" STAR CHART FOR THE KNOWN GALAXY\n\r"); - if (stdamtim != 1e30) { + if (stdamtim != FOREVER) { if (condit == IHDOCKED) { /* We are docked, so restore chart from base information */ rechart();