summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-28 15:41:03 +0100
committerCharles Pigott <charlespigott@googlemail.com>2021-02-28 18:04:51 +0000
commitc3dc27e37e177675c8a54ef507de48b61ed6da2c (patch)
treee42eb666cf8f22c17a0a4042bc62043ecda6c3b8 /src/settings_type.h
parent73fd634209a9d54dd167a579e4bb3cced177b896 (diff)
downloadopenttd-c3dc27e37e177675c8a54ef507de48b61ed6da2c.tar.xz
Add: settings to limit your fast-forward game speed
By default this setting is set to 2500% normal game speed.
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index 11298cfa7..f2c591f64 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -148,6 +148,7 @@ struct GUISettings {
bool show_newgrf_name; ///< Show the name of the NewGRF in the build vehicle window
bool auto_remove_signals; ///< automatically remove signals when in the way during rail construction
uint16 refresh_rate; ///< How often we refresh the screen (time between draw-ticks).
+ uint16 fast_forward_speed_limit; ///< Game speed to use when fast-forward is enabled.
uint16 console_backlog_timeout; ///< the minimum amount of time items should be in the console backlog before they will be removed in ~3 seconds granularity.
uint16 console_backlog_length; ///< the minimum amount of items in the console backlog before items will be removed.