equal
deleted
inserted
replaced
71 MarkTileDirtyByTile(tile + TileDiffXY(0, 1)); |
71 MarkTileDirtyByTile(tile + TileDiffXY(0, 1)); |
72 MarkTileDirtyByTile(tile + TileDiffXY(1, 0)); |
72 MarkTileDirtyByTile(tile + TileDiffXY(1, 0)); |
73 MarkTileDirtyByTile(tile + TileDiffXY(1, 1)); |
73 MarkTileDirtyByTile(tile + TileDiffXY(1, 1)); |
74 } |
74 } |
75 |
75 |
76 extern int32 CheckFlatLandBelow(TileIndex tile, uint w, uint h, uint flags, uint invalid_dirs, StationID* station); |
76 extern int32 CheckFlatLandBelow(TileIndex tile, uint w, uint h, uint flags, uint invalid_dirs, StationID* station, bool check_clear = true); |
77 |
77 |
78 /** Build or relocate the HQ. This depends if the HQ is already built or not |
78 /** Build or relocate the HQ. This depends if the HQ is already built or not |
79 * @param tile tile where the HQ will be built or relocated to |
79 * @param tile tile where the HQ will be built or relocated to |
80 * @param flags type of operation |
80 * @param flags type of operation |
81 * @param p1 unused |
81 * @param p1 unused |
318 MoveGoodsToStation(tile, 2, 2, CT_MAIL, amt); |
318 MoveGoodsToStation(tile, 2, 2, CT_MAIL, amt); |
319 } |
319 } |
320 } |
320 } |
321 |
321 |
322 |
322 |
323 static uint32 GetTileTrackStatus_Unmovable(TileIndex tile, TransportType mode) |
323 static uint32 GetTileTrackStatus_Unmovable(TileIndex tile, TransportType mode, uint sub_mode) |
324 { |
324 { |
325 return 0; |
325 return 0; |
326 } |
326 } |
327 |
327 |
328 static void ClickTile_Unmovable(TileIndex tile) |
328 static void ClickTile_Unmovable(TileIndex tile) |