Codechange: Move some common code after adding/removing tiles to a station to its own function.

This commit is contained in:
Juanjo
2012-12-31 16:34:21 +01:00
committed by Michael Lutz
parent 6ca637b8c1
commit 45ce517105
2 changed files with 47 additions and 40 deletions

View File

@@ -483,6 +483,8 @@ public:
void UpdateVirtCoord();
void AfterStationTileSetChange(bool adding, StationType type);
/* virtual */ uint GetPlatformLength(TileIndex tile, DiagDirection dir) const;
/* virtual */ uint GetPlatformLength(TileIndex tile) const;
void RecomputeIndustriesNear();