New debug-mode support.
[super-star-trek.git] / src / sst.h
index c4a7a99e32b8eef6de34bd8538fc3e464628fc28..e5849937a5b0a1f6822bbb22b150963fae6efd6f 100644 (file)
--- a/src/sst.h
+++ b/src/sst.h
@@ -20,8 +20,6 @@
 #define min(x, y)      ((x)<(y)?(x):(y))
 #define max(x, y)      ((x)>(y)?(x):(y))
 
-// #define DEBUG
-
 #define PHASEFAC (2.0)
 #define GALSIZE        (8)
 #define NINHAB (GALSIZE * GALSIZE / 2)
@@ -208,10 +206,8 @@ struct game {
        justin,         // just entered quadrant
        alldone,        // game is now finished
        neutz,          // Romulan Neutral Zone
-       isatb,          // =1 if super commander is attacking base
        isarmed,        // probe is armed
-       thawed,         // thawed game
-       iscate;         // super commander is here
+       thawed;         // thawed game
     int inkling,       // Initial number of klingons
        inbase,         // Initial number of bases
        incom,          // Initial number of commanders
@@ -241,9 +237,8 @@ struct game {
        icraft,         // Kirk in Galileo
        ientesc,        // attempted escape from supercommander
        iscraft,        // =1 if craft on ship, -1 if removed from game
-#ifdef DEBUG
-       idebug,         // debug mode
-#endif
+       isatb,          // =1 if super commander is attacking base
+       iscate,         // super commander is here
        iattak,         // attack recursion elimination (was cracks[4])
        icrystl,        // dilithium crystals aboard
        tourn,          // tournament number
@@ -288,6 +283,10 @@ extern int iscore, iskill; // Common PLAQ
 extern double perdate;
 extern double aaitem;
 extern char citem[10];
+extern int seed;
+extern bool randready;
+extern bool idebug;
+extern FILE *logfp;
 
 /* the Space Thingy's global state should *not* be saved! */
 extern coord thing;