},
{
O_EXPLODE_1, FALSE,
- EL_DEFAULT, ACTION_EXPLODING, -1
+ EL_BDX_DEFAULT, ACTION_EXPLODING, -1
},
{
O_EXPLODE_2, TRUE,
},
{
O_EXPLODE_2, FALSE,
- EL_DEFAULT, ACTION_EXPLODING, -1
+ EL_BDX_DEFAULT, ACTION_EXPLODING, -1
},
{
O_EXPLODE_3, TRUE,
},
{
O_EXPLODE_3, FALSE,
- EL_DEFAULT, ACTION_EXPLODING, -1
+ EL_BDX_DEFAULT, ACTION_EXPLODING, -1
},
{
O_EXPLODE_4, TRUE,
},
{
O_EXPLODE_4, FALSE,
- EL_DEFAULT, ACTION_EXPLODING, -1
+ EL_BDX_DEFAULT, ACTION_EXPLODING, -1
},
{
O_EXPLODE_5, TRUE,
},
{
O_EXPLODE_5, FALSE,
- EL_DEFAULT, ACTION_EXPLODING, -1
+ EL_BDX_DEFAULT, ACTION_EXPLODING, -1
},
{
O_PRE_STONE_1, TRUE,
{
int i, j;
+ if (graphic_info == NULL) // still at startup phase
+ return;
+
// always start with reliable default values
for (i = 0; i < O_MAX_ALL; i++)
{
}
}
+static void CheckSaveEngineSnapshot_BD(boolean frame_max,
+ boolean player_moving,
+ boolean player_snapping)
+{
+ if (frame_max)
+ {
+ if (!local_player->was_waiting)
+ {
+ if (!CheckSaveEngineSnapshotToList())
+ return;
+
+ local_player->was_waiting = TRUE;
+ }
+ }
+ else if (player_moving || player_snapping)
+ {
+ local_player->was_waiting = FALSE;
+ }
+}
+
static void CheckSaveEngineSnapshot_EM(int frame,
boolean any_player_moving,
boolean any_player_snapping,
}
}
+boolean CheckSingleStepMode_BD(boolean frame_max,
+ boolean player_moving,
+ boolean player_snapping)
+{
+ if (tape.single_step && tape.recording && !tape.pausing)
+ if (frame_max && FrameCounter > 6)
+ TapeTogglePause(TAPE_TOGGLE_AUTOMATIC);
+
+ CheckSaveEngineSnapshot_BD(frame_max, player_moving, player_snapping);
+
+ return tape.pausing;
+}
+
boolean CheckSingleStepMode_EM(int frame,
boolean any_player_moving,
boolean any_player_snapping,
OpenURL(getHashEntry(hash, int2str(hash_key, 0)));
}
-char *getCurrentLevelsetName(void)
-{
- return leveldir_current->name;
-}
-
// ============================================================================
// tests