(svn r16042) -Feature [FS#1941]: Allow filtering of vehicle purchase lists by cargo. Based on patch by sbr.

This commit is contained in:
frosch
2009-04-12 17:38:01 +00:00
parent 13d6412c22
commit 6ebe8d7fc6
3 changed files with 129 additions and 16 deletions

View File

@@ -7,7 +7,7 @@
#include "sortlist_type.h"
typedef GUIList<EngineID> GUIEngineList;
typedef GUIList<EngineID, CargoID> GUIEngineList;
typedef int CDECL EngList_SortTypeFunction(const void*, const void*); ///< argument type for EngList_Sort()
void EngList_Sort(GUIEngineList *el, EngList_SortTypeFunction compare); ///< qsort of the engine list