10 #ifndef ROAD_INTERNAL_H 11 #define ROAD_INTERNAL_H Owner
Enum for all companies/owners.
Enums and other types related to roads.
Tile information, used while rendering the tile.
WindowFlags flags
Window flags.
Common return value for all commands.
DoCommandFlag
List of flags for a command.
CommandCost CheckAllowRemoveRoad(TileIndex tile, RoadBits remove, Owner owner, RoadTramType rtt, DoCommandFlag flags, bool town_check=true)
Is it allowed to remove the given road bits from the given tile?
RoadBits
Enumeration for the road parts on a tile.
RoadBits CleanUpRoadBits(const TileIndex tile, RoadBits org_rb)
Clean up unnecessary RoadBits of a planned tile.
uint32 TileIndex
The index/ID of a Tile.
Owner owner
The owner of the content shown in this window. Company colour is acquired from this variable...
void DrawRoadCatenary(const TileInfo *ti)
Draws the catenary for the given tile.
Generic 'commands' that can be performed on all tiles.