From c6a9027b7cf0d35401cae346b67ca95c5f55b4a1 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 3 Nov 2007 00:06:23 +0000 Subject: * Merge ioq3-r1204 --- src/client/cl_keys.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/client') 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 @@ -1014,6 +1014,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 -- cgit