Add build vehicle window sort mode: cargo capacity / running cost

This commit is contained in:
Jonathan G Rennison
2022-01-30 22:09:16 +00:00
parent 5a6a2400a5
commit 0a7a7ebcf0
3 changed files with 86 additions and 17 deletions

View File

@@ -34,8 +34,8 @@ extern bool _engine_sort_direction;
extern byte _engine_sort_last_criteria[];
extern bool _engine_sort_last_order[];
extern bool _engine_sort_show_hidden_engines[];
extern const StringID _engine_sort_listing[][13];
extern EngList_SortTypeFunction * const _engine_sort_functions[][12];
extern const StringID _engine_sort_listing[][14];
extern EngList_SortTypeFunction * const _engine_sort_functions[][13];
uint GetEngineListHeight(VehicleType type);
void DisplayVehicleSortDropDown(Window *w, VehicleType vehicle_type, int selected, int button);