// Use parameters to generate initial values of things
damfac = 0.5 * skill;
- game.state.rembase = 3.0*Rand()+2.0;
+ game.state.rembase = 2.0 + Rand()*(MAXBASES-2.0);
inbase = game.state.rembase;
if (game.options & OPTION_PLANETS)
inplan = (PLNETMAX/2) + (PLNETMAX/2+1)*Rand();
#define PLNETMAX (10)
#define GALSIZE (8)
#define QUADSIZE (10)
-#define BASEMAX (6)
+#define BASEMAX (5)
/*
* These macros hide the difference between 0-origin and 1-origin addressing.
killk, // Klingons killed
killc, // commanders killed
cx[QUADSIZE+1],cy[QUADSIZE+1], // Commander quadrant coordinates
- baseqx[BASEMAX], // Base quadrant X
- baseqy[BASEMAX], // Base quadrant Y
+ 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