forked from mirror/OpenTTD
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
This commit is contained in:
@@ -1638,6 +1638,11 @@ void MarkAllViewportsDirty(int left, int top, int right, int bottom)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Mark a tile given by its index dirty for repaint.
|
||||
* @param tile The tile to mark dirty.
|
||||
* @ingroup dirty
|
||||
*/
|
||||
void MarkTileDirtyByTile(TileIndex tile)
|
||||
{
|
||||
Point pt = RemapCoords(TileX(tile) * TILE_SIZE, TileY(tile) * TILE_SIZE, GetTileZ(tile));
|
||||
|
Reference in New Issue
Block a user