about summary refs log tree commit diff
path: root/src/game/game.h
diff options
context:
space:
mode:
authorJoel de Vahl <joel@stalverk80.se>2007-07-26 11:33:49 +0000
committerJoel de Vahl <joel@stalverk80.se>2007-07-26 11:33:49 +0000
commit30a027a0dab9e0ef82f23da8a91d7692cb7fad8a (patch)
tree63f8f8ef3ab0c6337b0ed96bfb33cfe047e2bc10 /src/game/game.h
parentf946cc6f5ff2f93fb681c960093c5e4525006fd8 (diff)
downloadzcatch-30a027a0dab9e0ef82f23da8a91d7692cb7fad8a.tar.gz
zcatch-30a027a0dab9e0ef82f23da8a91d7692cb7fad8a.zip
Chat bubble.
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;