summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-09 10:13:17 +0000
committerrubidium <rubidium@openttd.org>2007-09-09 10:13:17 +0000
commit0ca9fd7dc2ff8077c188e000b7569e3ff1072301 (patch)
tree43502b2af33d4a35c7e2e2fbd6f29b3cc60b4ba8 /src/town_cmd.cpp
parent10ea6cd13c576d2a339d1ac65c8c53d0abdb16be (diff)
downloadopenttd-0ca9fd7dc2ff8077c188e000b7569e3ff1072301.tar.xz
(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman.
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r--src/town_cmd.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index 5759189d2..c2d87cb6c 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -256,8 +256,12 @@ static bool IsCloseToTown(TileIndex tile, uint dist)
}
/**
- * Marks the town sign as needing a repaint
- * @param t Town requesting repaint
+ * Marks the town sign as needing a repaint.
+ *
+ * This function marks the area of the sign of a town as dirty for repaint.
+ *
+ * @param t Town requesting town sign for repaint
+ * @ingroup dirty
*/
static void MarkTownSignDirty(Town *t)
{