OpenTTD Source
12.0-beta2
|
Go to the documentation of this file.
10 #ifndef NEWGRF_CANAL_H
11 #define NEWGRF_CANAL_H
uint32 TileIndex
The index/ID of a Tile.
Information about a water feature.
SpriteID GetCanalSprite(CanalFeature feature, TileIndex tile)
Lookup the base sprite to use for a canal.
uint8 callback_mask
Bitmask of canal callbacks that have to be called.
@ CFF_HAS_FLAT_SPRITE
Additional flat ground sprite in the beginning.
uint32 SpriteID
The number of a sprite, without mapping bits and colourtables.
WaterFeature _water_feature[CF_END]
Table of canal 'feature' sprite groups.
uint8 flags
Flags controlling display.
const GRFFile * grffile
NewGRF where 'group' belongs to.
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'.