summaryrefslogtreecommitdiff
path: root/vehicle_gui.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-09-26 13:38:12 +0000
committertron <tron@openttd.org>2005-09-26 13:38:12 +0000
commitc76f01b6ff9221dd2ebdfc09031c9707d5404ce5 (patch)
tree5da77b7017fab40c35f85a487eb5cba567cd8d0a /vehicle_gui.h
parentd28067445a9d854ccc1d8ce915bf20e8e63c5993 (diff)
downloadopenttd-c76f01b6ff9221dd2ebdfc09031c9707d5404ce5.tar.xz
(svn r2988) static where static is due
Diffstat (limited to 'vehicle_gui.h')
-rw-r--r--vehicle_gui.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/vehicle_gui.h b/vehicle_gui.h
index ccb0d889b..0b93ceafd 100644
--- a/vehicle_gui.h
+++ b/vehicle_gui.h
@@ -21,24 +21,8 @@ void SortVehicleList(struct vehiclelist_d *vl);
int CDECL GeneralOwnerSorter(const void *a, const void *b);
#define PERIODIC_RESORT_DAYS 10
-#define DEF_SORTER(yyyy) int CDECL yyyy(const void *a, const void *b)
-
-DEF_SORTER(VehicleUnsortedSorter);
-DEF_SORTER(VehicleNumberSorter);
-DEF_SORTER(VehicleNameSorter);
-DEF_SORTER(VehicleAgeSorter);
-DEF_SORTER(VehicleProfitThisYearSorter);
-DEF_SORTER(VehicleProfitLastYearSorter);
-DEF_SORTER(VehicleCargoSorter);
-DEF_SORTER(VehicleReliabilitySorter);
-DEF_SORTER(VehicleMaxSpeedSorter);
-
-typedef DEF_SORTER(VehicleSortListingTypeFunctions);
-
#define SORT_BY_UNSORTED 0
-extern VehicleSortListingTypeFunctions * const _vehicle_sorter[];
extern const StringID _vehicle_sort_listing[];
-extern const StringID _rail_types_list[];
enum VehicleSortTypes {
VEHTRAIN = 0,