about summary refs log tree commit diff
path: root/src/game/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.h')
-rw-r--r--src/game/game.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/game.h b/src/game/game.h
index 81510c93..e2da27dc 100644
--- a/src/game/game.h
+++ b/src/game/game.h
@@ -62,6 +62,14 @@ enum
 	EMOTE_HAPPY,
 };
 
+enum
+{
+	STATE_UNKNOWN=0,
+	STATE_PLAYING,
+	STATE_IN_MENU,
+	STATE_CHATTING,
+};
+
 struct player_input
 {
 	int left;
@@ -75,6 +83,7 @@ struct player_input
 	int hook;
 	int blink;
 	int activeweapon;
+	int state;
 };
 
 
@@ -141,6 +150,7 @@ struct obj_player
 {
 	int local;
 	int clientid;
+	int state;
 
 	int health;
 	int armor;