X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=src%2Freports.c;h=ff19ae16bdf29bd0fdb660b75d701fede6c5a863;hb=cbb2d987e8c23c6c25bd441fdef5401d5a89289e;hp=f273cffcccd7c086656adde556da8bf090cc560e;hpb=2e04509ec9be1e3ad2a1f8a7e84552d6896f89ab;p=super-star-trek.git diff --git a/src/reports.c b/src/reports.c index f273cff..ff19ae1 100644 --- a/src/reports.c +++ b/src/reports.c @@ -3,7 +3,7 @@ #include #include -void attakreport(bool curt) +void attackreport(bool curt) /* report status of bases under attack */ { if (!curt) { @@ -84,7 +84,7 @@ void report(void) if (!damaged(DRADIO) || game.condition == docked || game.iseenit) { /* Don't report this if not seen and either the radio is dead or not at base! */ - attakreport(false); + attackreport(false); game.iseenit = true; } if (game.casual) @@ -166,7 +166,7 @@ void lrscan(void) } } -void dreprt(void) +void damagereport(void) /* damage report */ { bool jdam = false; @@ -358,7 +358,7 @@ void status(int req) ); RQ(11, - attakreport(!req); + attackreport(!req); ); #undef RQ @@ -480,7 +480,8 @@ void eta(void) proutn(_("Time or arrival date? ")); if (scan()==IHREAL) { ttime = aaitem; - if (ttime > game.state.date) ttime -= game.state.date; // Actually a star date + if (ttime > game.state.date) + ttime -= game.state.date; // Actually a star date if (ttime <= 1e-10 || (twarp=(floor(sqrt((10.0*game.dist)/ttime)*10.0)+1.0)/10.0) > 10) { prout(_("We'll never make it, sir."));