src/engine_gui.h
author translators
Thu, 04 Dec 2008 18:47:20 +0000
changeset 10404 ea3784c0b3dd
parent 9403 8cfca59c11f1
permissions -rw-r--r--
(svn r14655) -Update: WebTranslator2 update to 2008-12-04 18:47:16
croatian - 61 fixed by knovak (61)
hebrew - 192 fixed by davidx123 (192)
hungarian - 1 changed by IPG (1)
indonesian - 165 fixed, 6 changed by fanioz (121), dnaftali (50)
malay - 182 fixed, 1 changed by tombakemas (104), Syed (79)
/* $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 */