engine: client: keys: refactoring, remove NULL sentinels, make keys structs and few more functions private to keys.c file

This commit is contained in:
Alibek Omarov
2024-12-21 15:22:44 +03:00
parent af4b64983a
commit 1dd622fcbb
5 changed files with 46 additions and 69 deletions

View File

@@ -1197,10 +1197,9 @@ void Key_Init( void );
void Key_WriteBindings( file_t *f );
const char *Key_GetBinding( int keynum );
void Key_SetBinding( int keynum, const char *binding );
const char *Key_LookupBinding( const char *pBinding );
void Key_ClearStates( void );
const char *Key_KeynumToString( int keynum );
int Key_StringToKeynum( const char *str );
int Key_GetKey( const char *binding );
void Key_EnumCmds_f( void );
void Key_SetKeyDest( int key_dest );
void Key_EnableTextInput( qboolean enable, qboolean force );