]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.h
Fix remaining warnings
[xonotic/darkplaces.git] / keys.h
diff --git a/keys.h b/keys.h
index 7841e9d007df0354807ad4664fb96ca807907e8e..6c10a6f12810d337a876bea01f634a378176c84d 100644 (file)
--- a/keys.h
+++ b/keys.h
@@ -369,17 +369,20 @@ extern    char            *keybindings[MAX_BINDMAPS][MAX_KEYS];
 
 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;
+extern int     chat_bufferpos;
 
-void Key_ClearEditLine(int edit_line);
+int Key_ClearEditLine(qboolean is_console);
 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_ReleaseAll (void);
+void Key_ReleaseAll_f(cmd_state_t *cmd);
 void Key_EventQueue_Block(void);
 void Key_EventQueue_Unblock(void);
+int Key_AddChar(int unicode, qboolean is_console);
+int Key_Parse_CommonKeys(cmd_state_t *cmd, qboolean is_console, int key, int unicode);
 
 qboolean Key_SetBinding (int keynum, int bindmap, const char *binding);
 const char *Key_GetBind (int key, int bindmap);