summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-02-04 18:25:07 +0000
committerbjarni <bjarni@openttd.org>2006-02-04 18:25:07 +0000
commit78b51cbec2d027a4e8f3066370d5994d4e8b0935 (patch)
tree20068dc0fce73768c5bdcbbc3cb9668c47d94d51 /window.h
parent94dfa094246b5e9dfd5e86fcbce2a55fce8f7c00 (diff)
downloadopenttd-78b51cbec2d027a4e8f3066370d5994d4e8b0935.tar.xz
(svn r3535) -Feature: [autoreplace] allow autoreplacing of train wagons
currently ALL available wagons are displayed in the right menu in the replace window however the replacement will only be done if the new wagon can be refitted to carry same cargo as the old one is currently carrying Since the standard vehicles do not have any valid wagon replacements, this feature can only be used when using newgrf sets
Diffstat (limited to 'window.h')
-rw-r--r--window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/window.h b/window.h
index 2caef2abe..54df4c76e 100644
--- a/window.h
+++ b/window.h
@@ -353,6 +353,7 @@ typedef struct {
byte sel_index[2];
EngineID sel_engine[2];
uint16 count[2];
+ bool wagon_btnstate; // true means engine is selected
} replaceveh_d;
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(replaceveh_d));