(svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost.

This commit is contained in:
alberth
2010-03-06 13:23:33 +00:00
parent 32bd795e62
commit beb46d1a7f
5 changed files with 21 additions and 12 deletions

View File

@@ -41,7 +41,7 @@ struct StationRect : public Rect {
bool PtInExtendedRect(int x, int y, int distance = 0) const;
bool IsEmpty() const;
CommandCost BeforeAddTile(TileIndex tile, StationRectMode mode);
bool BeforeAddRect(TileIndex tile, int w, int h, StationRectMode mode);
CommandCost BeforeAddRect(TileIndex tile, int w, int h, StationRectMode mode);
bool AfterRemoveTile(BaseStation *st, TileIndex tile);
bool AfterRemoveRect(BaseStation *st, TileIndex tile, int w, int h);