summaryrefslogtreecommitdiff
path: root/src/engine_gui.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-05-28 17:29:27 +0000
committerpeter1138 <peter1138@openttd.org>2008-05-28 17:29:27 +0000
commitc61baba819d3be3c2f2bf068b177348dec636b10 (patch)
tree08d42b0dc303e2f3691a402d44db0a3dcdb9d86a /src/engine_gui.h
parent4ab659e29bc434d1047285e875b1bc7b0277f817 (diff)
downloadopenttd-c61baba819d3be3c2f2bf068b177348dec636b10.tar.xz
(svn r13314) -Codechange: Switch EngineList from std::vector to GUIList
Diffstat (limited to 'src/engine_gui.h')
-rw-r--r--src/engine_gui.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine_gui.h b/src/engine_gui.h
index 12957da92..6f002600b 100644
--- a/src/engine_gui.h
+++ b/src/engine_gui.h
@@ -5,12 +5,12 @@
#ifndef ENGINE_GUI_H
#define ENGINE_GUI_H
-#include <vector>
+#include "sortlist_type.h"
-typedef std::vector<EngineID> EngineList;
+typedef GUIList<EngineID> GUIEngineList;
typedef int CDECL EngList_SortTypeFunction(const void*, const void*); ///< argument type for EngList_Sort()
-void EngList_Sort(EngineList *el, EngList_SortTypeFunction compare); ///< qsort of the engine list
-void EngList_SortPartial(EngineList *el, EngList_SortTypeFunction compare, uint begin, uint num_items); ///< qsort of specified portion of the engine list
+void EngList_Sort(GUIEngineList *el, EngList_SortTypeFunction compare); ///< qsort of the engine list
+void EngList_SortPartial(GUIEngineList *el, EngList_SortTypeFunction compare, uint begin, uint num_items); ///< qsort of specified portion of the engine list
#endif /* ENGINE_GUI_H */