if (!part->class_playfield_or_door)
return FALSE;
- // only pause animations when engine is paused or request dialog is open(ing)
- if (!tape.pausing && !game.request_active_or_moving)
+ // only pause animations when engine is paused or request dialog is active
+ if (!tape.pausing && !game.request_active)
return FALSE;
return TRUE;
}
game.restart_level = FALSE;
-
game.request_active = FALSE;
- game.request_active_or_moving = FALSE;
if (level.game_engine_type == GAME_ENGINE_TYPE_MM)
InitGameActions_MM();
return FALSE;
}
- // do not handle game over if request dialog is already active
+ // do not ask to play again if request dialog is already active
if (game.request_active)
return FALSE;
// values for special request dialog control
boolean request_active;
- boolean request_active_or_moving;
// values for special game control
int centered_player_nr;
static void InitGameInfo(void)
{
game.restart_level = FALSE;
-
game.request_active = FALSE;
- game.request_active_or_moving = FALSE;
game.use_masked_elements_initial = FALSE;
}
void DrawEnvelopeRequestToScreen(int drawing_target)
{
if (global.use_envelope_request &&
- game.request_active_or_moving &&
+ game.request_active &&
drawing_target == DRAW_TO_SCREEN)
{
if (graphic_info[IMG_BACKGROUND_REQUEST].draw_masked)
if (game_just_ended)
game.panel.active = FALSE;
- game.request_active = TRUE;
-
setRequestPosition(&sx, &sy, FALSE);
button_status = MB_RELEASED;
SetDrawtoField(draw_buffer_last);
- game.request_active = FALSE;
-
return result;
}
boolean overlay_enabled = GetOverlayEnabled();
boolean result;
- game.request_active_or_moving = TRUE;
+ game.request_active = TRUE;
SetOverlayEnabled(FALSE);
SetOverlayEnabled(overlay_enabled);
- game.request_active_or_moving = FALSE;
+ game.request_active = FALSE;
return result;
}