X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=keys.h;h=1cf6f2cb9b20fc6c4b05aff1e4f67e9435b418a6;hb=2ee589f9508dae34026d932a5140717fe6b834cc;hp=c2587aed1b3a0796f25535a1d359982386759c06;hpb=db717d093453e95a1fc005d7c884b12562d7ca9f;p=xonotic%2Fdarkplaces.git diff --git a/keys.h b/keys.h index c2587aed..1cf6f2cb 100644 --- a/keys.h +++ b/keys.h @@ -367,17 +367,18 @@ extern keydest_t key_dest; extern int key_consoleactive; extern char *keybindings[MAX_BINDMAPS][MAX_KEYS]; -extern void Key_ClearEditLine(int edit_line); extern int chat_mode; // 0 for say, 1 for say_team, -1 for command extern char chat_buffer[MAX_INPUTLINE]; extern unsigned int chat_bufferlen; +void Key_ClearEditLine(int edit_line); void Key_WriteBindings(qfile_t *f); void Key_Init(void); void Key_Shutdown(void); void Key_Init_Cvars(void); void Key_Event(int key, int ascii, qboolean down); -void Key_ClearStates (void); +void Key_ReleaseAll (void); +void Key_ReleaseAll_f(cmd_state_t *cmd); void Key_EventQueue_Block(void); void Key_EventQueue_Unblock(void);