TYPE_INTEGER,
&setup.bd_default_color_type, "bd_default_color_type"
},
+ {
+ TYPE_SWITCH,
+ &setup.bd_random_colors, "bd_random_colors"
+ },
{
TYPE_SWITCH,
&setup.sp_show_border_elements, "sp_show_border_elements"
si->bd_palette_c64dtv = GD_DEFAULT_PALETTE_C64DTV;
si->bd_palette_atari = GD_DEFAULT_PALETTE_ATARI;
si->bd_default_color_type = GD_DEFAULT_COLOR_TYPE;
+ si->bd_random_colors = FALSE;
si->sp_show_border_elements = FALSE;
si->small_game_graphics = FALSE;
si->show_load_save_buttons = FALSE;
game->cave = gd_get_prepared_cave(game->original_cave, game->level_num);
+ // if requested, recolor cave (cave is a copy only, so no worries)
+ if (setup.bd_random_colors)
+ gd_cave_set_random_colors(game->cave, setup.bd_default_color_type);
+
if (game->cave->intermission && game->cave->intermission_instantlife)
add_bonus_life(game, FALSE);
int bd_palette_c64dtv;
int bd_palette_atari;
int bd_default_color_type;
+ int bd_random_colors;
boolean sp_show_border_elements;
boolean small_game_graphics;
boolean show_load_save_buttons;
{ TYPE_STRING, &bd_palette_atari_text, "" },
{ TYPE_ENTER_LIST, &execSetupChooseColorType, "Preferred Color Type:" },
{ TYPE_STRING, &bd_color_type_text, "" },
+ { TYPE_SWITCH, &setup.bd_random_colors, "Random Colors:" },
{ TYPE_EMPTY, NULL, "" },
{ TYPE_HEADLINE, NULL, "Emerald Mine" },
{ TYPE_SWITCH, &setup.forced_scroll_delay, "Scroll Delay:" },