int snap, // snapshot taken
remkl, // remaining klingons
remcom, // remaining commanders
+ nscrem, // remaining super commanders
rembase, // remaining bases
starkl, // destroyed stars
basekl, // destroyed bases
- killk, // Klingons killed
- killc, // commanders killed
cx[QUADSIZE+1],cy[QUADSIZE+1], // Commander quadrant coordinates
baseqx[BASEMAX+1], // Base quadrant X
baseqy[BASEMAX+1], // Base quadrant Y
isx, isy, // Coordinate of Super Commander
- nscrem, // remaining super commanders
- nromkl, // Romulans killed
nromrem, // Romulans remaining
- nsckill, // super commanders killed
nplankl; // destroyed planets
planet plnets[PLNETMAX]; // Planet information
double date, // stardate
} chart[GALSIZE+1][GALSIZE+1]; // the starchart (subscript 0 not used)
} snapshot; // Data that is snapshot
+#define NKILLK (inkling - game.state.remkl)
+#define NKILLC (incom - game.state.remcom)
+#define NKILLSC (inscom - game.state.nscrem)
+#define NKILLROM (inrom - game.state.nromrem)
+#define KLINGREM (game.state.remkl + game.state.remcom + game.state.nscrem)
+#define INKLINGTOT (inkling + incom + inscom)
+#define KLINGKILLED (INKLINGTOT - KLINGREM)
+
#define SKILL_NONE 0
#define SKILL_NOVICE 1
#define SKILL_FAIR 2
#define OPTION_THINGY 0x00000010 /* Space Thingy can shoot back */
#define OPTION_PROBE 0x00000020 /* deep-space probes */
#define OPTION_SHOWME 0x00000040 /* bracket Enterprise in chart */
+#define OPTION_RAMMING 0x00000080 /* enemies may ram Enterprise */
+#define OPTION_MVBADDY 0x00000100 /* more enemies can move */
+#define OPTION_BLKHOLE 0x00000200 /* black hole may timewarp you */
+#define OPTION_BASE 0x00000400 /* bases have good shields */
/* Define devices */
#define DSRSENS 0
int inkling,
inbase,
incom,
+ inscom,
+ inrom,
instar,
intorps,
condit,
#define inkling game.inkling // Initial number of klingons
#define inbase game.inbase // Initial number of bases
#define incom game.incom // Initian number of commanders
+#define inscom game.inscom // Initian number of commanders
+#define inrom game.inrom // Initian number of commanders
#define instar game.instar // Initial stars
#define intorps game.intorps // Initial/Max torpedoes
#define condit game.condit // Condition (red/yellow/green/docked)