12 #ifndef NEWGRF_CANAL_H 13 #define NEWGRF_CANAL_H SpriteID GetCanalSprite(CanalFeature feature, TileIndex tile)
Lookup the base sprite to use for a canal.
uint GetCanalSpriteOffset(CanalFeature feature, TileIndex tile, uint cur_offset)
Get the new sprite offset for a water tile.
CanalFeatureFlag
Flags controlling the display of canals.
const GRFFile * grffile
NewGRF where 'group' belongs to.
CanalFeature
List of different canal 'features'.
uint8 flags
Flags controlling display.
const SpriteGroup * group
Sprite group to start resolving.
WaterFeature _water_feature[CF_END]
Table of canal 'feature' sprite groups.
uint8 callback_mask
Bitmask of canal callbacks that have to be called.
Additional flat ground sprite in the beginning.
uint32 SpriteID
The number of a sprite, without mapping bits and colourtables.
uint32 TileIndex
The index/ID of a Tile.
Information about a water feature.
Dynamic data of a loaded NewGRF.
Base for the NewGRF implementation.