Mercurial > hg > openttd
comparison src/engine_gui.h @ 18244:8f6022f41538 draft
(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs.
author | frosch <frosch@openttd.org> |
---|---|
date | Tue, 01 Nov 2011 16:51:47 +0000 |
parents | 72cb3c72d619 |
children | a0d7e20ebafe |
comparison
equal
deleted
inserted
replaced
18243:0f4af8be53f9 | 18244:8f6022f41538 |
---|---|
23 void EngList_SortPartial(GUIEngineList *el, EngList_SortTypeFunction compare, uint begin, uint num_items); ///< sort of specified portion of the engine list | 23 void EngList_SortPartial(GUIEngineList *el, EngList_SortTypeFunction compare, uint begin, uint num_items); ///< sort of specified portion of the engine list |
24 | 24 |
25 StringID GetEngineCategoryName(EngineID engine); | 25 StringID GetEngineCategoryName(EngineID engine); |
26 StringID GetEngineInfoString(EngineID engine); | 26 StringID GetEngineInfoString(EngineID engine); |
27 | 27 |
28 void DrawVehicleEngine(int left, int right, int preferred_x, int y, EngineID engine, PaletteID pal); | 28 void DrawVehicleEngine(int left, int right, int preferred_x, int y, EngineID engine, PaletteID pal, EngineImageType image_type); |
29 void DrawTrainEngine(int left, int right, int preferred_x, int y, EngineID engine, PaletteID pal); | 29 void DrawTrainEngine(int left, int right, int preferred_x, int y, EngineID engine, PaletteID pal, EngineImageType image_type); |
30 void DrawRoadVehEngine(int left, int right, int preferred_x, int y, EngineID engine, PaletteID pal); | 30 void DrawRoadVehEngine(int left, int right, int preferred_x, int y, EngineID engine, PaletteID pal, EngineImageType image_type); |
31 void DrawShipEngine(int left, int right, int preferred_x, int y, EngineID engine, PaletteID pal); | 31 void DrawShipEngine(int left, int right, int preferred_x, int y, EngineID engine, PaletteID pal, EngineImageType image_type); |
32 void DrawAircraftEngine(int left, int right, int preferred_x, int y, EngineID engine, PaletteID pal); | 32 void DrawAircraftEngine(int left, int right, int preferred_x, int y, EngineID engine, PaletteID pal, EngineImageType image_type); |
33 | 33 |
34 #endif /* ENGINE_GUI_H */ | 34 #endif /* ENGINE_GUI_H */ |