src/waypoint.h
changeset 8775 fd5e36ec9f6c
parent 8769 b554c4996eb1
child 8962 1b263c69799d
equal deleted inserted replaced
8774:76293e58774e 8775:fd5e36ec9f6c
     3 /** @file waypoint.h */
     3 /** @file waypoint.h */
     4 
     4 
     5 #ifndef WAYPOINT_H
     5 #ifndef WAYPOINT_H
     6 #define WAYPOINT_H
     6 #define WAYPOINT_H
     7 
     7 
       
     8 #include "waypoint_type.h"
     8 #include "oldpool.h"
     9 #include "oldpool.h"
     9 #include "rail_map.h"
    10 #include "rail_map.h"
    10 #include "command_type.h"
    11 #include "command_type.h"
    11 #include "station_type.h"
    12 #include "station_type.h"
    12 
    13 
    13 struct Waypoint;
       
    14 DECLARE_OLD_POOL(Waypoint, Waypoint, 3, 8000)
    14 DECLARE_OLD_POOL(Waypoint, Waypoint, 3, 8000)
    15 
    15 
    16 struct Waypoint : PoolItem<Waypoint, WaypointID, &_Waypoint_pool> {
    16 struct Waypoint : PoolItem<Waypoint, WaypointID, &_Waypoint_pool> {
    17 	TileIndex xy;      ///< Tile of waypoint
    17 	TileIndex xy;      ///< Tile of waypoint
    18 
    18