}
game.restart_level = FALSE;
- game.restart_game_message = NULL;
game.request_active = FALSE;
game.request_active_or_moving = FALSE;
void RequestRestartGame(char *message)
{
- game.restart_game_message = NULL;
-
boolean has_started_game = hasStartedNetworkGame();
int request_mode = (has_started_game ? REQ_ASK : REQ_CONFIRM);
int door_state = DOOR_CLOSE_1;
if (!setup.ask_on_game_over)
return FALSE;
- game.restart_game_message = getRestartGameMessage();
-
- RequestRestartGame(game.restart_game_message);
+ RequestRestartGame(getRestartGameMessage());
return TRUE;
}
// values for special game initialization control
boolean restart_level;
- // trigger message to ask for restarting the game
- char *restart_game_message;
-
// values for special request dialog control
boolean request_active;
boolean request_active_or_moving;
static void InitGameInfo(void)
{
game.restart_level = FALSE;
- game.restart_game_message = NULL;
game.request_active = FALSE;
game.request_active_or_moving = FALSE;