summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-12 20:49:27 +0000
committerrubidium <rubidium@openttd.org>2008-08-12 20:49:27 +0000
commitfe87fa82059cb7e32207ba77bdcc06b91bd84d2d (patch)
tree712b85d40fe6b2600386efe14c3b79ca82f15776 /src/settings_type.h
parent203b5eed278040b7ecb41a2a2ef5ae27a9b0ec21 (diff)
downloadopenttd-fe87fa82059cb7e32207ba77bdcc06b91bd84d2d.tar.xz
(svn r14056) -Fix [FS#2192]: the console backlog is too small for list_patches. Now it'll only remove backlog items when there are more than a threshold and when they are there longer than (another) threshold.
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index 833d37520..c586d3198 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -82,6 +82,9 @@ struct GUISettings {
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.
+
+ 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.
#ifdef ENABLE_NETWORK
uint16 network_chat_box_width; ///< width of the chat box in pixels
uint8 network_chat_box_height; ///< height of the chat box in lines