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