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