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