summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
index 223278006..6101c4f7a 100644
--- a/src/game.h
+++ b/src/game.h
@@ -26,6 +26,16 @@ class InputHandler;
class ChatBackend; /* to avoid having to include chat.h */
struct SubgameSpec;
+struct Jitter {
+ f32 max, min, avg, counter, max_sample, min_sample, max_fraction;
+};
+
+struct RunStats {
+ u32 drawtime;
+
+ Jitter dtime_jitter, busy_time_jitter;
+};
+
void the_game(bool *kill,
bool random_input,
InputHandler *input,