(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

@@ -1440,6 +1440,14 @@ void UpdateViewportPosition(Window *w)
}
}
/**
* Marks a viewport as dirty for repaint.
*
* @param vp The viewport to mark as dirty
* @todo documents the missing parameters @c left, @c top, @c right and @c bottom
* @todo detailed description missing
* @ingroup dirty
*/
static void MarkViewportDirty(const ViewPort *vp, int left, int top, int right, int bottom)
{
right -= vp->virtual_left;
@@ -1505,6 +1513,14 @@ void MarkTileDirty(int x, int y)
);
}
/**
* Marks the selected tiles as dirty.
*
* This function marks the selected tiles as dirty for repaint
*
* @note Documentation may be wrong (Progman)
* @ingroup dirty
*/
static void SetSelectionTilesDirty()
{
int y_size, x_size;