mirror of https://github.com/OpenTTD/OpenTTD
(svn r14118) -Fix(r14104): typos creeping like bugs
parent
c4f5d419c0
commit
d3dd9c6566
|
@ -800,7 +800,7 @@ struct VehicleListWindow : public Window, public VehicleListBase {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case VLM_WAYPOINT_LIST:
|
case VLW_WAYPOINT_LIST:
|
||||||
this->widget[VLW_WIDGET_CAPTION].data = STR_WAYPOINT_VIEWPORT;
|
this->widget[VLW_WIDGET_CAPTION].data = STR_WAYPOINT_VIEWPORT;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -899,7 +899,7 @@ struct VehicleListWindow : public Window, public VehicleListBase {
|
||||||
SetDParam(1, this->vscroll.count);
|
SetDParam(1, this->vscroll.count);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case VLM_WAYPOINT_LIST:
|
case VLW_WAYPOINT_LIST:
|
||||||
SetDParam(0, index);
|
SetDParam(0, index);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -1180,7 +1180,7 @@ void ShowVehicleListWindow(PlayerID player, VehicleType vehicle_type)
|
||||||
void ShowVehicleListWindow(const Waypoint *wp)
|
void ShowVehicleListWindow(const Waypoint *wp)
|
||||||
{
|
{
|
||||||
if (wp == NULL) return;
|
if (wp == NULL) return;
|
||||||
ShowVehicleListWindowLocal(GetTileOwner(wp->xy), VLM_WAYPOINT_LIST, VEH_TRAIN, wp->index);
|
ShowVehicleListWindowLocal(GetTileOwner(wp->xy), VLW_WAYPOINT_LIST, VEH_TRAIN, wp->index);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ShowVehicleListWindow(const Vehicle *v)
|
void ShowVehicleListWindow(const Vehicle *v)
|
||||||
|
|
|
@ -52,7 +52,7 @@ enum {
|
||||||
VLW_STATION_LIST = 2 << 8,
|
VLW_STATION_LIST = 2 << 8,
|
||||||
VLW_DEPOT_LIST = 3 << 8,
|
VLW_DEPOT_LIST = 3 << 8,
|
||||||
VLW_GROUP_LIST = 4 << 8,
|
VLW_GROUP_LIST = 4 << 8,
|
||||||
VLM_WAYPOINT_LIST = 5 << 8,
|
VLW_WAYPOINT_LIST = 5 << 8,
|
||||||
VLW_MASK = 0x700,
|
VLW_MASK = 0x700,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ void BuildDepotVehicleList(VehicleType type, TileIndex tile, VehicleList *engine
|
||||||
* <li>VLW_STANDARD: not used<li>
|
* <li>VLW_STANDARD: not used<li>
|
||||||
* <li>VLW_DEPOT_LIST: TileIndex of the depot/hangar to make the list for</li>
|
* <li>VLW_DEPOT_LIST: TileIndex of the depot/hangar to make the list for</li>
|
||||||
* <li>VLW_GROUP_LIST: index of group to generate a list for</li>
|
* <li>VLW_GROUP_LIST: index of group to generate a list for</li>
|
||||||
* <li>VLM_WAYPOINT_LIST: index of waypoint to generate a list for</li>
|
* <li>VLW_WAYPOINT_LIST: index of waypoint to generate a list for</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
* @param window_type The type of window the list is for, using the VLW_ flags in vehicle_gui.h
|
* @param window_type The type of window the list is for, using the VLW_ flags in vehicle_gui.h
|
||||||
*/
|
*/
|
||||||
|
@ -123,7 +123,7 @@ void GenerateVehicleSortList(VehicleList *list, VehicleType type, PlayerID owner
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case VLM_WAYPOINT_LIST:
|
case VLW_WAYPOINT_LIST:
|
||||||
FOR_ALL_VEHICLES(v) {
|
FOR_ALL_VEHICLES(v) {
|
||||||
if (v->type == type && v->IsPrimaryVehicle()) {
|
if (v->type == type && v->IsPrimaryVehicle()) {
|
||||||
const Order *order;
|
const Order *order;
|
||||||
|
|
Loading…
Reference in New Issue