#include "sortlist_type.h"
Go to the source code of this file.
Typedefs | |
typedef GUIList< EngineID > | GUIEngineList |
typedef int CDECL | EngList_SortTypeFunction (const void *, const void *) |
argument type for EngList_Sort() | |
Functions | |
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 |
Definition in file engine_gui.h.
void EngList_Sort | ( | GUIEngineList * | el, | |
EngList_SortTypeFunction | compare | |||
) |
qsort of the engine list
qsort of the engine list
el | list to be sorted | |
compare | function for evaluation of the quicksort |
Definition at line 213 of file engine_gui.cpp.
Referenced by ReplaceVehicleWindow::GenerateReplaceVehList().
void EngList_SortPartial | ( | GUIEngineList * | el, | |
EngList_SortTypeFunction | compare, | |||
uint | begin, | |||
uint | num_items | |||
) |
qsort of specified portion of the engine list
qsort of specified portion of the engine list
el | list to be sorted | |
compare | function for evaluation of the quicksort | |
begin | start of sorting | |
num_items | count of items to be sorted |
Definition at line 228 of file engine_gui.cpp.