break;
}
/* show score and exit */
- score(quitgame);
+ terminate(quitgame);
}
static bool fallback_handler(char *buf)
/* He died during closing time. No resurrection. Tally up a
* death and exit. */
RSPEAK(DEATH_CLOSING);
- score(endgame);
-
+ terminate(endgame);
}
/* FIXME: Arithmetic on message numbers */
else if (game.numdie == MAXDIE || !YES(cmdin, WATCH_IT + game.numdie * 2, WHICH_WAY + game.numdie * 2, OK_MAN))
- score(endgame);
+ terminate(endgame);
else {
game.place[WATER] = game.place[OIL] = NOWHERE;
if (TOTING(LAMP))
if (OUTSID(game.newloc) && game.newloc != 0 && game.closng) {
RSPEAK(EXIT_CLOSED);
game.newloc = game.loc;
- if (!game.panic)game.clock2 = 15;
+ if (!game.panic)game.clock2 = PANICTIME;
game.panic = true;
}
msg = arbitrary_messages[PITCH_DARK];
}
if (TOTING(BEAR))RSPEAK(TAME_BEAR);
- newspeak(msg);
+ speak(msg);
if (FORCED(game.loc)) {
if (playermove(cmdin, verb, 1))
return true;
game.foobar = (game.foobar > 0 ? -game.foobar : 0);
++game.turns;
if (game.turns == game.thresh) {
- newspeak(turn_threshold_messages[game.trndex]);
+ speak(turn_threshold_messages[game.trndex]);
game.trnluz = game.trnluz + TRNVAL[game.trndex] / 100000;
++game.trndex;
game.thresh = -1;
case GO_DWARFWAKE:
/* Oh dear, he's disturbed the dwarves. */
RSPEAK(DWARVES_AWAKEN);
- score(endgame);
- return true;
+ terminate(endgame);
default:
BUG(99);
}