OpenTTD Source
12.0-beta2
|
Go to the documentation of this file.
21 DropDownList GetRoadTypeDropDownList(RoadTramTypes rtts,
bool for_replacement =
false,
bool all_option =
false);
22 DropDownList GetScenRoadTypeDropDownList(RoadTramTypes rtts);
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?
std::vector< std::unique_ptr< const DropDownListItem > > DropDownList
A drop down list is a collection of drop down list items.
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.
DiagDirection
Enumeration for diagonal directions.
RoadType
The different roadtypes we support.
Data structure for an opened window.
struct Window * ShowBuildRoadToolbar(RoadType roadtype)
Open the build road toolbar window.