equal
deleted
inserted
replaced
4 |
4 |
5 #include "stdafx.h" |
5 #include "stdafx.h" |
6 #include "openttd.h" |
6 #include "openttd.h" |
7 #include "debug.h" |
7 #include "debug.h" |
8 #include "ship.h" |
8 #include "ship.h" |
9 #include "table/strings.h" |
|
10 #include "table/sprites.h" |
|
11 #include "gui.h" |
9 #include "gui.h" |
12 #include "window_gui.h" |
10 #include "window_gui.h" |
13 #include "viewport_func.h" |
11 #include "viewport_func.h" |
14 #include "gfx_func.h" |
12 #include "gfx_func.h" |
15 #include "depot.h" |
13 #include "depot.h" |
16 #include "vehicle_gui.h" |
14 #include "vehicle_gui.h" |
17 #include "newgrf_engine.h" |
15 #include "newgrf_engine.h" |
18 #include "strings_func.h" |
16 #include "strings_func.h" |
19 #include "vehicle_func.h" |
17 #include "vehicle_func.h" |
|
18 |
|
19 #include "table/strings.h" |
|
20 #include "table/sprites.h" |
20 |
21 |
21 void DrawShipImage(const Vehicle *v, int x, int y, VehicleID selection) |
22 void DrawShipImage(const Vehicle *v, int x, int y, VehicleID selection) |
22 { |
23 { |
23 DrawSprite(v->GetImage(DIR_W), GetVehiclePalette(v), x + 32, y + 10); |
24 DrawSprite(v->GetImage(DIR_W), GetVehiclePalette(v), x + 32, y + 10); |
24 |
25 |