diff options
author | tron <tron@openttd.org> | 2005-07-21 22:15:02 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-21 22:15:02 +0000 |
commit | 71140a5768c11e98a09ccbff00186e6bf3e1a5ab (patch) | |
tree | 0e2d2d052ab58755549ef42d694f58679a4c496c /vehicle_gui.c | |
parent | cae796828b2abb52fef9fbc7f7ef6497717f859c (diff) | |
download | openttd-71140a5768c11e98a09ccbff00186e6bf3e1a5ab.tar.xz |
(svn r2669) Shuffle some more stuff around to reduce dependencies
Diffstat (limited to 'vehicle_gui.c')
-rw-r--r-- | vehicle_gui.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vehicle_gui.c b/vehicle_gui.c index 5955e52ac..2cfc40a4d 100644 --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -11,6 +11,14 @@ #include "gui.h" #include "command.h" #include "gfx.h" +#include "variables.h" +#include "vehicle_gui.h" + +Sorting _sorting; + +static uint32 _internal_name_sorter_id; // internal StringID for default vehicle-names +static uint32 _last_vehicle_idx; // cached index to hopefully speed up name-sorting +static bool _internal_sort_order; // descending/ascending VehicleSortListingTypeFunctions * const _vehicle_sorter[] = { &VehicleUnsortedSorter, |