src/order_cmd.cpp
changeset 9263 0f1ba0ce5839
parent 9259 088d3649dd4f
child 9280 9c03416d26b1
equal deleted inserted replaced
9262:e3fc3e8c1b23 9263:0f1ba0ce5839
    23 #include "settings_type.h"
    23 #include "settings_type.h"
    24 #include "string_func.h"
    24 #include "string_func.h"
    25 
    25 
    26 #include "table/strings.h"
    26 #include "table/strings.h"
    27 
    27 
       
    28 /* DestinationID must be at least as large as every these below, because it can
       
    29  * be any of them
       
    30  */
       
    31 assert_compile(sizeof(DestinationID) >= sizeof(DepotID));
       
    32 assert_compile(sizeof(DestinationID) >= sizeof(WaypointID));
       
    33 assert_compile(sizeof(DestinationID) >= sizeof(StationID));
       
    34 
    28 TileIndex _backup_orders_tile;
    35 TileIndex _backup_orders_tile;
    29 BackuppedOrders _backup_orders_data;
    36 BackuppedOrders _backup_orders_data;
    30 
    37 
    31 DEFINE_OLD_POOL_GENERIC(Order, Order)
    38 DEFINE_OLD_POOL_GENERIC(Order, Order)
    32 
    39