summaryrefslogtreecommitdiff
path: root/include/game.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-12-18 20:17:16 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2022-12-18 20:17:16 +0100
commite917400634a535c6c14afc4e37a759f7c777b73a (patch)
tree5c8a5de1c6c09985395fbfb660a27500a65d1de0 /include/game.h
parent3e825971102a33dfbb82a20a365684d413bc1ba8 (diff)
server tick rate
Diffstat (limited to 'include/game.h')
-rw-r--r--include/game.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/game.h b/include/game.h
index faf2bc9..cc9d0cd 100644
--- a/include/game.h
+++ b/include/game.h
@@ -7,6 +7,8 @@
#include "../include/players.h"
#include "../include/game.h"
+#define SERVER_TICK_RATE (1.0f/60.0f)
+
typedef enum t_game_state {
GAMESTATE_IDLE,
GAMESTATE_LOADING_MAP,