Codechange: let OneOfMany and ManyOfMany be their own classes as well
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
[pre-amble]
|
||||
extern std::string _config_language_file;
|
||||
|
||||
static const char *_support8bppmodes = "no|system|hardware";
|
||||
static std::initializer_list<const char*> _support8bppmodes{"no", "system" , "hardware"};
|
||||
static std::initializer_list<const char*> _display_opt_modes{"SHOW_TOWN_NAMES", "SHOW_STATION_NAMES", "SHOW_SIGNS", "FULL_ANIMATION", "", "FULL_DETAIL", "WAYPOINTS", "SHOW_COMPETITOR_SIGNS"};
|
||||
|
||||
#ifdef WITH_COCOA
|
||||
extern bool _allow_hidpi_window;
|
||||
@@ -53,7 +54,7 @@ name = ""display_opt""
|
||||
type = SLE_UINT8
|
||||
var = _display_opt
|
||||
def = (1 << DO_SHOW_TOWN_NAMES | 1 << DO_SHOW_STATION_NAMES | 1 << DO_SHOW_SIGNS | 1 << DO_FULL_ANIMATION | 1 << DO_FULL_DETAIL | 1 << DO_SHOW_WAYPOINT_NAMES | 1 << DO_SHOW_COMPETITOR_SIGNS)
|
||||
full = ""SHOW_TOWN_NAMES|SHOW_STATION_NAMES|SHOW_SIGNS|FULL_ANIMATION||FULL_DETAIL|WAYPOINTS|SHOW_COMPETITOR_SIGNS""
|
||||
full = _display_opt_modes
|
||||
|
||||
[SDTG_BOOL]
|
||||
name = ""fullscreen""
|
||||
|
||||
Reference in New Issue
Block a user