From df434e3163511936572a7f6e71e2abeb9738e3e7 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 7 Oct 2007 23:43:14 +0000 Subject: fixed more responsive input handling --- src/game/game_protocol.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/game/game_protocol.h') diff --git a/src/game/game_protocol.h b/src/game/game_protocol.h index 56156e24..0300c88a 100644 --- a/src/game/game_protocol.h +++ b/src/game/game_protocol.h @@ -58,6 +58,11 @@ enum EMOTE_BLINK, }; +enum +{ + INPUT_STATE_MASK=0x1f, +}; + enum { STATE_UNKNOWN=0, @@ -82,9 +87,9 @@ struct player_input int fire; int hook; int blink; - int activeweapon; int state; + int wanted_weapon; int next_weapon; int prev_weapon; }; -- cgit 1.4.1