Home
last modified time | relevance | path

Searched refs:sel_roadtype (Results 1 – 1 of 1) sorted by relevance

/dports/games/openttd/openttd-12.1/src/
H A Dautoreplace_gui.cpp89 RoadType sel_roadtype; ///< Type of road selected. #INVALID_ROADTYPE to show all. member in ReplaceVehicleWindow
136 if (draw_left && this->sel_roadtype != INVALID_ROADTYPE) { in GenerateReplaceVehList()
138 if (e->u.road.roadtype != this->sel_roadtype) continue; in GenerateReplaceVehList()
227 this->sel_roadtype = INVALID_ROADTYPE; in ReplaceVehicleWindow()
465 …_TYPE_DROPDOWN)->widget_data = sel_roadtype == INVALID_ROADTYPE ? STR_REPLACE_ALL_ROADTYPE : GetRo… in OnPaint()
536 …ist(this, GetRoadTypeDropDownList(RTTB_ROAD | RTTB_TRAM, true, true), sel_roadtype, WID_RV_RAIL_RO… in OnClick()
616 if (temp == sel_roadtype) return; // we didn't select a new one. No need to change anything in OnDropdownSelect()
617 sel_roadtype = temp; in OnDropdownSelect()