equal
deleted
inserted
replaced
18 #include "town_map.h" |
18 #include "town_map.h" |
19 #include "viewport.h" |
19 #include "viewport.h" |
20 #include "command_func.h" |
20 #include "command_func.h" |
21 #include "player.h" |
21 #include "player.h" |
22 #include "town.h" |
22 #include "town.h" |
23 #include "sound.h" |
|
24 #include "yapf/yapf.h" |
23 #include "yapf/yapf.h" |
25 #include "depot.h" |
24 #include "depot.h" |
26 #include "newgrf.h" |
25 #include "newgrf.h" |
27 #include "station_map.h" |
26 #include "station_map.h" |
28 #include "tunnel_map.h" |
27 #include "tunnel_map.h" |
32 #include "tunnelbridge_map.h" |
31 #include "tunnelbridge_map.h" |
33 #include "window_func.h" |
32 #include "window_func.h" |
34 #include "strings_func.h" |
33 #include "strings_func.h" |
35 #include "vehicle_func.h" |
34 #include "vehicle_func.h" |
36 #include "vehicle_base.h" |
35 #include "vehicle_base.h" |
|
36 #include "sound_func.h" |
37 |
37 |
38 |
38 |
39 #define M(x) (1 << (x)) |
39 #define M(x) (1 << (x)) |
40 /* Level crossings may only be built on these slopes */ |
40 /* Level crossings may only be built on these slopes */ |
41 static const uint32 VALID_LEVEL_CROSSING_SLOPES = (M(SLOPE_SEN) | M(SLOPE_ENW) | M(SLOPE_NWS) | M(SLOPE_NS) | M(SLOPE_WSE) | M(SLOPE_EW) | M(SLOPE_FLAT)); |
41 static const uint32 VALID_LEVEL_CROSSING_SLOPES = (M(SLOPE_SEN) | M(SLOPE_ENW) | M(SLOPE_NWS) | M(SLOPE_NS) | M(SLOPE_WSE) | M(SLOPE_EW) | M(SLOPE_FLAT)); |