(svn r16862) -Codechange: make waypoints use the same system of station station spec lists.

This commit is contained in:
rubidium
2009-07-17 20:40:29 +00:00
parent 72d6c3a9ad
commit c9cab7ba19
4 changed files with 35 additions and 17 deletions

View File

@@ -28,7 +28,8 @@ struct Waypoint : WaypointPool::PoolItem<&_waypoint_pool> {
Date build_date; ///< Date of construction
OwnerByte owner; ///< Whom this waypoint belongs to
StationSpecList spec; ///< NewGRF specification of the station
uint8 num_specs; ///< NOSAVE: Number of specs in the speclist
StationSpecList *speclist; ///< List of station specs of this station
byte delete_ctr; ///< Delete counter. If greater than 0 then it is decremented until it reaches 0; the waypoint is then is deleted.