From: Holger Schemel Date: Sun, 11 Feb 2024 13:50:07 +0000 (+0100) Subject: added setup options to skip (un)covering and hatching for BD engine X-Git-Tag: 4.4.0.0-test-1~384 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=50e762bca8b7cbca1d0a12674b559e81a4f2c3f9;p=rocksndiamonds.git added setup options to skip (un)covering and hatching for BD engine --- diff --git a/src/files.c b/src/files.c index b3ef9a7e..6944fbaf 100644 --- a/src/files.c +++ b/src/files.c @@ -9802,6 +9802,14 @@ static struct TokenInfo global_setup_tokens[] = TYPE_INTEGER, &setup.game_frame_delay, "game_frame_delay" }, + { + TYPE_SWITCH, + &setup.bd_skip_uncovering, "bd_skip_uncovering" + }, + { + TYPE_SWITCH, + &setup.bd_skip_hatching, "bd_skip_hatching" + }, { TYPE_SWITCH, &setup.sp_show_border_elements, "sp_show_border_elements" @@ -10618,6 +10626,8 @@ static void setSetupInfoToDefaults(struct SetupInfo *si) si->prefer_extra_panel_items = TRUE; si->game_speed_extended = FALSE; si->game_frame_delay = GAME_FRAME_DELAY; + si->bd_skip_uncovering = FALSE; + si->bd_skip_hatching = FALSE; si->sp_show_border_elements = FALSE; si->small_game_graphics = FALSE; si->show_load_save_buttons = FALSE; diff --git a/src/screens.c b/src/screens.c index 8b631b7b..cb8f7985 100644 --- a/src/screens.c +++ b/src/screens.c @@ -7475,6 +7475,10 @@ static struct TokenInfo setup_info_game[] = static struct TokenInfo setup_info_engines[] = { + { TYPE_HEADLINE, NULL, "Boulder Dash" }, + { TYPE_SWITCH, &setup.bd_skip_uncovering, "Skip (un)covering screen:" }, + { TYPE_SWITCH, &setup.bd_skip_hatching, "Skip hatching player:" }, + { TYPE_EMPTY, NULL, "" }, { TYPE_HEADLINE, NULL, "Emerald Mine" }, { TYPE_SWITCH, &setup.forced_scroll_delay, "Scroll Delay:" }, { TYPE_ECS_AGA, &setup.prefer_aga_graphics, "Amiga Graphics Chipset:" },