Go to the source code of this file.
Classes | |
| struct | keyname_t |
Macros | |
| #define | MAXCMDLINE 256 |
Functions | |
| void | CompleteCommand (void) |
| void | Key_Console (int key) |
| void | Key_Message (int key) |
| int | Key_StringToKeynum (char *str) |
| char * | Key_KeynumToString (int keynum) |
| void | Key_SetBinding (int keynum, char *binding) |
| void | Key_Unbind_f (void) |
| void | Key_Unbindall_f (void) |
| void | Key_Bind_f (void) |
| void | Key_WriteBindings (FILE *f) |
| void | Key_Bindlist_f (void) |
| void | Key_Init (void) |
| void | Key_Event (int key, qboolean down, unsigned time) |
| void | Key_ClearStates (void) |
| int | Key_GetKey (void) |
Variables | |
| char | key_lines [128][MAXCMDLINE] |
| int | key_linepos |
| int | shift_down =false |
| int | anykeydown |
| int | edit_line =0 |
| int | history_line =0 |
| int | key_waiting |
| char * | keybindings [256] |
| qboolean | consolekeys [256] |
| qboolean | menubound [256] |
| int | keyshift [256] |
| int | key_repeats [256] |
| qboolean | keydown [256] |
| keyname_t | keynames [] |
| qboolean | chat_team |
| char | chat_buffer [MAXCMDLINE] |
| int | chat_bufferlen = 0 |
Definition at line 196 of file keys.c.
Referenced by Key_Event().
Definition at line 744 of file keys.c.
Referenced by IN_Commands(), IN_MouseEvent(), Key_ClearStates(), and MainWndProc().
| char* Key_KeynumToString | ( | int | keynum | ) |
Definition at line 479 of file keys.c.
Referenced by CL_DrawInventory(), DrawKeyBindingFunc(), Key_Bindlist_f(), Key_Event(), Key_WriteBindings(), and Keys_MenuKey().
Definition at line 506 of file keys.c.
Referenced by Key_Bind_f(), Key_Unbind_f(), Key_Unbindall_f(), and M_UnbindCommand().
| int Key_StringToKeynum | ( | char * | str | ) |
| void Key_WriteBindings | ( | FILE * | f | ) |
| int anykeydown |
Definition at line 34 of file keys.c.
Referenced by CL_FinishMove(), Key_ClearStates(), and Key_Event().
| char chat_buffer[MAXCMDLINE] |
Definition at line 392 of file keys.c.
Referenced by Con_DrawNotify(), and Key_Message().
| int chat_bufferlen = 0 |
Definition at line 393 of file keys.c.
Referenced by Con_DrawNotify(), and Key_Message().
| qboolean chat_team |
Definition at line 391 of file keys.c.
Referenced by Con_DrawNotify(), Con_MessageMode2_f(), Con_MessageMode_f(), and Key_Message().
| qboolean consolekeys[256] |
Definition at line 41 of file keys.c.
Referenced by Key_Event(), and Key_Init().
| int edit_line =0 |
Definition at line 36 of file keys.c.
Referenced by CompleteCommand(), Con_DrawInput(), Key_ClearTyping(), and Key_Console().
| int history_line =0 |
Definition at line 37 of file keys.c.
Referenced by Key_Console().
| int key_linepos |
Definition at line 32 of file keys.c.
Referenced by CompleteCommand(), Con_DrawInput(), Key_ClearTyping(), Key_Console(), and Key_Init().
| char key_lines[128][MAXCMDLINE] |
Definition at line 31 of file keys.c.
Referenced by CompleteCommand(), Con_DrawInput(), Key_ClearTyping(), Key_Console(), and Key_Init().
| int key_repeats[256] |
Definition at line 44 of file keys.c.
Referenced by Key_ClearStates(), and Key_Event().
| int key_waiting |
Definition at line 39 of file keys.c.
Referenced by Key_Event(), and Key_GetKey().
| char* keybindings[256] |
Definition at line 40 of file keys.c.
Referenced by CL_DrawInventory(), Key_Bind_f(), Key_Bindlist_f(), Key_Event(), Key_SetBinding(), Key_Unbindall_f(), Key_WriteBindings(), M_FindKeysForCommand(), and M_UnbindCommand().
| qboolean keydown[256] |
Definition at line 45 of file keys.c.
Referenced by Field_Key(), Key_ClearStates(), Key_Console(), and Key_Event().
| keyname_t keynames[] |
Definition at line 53 of file keys.c.
Referenced by Key_KeynumToString(), and Key_StringToKeynum().
| int keyshift[256] |
Definition at line 43 of file keys.c.
Referenced by Key_Event(), and Key_Init().
| qboolean menubound[256] |
Definition at line 42 of file keys.c.
Referenced by Key_Event(), and Key_Init().
Definition at line 33 of file keys.c.
Referenced by Key_Event().