Files
@ r12323:ba4726a15973
Branch filter:
Location: cpp/openttd-patchpack/source/src/engine_gui.h - annotation
r12323:ba4726a15973
625 B
text/x-c
(svn r16753) -Fix (r16740): Don't check the width of the same string 4 times, but pick the maximum width of all difficulty levels
r9380:6b24883f64de r9380:6b24883f64de r9380:6b24883f64de r9380:6b24883f64de r9380:6b24883f64de r9380:6b24883f64de r9380:6b24883f64de r9403:e5bffa930a63 r9380:6b24883f64de r11657:8035a6ada5a3 r9380:6b24883f64de r9380:6b24883f64de r9403:e5bffa930a63 r9403:e5bffa930a63 r9380:6b24883f64de r9380:6b24883f64de | /* $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 */
|