You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
602 B
C
17 lines
602 B
C
16 years ago
|
/* $Id$ */
|
||
|
|
||
|
/** @file engine_gui.h Engine GUI functions, used by build_vehicle_gui and autoreplace_gui */
|
||
|
|
||
|
#ifndef ENGINE_GUI_H
|
||
|
#define ENGINE_GUI_H
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
typedef std::vector<EngineID> EngineList;
|
||
|
|
||
|
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
|
||
|
|
||
|
#endif /* ENGINE_GUI_H */
|