21 DropDownList GetRoadTypeDropDownList(RoadTramTypes rtts,
bool for_replacement =
false,
bool all_option =
false);
22 DropDownList GetScenRoadTypeDropDownList(RoadTramTypes rtts);
Different types to 'show' directions.
Enums and other types related to roads.
struct Window * ShowBuildRoadToolbar(RoadType roadtype)
Open the build road toolbar window.
struct Window * ShowBuildRoadScenToolbar(RoadType roadtype)
Show the road building toolbar in the scenario editor.
RoadType
The different roadtypes we support.
Data structure for an opened window.
void ConnectRoadToStructure(TileIndex tile, DiagDirection direction)
If required, connects a new structure to an existing road or tram by building the missing roadbit...
std::vector< std::unique_ptr< const DropDownListItem > > DropDownList
A drop down list is a collection of drop down list items.
Types related to the drop down widget.
uint32 TileIndex
The index/ID of a Tile.
void InitializeRoadGUI()
I really don't know why rail_gui.cpp has this too, shouldn't be included in the other one...
DiagDirection
Enumeration for diagonal directions.