2. Status report now indicates when dilithium crystals are on board.
- 3. Can now report starbases left in scrscan.
-
+ 3. Per Dave Matuszek's remarks, Thingy state is not saved across games.
*/
/* the input queue */
events();
if (alldone) break; // Events did us in
}
- if (game.state.galaxy[quadx][quady] == SUPERNOVA_PLACE) { // Galaxy went Nova!
+ if (game.state.galaxy[quadx][quady].supernova) { // Galaxy went Nova!
atover(0);
continue;
}
if (hitme && justin==0) {
attack(2);
if (alldone) break;
- if (game.state.galaxy[quadx][quady] == SUPERNOVA_PLACE) { // went NOVA!
+ if (game.state.galaxy[quadx][quady].supernova) { // went NOVA!
atover(0);
hitme = TRUE;
continue;
proutn("Reset damage? ");
if (ja() != 0) {
int i;
- for (i=0; i <= NDEVICES; i++)
+ for (i=0; i < NDEVICES; i++)
if (game.damage[i] > 0.0)
game.damage[i] = 0.0;
stdamtim = 1e30;
proutn("Cause selective damage? ");
if (ja() != 0) {
int i, key;
- for (i=1; i <= NDEVICES; i++) {
+ for (i=0; i < NDEVICES; i++) {
proutn("Kill ");
proutn(device[i]);
proutn("? ");