Files @ r12621:386add954b41
Branch filter:

Location: cpp/openttd-patchpack/source/src/engine_gui.h

translators
(svn r17074) -Update from WebTranslator v3.0:
simplified_chinese - 8 changes by Gavin
dutch - 50 changes by Rubidium, TrueBrain
finnish - 4 changes by jpx_
french - 47 changes by glx
frisian - 38 changes by huddekul
galician - 20 changes by Condex
german - 2 changes by Roujin
indonesian - 7 changes by fanioz
romanian - 9 changes by kkmic
russian - 51 changes by Lone_Wolf, MajestiC
spanish - 1 changes by Terkhen
/* $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 "sortlist_type.h"

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
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 */