Clean up ugly FORTRANISH names.
[super-star-trek.git] / src / reports.c
index f273cffcccd7c086656adde556da8bf090cc560e..ff19ae16bdf29bd0fdb660b75d701fede6c5a863 100644 (file)
@@ -3,7 +3,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-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."));