src/waypoint.h
changeset 9271 53e93ef75071
parent 9265 3988d0156a49
child 10222 b6919c94cc77
equal deleted inserted replaced
9270:54cae230092d 9271:53e93ef75071
     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