summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-07 16:11:27 +0000
committerrubidium <rubidium@openttd.org>2009-01-07 16:11:27 +0000
commit84dee1e7389aa359ce802f5fca3f167771c44005 (patch)
tree6e7a2129d3a3830aef49e3d4654b27dfd3f2d9c5 /src/settings_type.h
parentfa22bcd45645ca98932c635c61fc96680438e496 (diff)
downloadopenttd-84dee1e7389aa359ce802f5fca3f167771c44005.tar.xz
(svn r14899) -Feature: remove the window limit, but leave a configurable limit on the number of non-sticky non-vital windows.
-Fix [FS#2499]: crashes/misbehaviours when (almost) all windows are stickied.
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 f75fb2d30..1adf9c504 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -57,6 +57,7 @@ struct GUISettings {
uint8 default_rail_type; ///< the default rail type for the rail GUI
uint8 toolbar_pos; ///< position of toolbars, 0=left, 1=center, 2=right
uint8 window_snap_radius; ///< windows snap at each other if closer than this
+ uint8 window_soft_limit; ///< soft limit of maximum number of non-stickied non-vital windows (0 = no limit)
bool always_build_infrastructure; ///< always allow building of infrastructure, even when you do not have the vehicles for it
byte autosave; ///< how often should we do autosaves?
bool keep_all_autosave; ///< name the autosave in a different way