level->file_has_custom_elements = FALSE;
// set random colors for BD style levels according to preferred color type
- SetRandomLevelColors_BD(setup.bd_color_type);
+ SetRandomLevelColors_BD(setup.bd_default_color_type);
// set default color type and colors for BD style level colors
SetDefaultLevelColorType_BD();
},
{
TYPE_INTEGER,
- &setup.bd_color_type, "bd_color_type"
+ &setup.bd_default_color_type, "bd_default_color_type"
},
{
TYPE_SWITCH,
si->bd_palette_c64 = GD_DEFAULT_PALETTE_C64;
si->bd_palette_c64dtv = GD_DEFAULT_PALETTE_C64DTV;
si->bd_palette_atari = GD_DEFAULT_PALETTE_ATARI;
- si->bd_color_type = GD_DEFAULT_COLOR_TYPE;
+ si->bd_default_color_type = GD_DEFAULT_COLOR_TYPE;
si->sp_show_border_elements = FALSE;
si->small_game_graphics = FALSE;
si->show_load_save_buttons = FALSE;
int bd_palette_c64;
int bd_palette_c64dtv;
int bd_palette_atari;
- int bd_color_type;
+ int bd_default_color_type;
boolean sp_show_border_elements;
boolean small_game_graphics;
boolean show_load_save_buttons;
// set current palette value to configured palette value
bd_color_type_current =
- getTreeInfoFromIdentifier(bd_color_types, i_to_a(setup.bd_color_type));
+ getTreeInfoFromIdentifier(bd_color_types, i_to_a(setup.bd_default_color_type));
// if that fails, set current palette to reliable default value
if (bd_color_type_current == NULL)
bd_color_type_current = bd_color_types;
}
- setup.bd_color_type = atoi(bd_color_type_current->identifier);
+ setup.bd_default_color_type = atoi(bd_color_type_current->identifier);
// needed for displaying palette text instead of identifier
bd_color_type_text = bd_color_type_current->name;