(svn r7299) -CodeChange: Train and Aircraft Build window GUI code simplified a bit:
- using one engine list instead of 3 - removed engine filters (loco, wagons, helicopters, etc.) - EngineList code isolated from GUI (moved to helpers.cpp - reusing CBlobT code which does exactly what is needed for EngineList) - removed unnecessary "optimization" (rebuild and sort engine list on each WE_PAINT)
This commit is contained in:
@@ -2508,10 +2508,13 @@ STR_8816 :{BLACK}-
|
||||
STR_8819_TRAIN_TOO_LONG :{WHITE}Train too long
|
||||
STR_881A_TRAINS_CAN_ONLY_BE_ALTERED :{WHITE}Trains can only be altered when stopped inside a depot
|
||||
STR_881B_TRAINS :{WHITE}{COMPANY} - {COMMA} Train{P "" s}
|
||||
|
||||
STR_881C_NEW_RAIL_VEHICLES :{WHITE}New Rail Vehicles
|
||||
STR_NEW_ELRAIL_VEHICLES :{WHITE}New Electric Rail Vehicles
|
||||
STR_881D_NEW_MONORAIL_VEHICLES :{WHITE}New Monorail Vehicles
|
||||
STR_881E_NEW_MAGLEV_VEHICLES :{WHITE}New Maglev Vehicles
|
||||
STR_ALL_AVAIL_RAIL_VEHICLES :{WHITE}Rail Vehicles
|
||||
|
||||
STR_881F_BUILD_VEHICLE :{BLACK}Build Vehicle
|
||||
STR_CLONE_ROAD_VEHICLE :{BLACK}Clone Vehicle
|
||||
STR_CLONE_ROAD_VEHICLE_INFO :{BLACK}This will build a copy of the road vehicle. Control-click will share the orders
|
||||
@@ -2560,12 +2563,6 @@ STR_8840_BUILD_NEW_TRAIN_VEHICLE :{BLACK}Build ne
|
||||
STR_8841_DRAG_TRAIN_VEHICLE_TO_HERE :{BLACK}Drag train vehicle to here to sell it
|
||||
STR_8842_CENTER_MAIN_VIEW_ON_TRAIN :{BLACK}Centre main view on train depot location
|
||||
STR_8843_TRAIN_VEHICLE_SELECTION :{BLACK}Train vehicle selection list - click on vehicle for information
|
||||
STR_BLACK_ENGINES :{BLACK}Engines
|
||||
STR_BLACK_WAGONS :{BLACK}Wagons
|
||||
STR_BLACK_BOTH :{BLACK}Both
|
||||
STR_BUILD_TRAIN_ENGINES_TIP :{BLACK}Click to see engines only
|
||||
STR_BUILD_TRAIN_WAGONS_TIP :{BLACK}Click to see wagons only
|
||||
STR_BUILD_TRAIN_BOTH_TIP :{BLACK}Click to see both engines and wagons
|
||||
STR_8844_BUILD_THE_HIGHLIGHTED_TRAIN :{BLACK}Build the highlighted train vehicle
|
||||
STR_8845_RENAME_TRAIN_VEHICLE_TYPE :{BLACK}Rename train vehicle type
|
||||
STR_8846_CURRENT_TRAIN_ACTION_CLICK :{BLACK}Current train action - click here to stop/start train
|
||||
@@ -2794,12 +2791,6 @@ STR_A01E_BUILD_AIRPORT :{BLACK}Build ai
|
||||
STR_A01F_AIRCRAFT_CLICK_ON_AIRCRAFT :{BLACK}Aircraft - click on aircraft for information
|
||||
STR_A020_BUILD_NEW_AIRCRAFT_REQUIRES :{BLACK}Build new aircraft (requires airport with hangar)
|
||||
STR_A021_AIRCRAFT_CLICK_ON_AIRCRAFT :{BLACK}Aircraft - click on aircraft for information
|
||||
STR_BLACK_PLANES :{BLACK}Propellers
|
||||
STR_BLACK_JETS :{BLACK}Jets
|
||||
STR_BLACK_HELICOPTERS :{BLACK}Helicopters
|
||||
STR_BUILD_PLANES_TIP :{BLACK}Click to see propeller planes
|
||||
STR_BUILD_JETS_TIP :{BLACK}Click to see jet planes
|
||||
STR_BUILD_HELICOPTERS_TIP :{BLACK}Click to see helicopters
|
||||
STR_A022_BUILD_NEW_AIRCRAFT :{BLACK}Build new aircraft
|
||||
STR_A023_DRAG_AIRCRAFT_TO_HERE_TO :{BLACK}Drag aircraft to here to sell it
|
||||
STR_A024_CENTER_MAIN_VIEW_ON_HANGAR :{BLACK}Centre main view on hangar location
|
||||
|
Reference in New Issue
Block a user