(svn r2669) Shuffle some more stuff around to reduce dependencies

This commit is contained in:
tron
2005-07-21 22:15:02 +00:00
parent a446294e7c
commit 0762aa9ec9
66 changed files with 101 additions and 35 deletions

View File

@@ -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,