OpenTTD Source
1.11.0-beta2
|
std::vector< std::unique_ptr< const DropDownListItem > > DropDownList
A drop down list is a collection of drop down list items.
bool ResetSignalVariant(int32=0)
Updates the current signal variant used in the signal GUI to the one adequate to current year.
RailType
Enumeration for all possible railtypes.
void InitializeRailGUI()
Resets the rail GUI - sets default railtype to build and resets the signal GUI.
void ReinitGuiAfterToggleElrail(bool disable)
Re-initialize rail-build toolbar after toggling support for electric trains.
DropDownList GetRailTypeDropDownList(bool for_replacement=false, bool all_option=false)
Create a drop down list for all the rail types of the local company.
Data structure for an opened window.
struct Window * ShowBuildRailToolbar(RailType railtype)
Open the build rail toolbar window for a specific rail type.