(svn r20353) -Add: [NewGRF] Support for callback 0x147 ("add sprite offset") for canals.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user