src/waypoint.h
branchNewGRF_ports
changeset 6800 6c09e1e86fcb
parent 6743 cabfaa4a0295
child 6868 7eb395287b3d
equal deleted inserted replaced
6799:2adc1052a548 6800:6c09e1e86fcb
    27 
    27 
    28 	byte deleted;      ///< Delete counter. If greater than 0 then it is decremented until it reaches 0; the waypoint is then is deleted.
    28 	byte deleted;      ///< Delete counter. If greater than 0 then it is decremented until it reaches 0; the waypoint is then is deleted.
    29 
    29 
    30 	Waypoint(TileIndex tile = 0);
    30 	Waypoint(TileIndex tile = 0);
    31 	~Waypoint();
    31 	~Waypoint();
    32 
       
    33 	void QuickFree();
       
    34 
    32 
    35 	bool IsValid() const;
    33 	bool IsValid() const;
    36 };
    34 };
    37 
    35 
    38 static inline bool IsValidWaypointID(WaypointID index)
    36 static inline bool IsValidWaypointID(WaypointID index)