src/road_cmd.cpp
changeset 8114 dd6d21dc99c1
parent 8108 b42a0e5c67ef
child 8116 8da76dcb3287
equal deleted inserted replaced
8113:31b7784db761 8114:dd6d21dc99c1
    11 #include "road_map.h"
    11 #include "road_map.h"
    12 #include "road_internal.h"
    12 #include "road_internal.h"
    13 #include "sprite.h"
    13 #include "sprite.h"
    14 #include "table/sprites.h"
    14 #include "table/sprites.h"
    15 #include "table/strings.h"
    15 #include "table/strings.h"
    16 #include "strings.h"
       
    17 #include "functions.h"
    16 #include "functions.h"
    18 #include "map.h"
    17 #include "map.h"
    19 #include "landscape.h"
    18 #include "landscape.h"
    20 #include "town_map.h"
    19 #include "town_map.h"
    21 #include "vehicle.h"
    20 #include "vehicle.h"
    33 #include "misc/autoptr.hpp"
    32 #include "misc/autoptr.hpp"
    34 #include "autoslope.h"
    33 #include "autoslope.h"
    35 #include "transparency.h"
    34 #include "transparency.h"
    36 #include "tunnelbridge_map.h"
    35 #include "tunnelbridge_map.h"
    37 #include "window_func.h"
    36 #include "window_func.h"
       
    37 #include "strings_func.h"
    38 
    38 
    39 
    39 
    40 #define M(x) (1 << (x))
    40 #define M(x) (1 << (x))
    41 /* Level crossings may only be built on these slopes */
    41 /* Level crossings may only be built on these slopes */
    42 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));
    42 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));