summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorTyler Trahan <tyler@tylertrahan.com>2021-09-05 14:22:27 -0400
committerGitHub <noreply@github.com>2021-09-05 20:22:27 +0200
commit7469f00c5b8d0dc5cc2034eb9dc91c6e8721ac03 (patch)
tree5a587cb8e7a12af3d15e120001edacfd89807048 /src/settings_type.h
parentf656b0ae966052327a6341be8dee65cfd2f395b8 (diff)
downloadopenttd-7469f00c5b8d0dc5cc2034eb9dc91c6e8721ac03.tar.xz
Feature: Hide block signals in GUI by default (#8688)
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index dd49d3982..3c2f2be7b 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -20,6 +20,7 @@
#include "linkgraph/linkgraph_type.h"
#include "zoom_type.h"
#include "openttd.h"
+#include "rail_gui.h"
/* Used to validate sizes of "max" value in settings. */
const size_t MAX_SLE_UINT8 = UINT8_MAX;
@@ -143,7 +144,8 @@ struct GUISettings {
bool timetable_arrival_departure; ///< show arrivals and departures in vehicle timetables
bool right_mouse_wnd_close; ///< close window with right click
bool pause_on_newgame; ///< whether to start new games paused or not
- bool enable_signal_gui; ///< show the signal GUI when the signal button is pressed
+ SignalGUISettings signal_gui_mode; ///< select which signal types are shown in the signal GUI
+ SignalCycleSettings cycle_signal_types; ///< Which signal types to cycle with the build signal tool.
Year coloured_news_year; ///< when does newspaper become coloured?
bool timetable_in_ticks; ///< whether to show the timetable in ticks rather than days
bool quick_goto; ///< Allow quick access to 'goto button' in vehicle orders window
@@ -153,8 +155,6 @@ struct GUISettings {
Year semaphore_build_before; ///< build semaphore signals automatically before this year
byte news_message_timeout; ///< how much longer than the news message "age" should we keep the message in the history
bool show_track_reservation; ///< highlight reserved tracks.
- uint8 default_signal_type; ///< the signal type to build by default.
- uint8 cycle_signal_types; ///< what signal types to cycle with the build signal tool.
byte station_numtracks; ///< the number of platforms to default on for rail stations
byte station_platlength; ///< the platform length, in tiles, for rail stations
bool station_dragdrop; ///< whether drag and drop is enabled for stations