More magic-number chasing, and the "Bases left" report.
[super-star-trek.git] / sst.h
diff --git a/sst.h b/sst.h
index 0cb66ceccfae6e26d1d9efa7ea20b1399c3ba4eb..e67073b46fe0565764cdcfadd8c6ef3e5a3f2dea 100644 (file)
--- a/sst.h
+++ b/sst.h
@@ -58,6 +58,21 @@ typedef struct {
            remtime;            // remaining time
 } snapshot;                            // Data that is snapshot
 
+/*
+ * This is how the integers in galaxy are encoded.
+ * Someday these should turn into structure fields.
+ */
+#define SUPERNOVA_PLACE        1000
+#define ENEMY_PLACE    100
+#define BASE_PLACE     10
+#define STAR_PLACE     1
+
+/* for newstuff */
+#define ROMULAN_PLACE  10
+
+/* for starch */
+#define CHART_UNKNOWN  -1
+
 // Scalar variables that are needed for freezing the game
 // are placed in a structure. #defines are used to access by their
 // original names. Gee, I could have done this with the d structure,