diff options
author | rubidium <rubidium@openttd.org> | 2008-08-12 20:49:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-08-12 20:49:27 +0000 |
commit | 083fbf9a96151f9784191792ffcb4f28453d2d30 (patch) | |
tree | 712b85d40fe6b2600386efe14c3b79ca82f15776 /src/settings_type.h | |
parent | edc1b3cdc2928cc1c1c6937fb232bf7804f39ad9 (diff) | |
download | openttd-083fbf9a96151f9784191792ffcb4f28453d2d30.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.h | 3 |
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 |