(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman.

This commit is contained in:
rubidium
2007-09-09 10:13:17 +00:00
parent ef4d248325
commit 65f9a0f21a
14 changed files with 187 additions and 10 deletions

View File

@@ -183,6 +183,15 @@ static CommandCost RemoveShiplift(TileIndex tile, uint32 flags)
return CommandCost(_price.clear_water * 2);
}
/**
* Marks the tiles around a tile as dirty.
*
* This functions marks the tiles around a given tile as dirty for repaint.
*
* @param tile The center of the tile where all other tiles are marked as dirty
* @ingroup dirty
* @see TerraformAddDirtyTileAround
*/
static void MarkTilesAroundDirty(TileIndex tile)
{
MarkTileDirtyByTile(TILE_ADDXY(tile, 0, 1));