game_em.use_old_explosions =
(game.engine_version < VERSION_IDENT(4,1,4,2));
+ game_em.use_wrap_around =
+ (game.engine_version > VERSION_IDENT(4,1,4,1));
+
// --------------------------------------------------------------------------
// set maximal allowed number of custom element changes per game frame
// - game_em.use_single_button (default: TRUE)
// - game_em.use_snap_key_bug (default: FALSE)
// - game_em.use_old_explosions (default: FALSE)
+ // - game_em.use_wrap_around (default: TRUE)
game_em.level_solved = FALSE;
game_em.game_over = FALSE;
boolean use_single_button;
boolean use_snap_key_bug;
boolean use_old_explosions;
+ boolean use_wrap_around;
};
struct LevelInfo_EM
cav.time_seconds = MIN(GET_BE16(src[2110]), 9999);
cav.gems_needed = src[2095];
- cav.infinite = TRUE;
+ cav.infinite = game_em.use_wrap_around;
cav.testmode = FALSE;
cav.teamwork = (src[2150] & 128) != 0;