Change settings for using default signal graphics and signal recolouring

This commit is contained in:
Jonathan G Rennison
2023-12-08 21:40:40 +00:00
parent bae2936491
commit 48cc6a686b
13 changed files with 57 additions and 37 deletions

View File

@@ -124,6 +124,12 @@ enum ViewportScrollMode {
VSM_END, ///< Number of scroll mode settings.
};
enum ShowSignalDefaultMode {
SSDM_OFF,
SSDM_ON,
SSDM_RESTRICTED_RECOLOUR,
};
/** Settings related to time display. This may be loaded from the savegame and/or overriden by the client. */
struct TimeSettings {
bool time_in_minutes; ///< whether to use the hh:mm conversion when printing dates
@@ -246,8 +252,8 @@ struct GUISettings : public TimeSettings {
bool show_train_length_in_details; ///< show train length in vehicle details window top widget
bool show_train_weight_ratios_in_details; ///< show train weight ratios in vehicle details window top widget
bool show_vehicle_group_in_details; ///< show vehicle group in vehicle details window top widget
bool show_restricted_signal_default; ///< Show restricted electric signals using the default sprite
bool show_all_signal_default; ///< Show all signals using the default sprite
bool show_restricted_signal_recolour; ///< Show restricted electric signals with recoloured signal post
uint8 show_all_signal_default; ///< Show all signals using the default sprite
bool show_adv_tracerestrict_features; ///< Show advanced trace restrict features in UI
bool show_progsig_ui; ///< Show programmable pre-signals feature in UI
bool show_noentrysig_ui; ///< Show no-entry signals feature in UI