@@ -137,13 +137,14 @@ RoadStop *Station::GetPrimaryRoadStop(co
break;
}
return rs;
/** Called when new facility is built on the station. If it is the first facility
/**
* Called when new facility is built on the station. If it is the first facility
* it initializes also 'xy' and 'random_bits' members */
void Station::AddFacility(StationFacility new_facility_bit, TileIndex facil_xy)
{
if (this->facilities == FACIL_NONE) {
this->xy = facil_xy;
this->random_bits = Random();
@@ -214,13 +215,14 @@ void Station::MarkTilesDirty(bool cargo_
tile += TileOffsByDiagDir(dir);
} while (IsCompatibleTrainStationTile(tile, start_tile));
return length;
/** Determines the catchment radius of the station
* Determines the catchment radius of the station
* @return The radius
*/
uint Station::GetCatchmentRadius() const
uint ret = CA_NONE;