diff options
author | michi_cc <michi_cc@openttd.org> | 2010-08-03 17:48:07 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2010-08-03 17:48:07 +0000 |
commit | 4d927af48800f90c45cbc5300a510b61947066b8 (patch) | |
tree | 2ed591f5d5e9d3e1cc7b277dbaf11a53470597b9 /src/newgrf_canal.h | |
parent | bd2f7e998c93d170e6fbf44ccdd01f95c24ce06f (diff) | |
download | openttd-4d927af48800f90c45cbc5300a510b61947066b8.tar.xz |
(svn r20353) -Add: [NewGRF] Support for callback 0x147 ("add sprite offset") for canals.
Diffstat (limited to 'src/newgrf_canal.h')
-rw-r--r-- | src/newgrf_canal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newgrf_canal.h b/src/newgrf_canal.h index fba0979b5..f4ba9a06b 100644 --- a/src/newgrf_canal.h +++ b/src/newgrf_canal.h @@ -15,6 +15,7 @@ #include "gfx_type.h" #include "tile_type.h" #include "newgrf_generic.h" +#include "newgrf_callbacks.h" /** * List of different canal 'features'. @@ -57,4 +58,7 @@ extern WaterFeature _water_feature[CF_END]; */ SpriteID GetCanalSprite(CanalFeature feature, TileIndex tile); +uint16 GetCanalCallback(CallbackID callback, uint32 param1, uint32 param2, CanalFeature feature, TileIndex tile); +uint GetCanalSpriteOffset(CanalFeature feature, TileIndex tile, uint cur_offset); + #endif /* NEWGRF_CANAL_H */ |