summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-10-01 12:00:32 +0000
committerpeter1138 <peter1138@openttd.org>2006-10-01 12:00:32 +0000
commit53efef1f7b92cea4e6d2c4a8adda9bb77dc46437 (patch)
tree857532ec8f1095148bd9933f419158c98821bee5 /window.h
parent6bde2a5e7020aa99237e9b9d220f8ce0210d380b (diff)
downloadopenttd-53efef1f7b92cea4e6d2c4a8adda9bb77dc46437.tar.xz
(svn r6601) - Codechange: Support cargo subtypes in the refit window. The refit window has been altered to support resizing and scrolling. Note that the cargo subtype isn't yet passed for actual refitting yet. (Based on mart3p's patch)
Diffstat (limited to 'window.h')
-rw-r--r--window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/window.h b/window.h
index 185d2f017..15157cc7d 100644
--- a/window.h
+++ b/window.h
@@ -431,6 +431,8 @@ assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(facesel_d));
typedef struct {
int sel;
CargoID cargo;
+ struct RefitList *list;
+ uint length;
} refit_d;
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(refit_d));