Files @ r10346:abb5a49d7f1a
Branch filter:

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

translators
(svn r14597) -Update: WebTranslator2 update to 2008-11-19 18:43:03
afrikaans - 165 fixed, 227 changed by nubllett (156), burgerd (236)
dutch - 2 fixed, 5 changed by Excel20 (7)
french - 2 fixed by glx (2)
german - 6 fixed, 2 changed by jonathan159 (2), MaSch (6)
hungarian - 1 fixed, 20 changed by oklmernok (21)
macedonian - 90 fixed by sashozs (90)
serbian - 560 fixed by AtzaMan (560)
slovak - 1 fixed by James (1)
spanish - 1 fixed by eusebio (1)
/* $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> 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 */