(svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there
This commit is contained in:
@@ -66,6 +66,12 @@ public:
|
||||
return GetAirport(airport_type);
|
||||
}
|
||||
|
||||
const AirportSpec *GetAirportSpec() const
|
||||
{
|
||||
if (airport_tile == INVALID_TILE) return &AirportSpec::dummy;
|
||||
return AirportSpec::Get(this->airport_type);
|
||||
}
|
||||
|
||||
RoadStop *bus_stops; ///< All the road stops
|
||||
TileArea bus_station; ///< Tile area the bus 'station' part covers
|
||||
RoadStop *truck_stops; ///< All the truck stops
|
||||
|
Reference in New Issue
Block a user