summaryrefslogtreecommitdiff
path: root/vehicle_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'vehicle_gui.h')
-rw-r--r--vehicle_gui.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/vehicle_gui.h b/vehicle_gui.h
index 95149b12c..3284508f4 100644
--- a/vehicle_gui.h
+++ b/vehicle_gui.h
@@ -5,6 +5,7 @@
#include "station.h"
#include "vehicle.h"
+#include "window.h"
struct vehiclelist_d;
@@ -43,6 +44,8 @@ enum {
PLY_WND_PRC__SIZE_OF_ROW_BIG = 36,
};
+void PlayerVehWndProc(Window *w, WindowEvent *e);
+
void ShowReplaceVehicleWindow(byte vehicletype);
void DrawTrainEnginePurchaseInfo(int x, int y, EngineID engine_number);
@@ -51,6 +54,19 @@ void DrawRoadVehPurchaseInfo(int x, int y, EngineID engine_number);
void DrawAircraftPurchaseInfo(int x, int y, EngineID engine_number);
void DrawShipPurchaseInfo(int x, int y, EngineID engine_number);
+void DrawTrainImage(const Vehicle *v, int x, int y, int count, int skip, VehicleID selection);
+void DrawRoadVehImage(const Vehicle *v, int x, int y, VehicleID selection);
+void DrawShipImage(const Vehicle *v, int x, int y, VehicleID selection);
+void DrawSmallOrderListShip(const Vehicle *v, int x, int y);
+
+void ShowBuildTrainWindow(TileIndex tile);
+void ShowBuildRoadVehWindow(TileIndex tile);
+void ShowBuildShipWindow(TileIndex tile);
+void ShowBuildAircraftWindow(TileIndex tile);
+
+void DrawAircraftImage(const Vehicle *v, int x, int y, VehicleID selection);
+void DrawSmallOrderListAircraft(const Vehicle *v, int x, int y);
+
void ChangeVehicleViewWindow(const Vehicle *from_v, const Vehicle *to_v);
int ShowAdditionalText(int x, int y, int w, EngineID engine_number);