summaryrefslogtreecommitdiff
path: root/src/newgrf_canal.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-01-21 20:41:04 +0000
committerpeter1138 <peter1138@openttd.org>2008-01-21 20:41:04 +0000
commit9d754a7f7684295e18661aa7ed361f3c4c5b1ca8 (patch)
tree060191c8dc0f46b1574782e94ce94e62a7aff3ae /src/newgrf_canal.h
parent2e63435124dc99033866d202cf80c6a6be92a7c4 (diff)
downloadopenttd-9d754a7f7684295e18661aa7ed361f3c4c5b1ca8.tar.xz
(svn r11938) -Codechange: support loading of canal/river properties (though still ignored)
Diffstat (limited to 'src/newgrf_canal.h')
-rw-r--r--src/newgrf_canal.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/newgrf_canal.h b/src/newgrf_canal.h
index 1972c2c86..03e7cdff8 100644
--- a/src/newgrf_canal.h
+++ b/src/newgrf_canal.h
@@ -17,8 +17,15 @@ enum CanalFeature {
};
+struct WaterFeature {
+ const SpriteGroup *group;
+ uint8 callbackmask;
+ uint8 flags;
+};
+
+
/** Table of canal 'feature' sprite groups */
-extern const SpriteGroup *_canal_sg[CF_END];
+extern WaterFeature _water_feature[CF_END];
/** Lookup the base sprite to use for a canal.