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
commit2de71bc234b9fc181e1cc93cbe85a5f39aa94740 (patch)
tree857532ec8f1095148bd9933f419158c98821bee5 /window.h
parente8615736af9ee4141bd8b8b25bb9dedbec2025fb (diff)
downloadopenttd-2de71bc234b9fc181e1cc93cbe85a5f39aa94740.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));