(svn r16851) -Codechange: use StationSpecList in waypoint too

This commit is contained in:
rubidium
2009-07-16 20:29:08 +00:00
parent 5a38d8e007
commit 8f4ad741aa
5 changed files with 34 additions and 38 deletions

View File

@@ -8,7 +8,7 @@
#include "waypoint_type.h"
#include "rail_map.h"
#include "command_type.h"
#include "station_type.h"
#include "station_base.h"
#include "town_type.h"
#include "viewport_type.h"
#include "date_type.h"
@@ -29,9 +29,7 @@ struct Waypoint : WaypointPool::PoolItem<&_waypoint_pool> {
Date build_date; ///< Date of construction
OwnerByte owner; ///< Whom this waypoint belongs to
byte stat_id; ///< ID of waypoint within the waypoint class (not saved)
uint32 grfid; ///< ID of GRF file
byte localidx; ///< Index of station within GRF file
StationSpecList spec; ///< NewGRF specification of the station
byte delete_ctr; ///< Delete counter. If greater than 0 then it is decremented until it reaches 0; the waypoint is then is deleted.