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