diff options
Diffstat (limited to 'src/client/cl_keys.c')
-rw-r--r-- | src/client/cl_keys.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/client/cl_keys.c b/src/client/cl_keys.c index 66597427..d9fc9946 100644 --- a/src/client/cl_keys.c +++ b/src/client/cl_keys.c @@ -1015,6 +1015,18 @@ void Key_Bindlist_f( void ) { } /* +============ +Key_KeynameCompletion +============ +*/ +void Key_KeynameCompletion( void(*callback)(const char *s) ) { + int i; + + for( i = 0; keynames[ i ].name != NULL; i++ ) + callback( keynames[ i ].name ); +} + +/* =================== CL_InitKeyCommands =================== |