summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index b81b06e39..f5f9734c3 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -678,7 +678,7 @@ public:
/**
* Called once per (game) tick.
*/
- virtual void OnTick() {}
+ virtual void OnGameTick() {}
/**
* Called once every 100 (game) ticks.
@@ -686,6 +686,11 @@ public:
virtual void OnHundredthTick() {}
/**
+ * Called periodically.
+ */
+ virtual void OnRealtimeTick(uint delta_ms) {}
+
+ /**
* Called when this window's timeout has been reached.
*/
virtual void OnTimeout() {}