summaryrefslogtreecommitdiff
path: root/src/vehicle.h
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/vehicle.h
parent10ea6cd13c576d2a339d1ac65c8c53d0abdb16be (diff)
downloadopenttd-0ca9fd7dc2ff8077c188e000b7569e3ff1072301.tar.xz
(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman.
Diffstat (limited to 'src/vehicle.h')
-rw-r--r--src/vehicle.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vehicle.h b/src/vehicle.h
index c9a805593..509a87e4c 100644
--- a/src/vehicle.h
+++ b/src/vehicle.h
@@ -384,6 +384,11 @@ public:
/**
* Marks the vehicles to be redrawn and updates cached variables
+ *
+ * This method marks the area of the vehicle on the screen as dirty.
+ * It can be use to repaint the vehicle.
+ *
+ * @ingroup dirty
*/
virtual void MarkDirty() {}