game.quad[ix][iy]=IHDOT;
game.state.rembase--;
basex=basey=0;
- game.state.galaxy[quadx][quady] -= 10;
+ game.state.galaxy[quadx][quady] -= BASE_PLACE;
game.state.basekl++;
newcnd();
return;
r += 0.002*game.kpower[l]*r;
torpedo(course, r, jx, jy, &hit, 0, 1, 1);
if (game.state.remkl==0) finish(FWON); /* Klingons did themselves in! */
- if (game.state.galaxy[quadx][quady] == 1000 ||
+ if (game.state.galaxy[quadx][quady] == SUPERNOVA_PLACE ||
alldone) return; /* Supernova or finished */
if (hit == 0) continue;
}
/* Decide what kind of enemy it is and update approriately */
if (type == IHR) {
/* chalk up a Romulan */
- game.state.newstuf[quadx][quady] -= 10;
+ game.state.newstuf[quadx][quady] -= ROMULAN_PLACE;
irhere--;
game.state.nromkl++;
game.state.nromrem--;