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
commitf954a93ee00ec9f7c69afc306e8346d80ccbb432 (patch)
tree08d42b0dc303e2f3691a402d44db0a3dcdb9d86a /src/engine_gui.h
parentf44a2c38f8887a2f9d6d3e6111d7d00537033274 (diff)
downloadopenttd-f954a93ee00ec9f7c69afc306e8346d80ccbb432.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 */