equal
deleted
inserted
replaced
7 #include "openttd.h" |
7 #include "openttd.h" |
8 #include "aircraft.h" |
8 #include "aircraft.h" |
9 #include "debug.h" |
9 #include "debug.h" |
10 #include "landscape.h" |
10 #include "landscape.h" |
11 #include "station_map.h" |
11 #include "station_map.h" |
12 #include "table/strings.h" |
|
13 #include "timetable.h" |
12 #include "timetable.h" |
14 #include "depot.h" |
13 #include "depot.h" |
15 #include "engine.h" |
14 #include "engine.h" |
16 #include "station.h" |
15 #include "station.h" |
17 #include "news.h" |
16 #include "news.h" |
18 #include "aircraft.h" |
17 #include "aircraft.h" |
19 #include "airport.h" |
18 #include "airport.h" |
20 #include "vehicle_gui.h" |
19 #include "vehicle_gui.h" |
21 #include "table/sprites.h" |
|
22 #include "newgrf_engine.h" |
20 #include "newgrf_engine.h" |
23 #include "newgrf_callbacks.h" |
21 #include "newgrf_callbacks.h" |
24 #include "newgrf_text.h" |
22 #include "newgrf_text.h" |
25 #include "newgrf_sound.h" |
23 #include "newgrf_sound.h" |
26 #include "spritecache.h" |
24 #include "spritecache.h" |
35 #include "variables.h" |
33 #include "variables.h" |
36 #include "autoreplace_func.h" |
34 #include "autoreplace_func.h" |
37 #include "autoreplace_gui.h" |
35 #include "autoreplace_gui.h" |
38 #include "gfx_func.h" |
36 #include "gfx_func.h" |
39 #include "player_func.h" |
37 #include "player_func.h" |
|
38 |
|
39 #include "table/strings.h" |
|
40 #include "table/sprites.h" |
40 |
41 |
41 void Aircraft::UpdateDeltaXY(Direction direction) |
42 void Aircraft::UpdateDeltaXY(Direction direction) |
42 { |
43 { |
43 uint32 x; |
44 uint32 x; |
44 #define MKIT(a, b, c, d) ((a & 0xFF) << 24) | ((b & 0xFF) << 16) | ((c & 0xFF) << 8) | ((d & 0xFF) << 0) |
45 #define MKIT(a, b, c, d) ((a & 0xFF) << 24) | ((b & 0xFF) << 16) | ((c & 0xFF) << 8) | ((d & 0xFF) << 0) |