summaryrefslogtreecommitdiff
path: root/src/station.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
commit65f9a0f21a1379107683f7b5f2fc0c82f22a4cb6 (patch)
tree43502b2af33d4a35c7e2e2fbd6f29b3cc60b4ba8 /src/station.h
parentef4d248325114b5cc3fb864f7105b44a7784be50 (diff)
downloadopenttd-65f9a0f21a1379107683f7b5f2fc0c82f22a4cb6.tar.xz
(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman.
Diffstat (limited to 'src/station.h')
-rw-r--r--src/station.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/station.h b/src/station.h
index bbae591d6..fefca32fa 100644
--- a/src/station.h
+++ b/src/station.h
@@ -173,7 +173,19 @@ public:
virtual ~Station();
void AddFacility(byte new_facility_bit, TileIndex facil_xy);
+
+ /**
+ * Mark the sign of a station dirty for repaint.
+ *
+ * @ingroup dirty
+ */
void MarkDirty() const;
+
+ /**
+ * Marks the tiles of the station as dirty.
+ *
+ * @ingroup dirty
+ */
void MarkTilesDirty(bool cargo_change) const;
bool TileBelongsToRailStation(TileIndex tile) const;
uint GetPlatformLength(TileIndex tile, DiagDirection dir) const;