summaryrefslogtreecommitdiff
path: root/src/i_timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_timer.h')
-rw-r--r--src/i_timer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i_timer.h b/src/i_timer.h
index d90094c8..56810468 100644
--- a/src/i_timer.h
+++ b/src/i_timer.h
@@ -28,6 +28,8 @@
#ifndef __I_TIMER__
#define __I_TIMER__
+#define TICRATE 35
+
// Called by D_DoomLoop,
// returns current time in tics.
int I_GetTime (void);
@@ -41,5 +43,8 @@ void I_Sleep(int ms);
// Initialize timer
void I_InitTimer(void);
+// Wait for vertical retrace or pause a bit.
+void I_WaitVBL(int count);
+
#endif