(svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints.

This commit is contained in:
rubidium
2009-07-17 19:44:13 +00:00
parent 869fb4fa78
commit 84df3ba2b4
6 changed files with 118 additions and 61 deletions

View File

@@ -44,6 +44,11 @@ Station::Station(TileIndex tile) :
/* this->random_bits is set in Station::AddFacility() */
}
/* static */ BaseStation *BaseStation::GetByTile(TileIndex tile)
{
return Station::GetByTile(tile);
}
/**
* Clean up a station by clearing vehicle orders and invalidating windows.
* Aircraft-Hangar orders need special treatment here, as the hangars are