From: cloudwalk Date: Tue, 29 Sep 2020 19:19:04 +0000 (+0000) Subject: client: Move keys prototypes to keys.h X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=624b35e75cbee292596182e7fc36e8e056590638;p=xonotic%2Fdarkplaces.git client: Move keys prototypes to keys.h git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12968 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/client.h b/client.h index d1673500..5de21ca8 100644 --- a/client.h +++ b/client.h @@ -1539,8 +1539,6 @@ extern int cl_ignoremousemoves; float CL_KeyState (kbutton_t *key); -const char *Key_KeynumToString (int keynum, char *buf, size_t buflength); -int Key_StringToKeynum (const char *str); // // cl_cmd.c diff --git a/keys.h b/keys.h index baf1b9a1..f6b78cd0 100644 --- a/keys.h +++ b/keys.h @@ -27,6 +27,7 @@ #ifndef __KEYS_H #define __KEYS_H +#include #include "qtypes.h" #include "qdefs.h" #include "fs.h" @@ -392,6 +393,8 @@ const char *Key_GetBind (int key, int bindmap); void Key_FindKeysForCommand (const char *command, int *keys, int numkeys, int bindmap); qbool Key_SetBindMap(int fg, int bg); void Key_GetBindMap(int *fg, int *bg); +const char *Key_KeynumToString (int keynum, char *buf, size_t buflength); +int Key_StringToKeynum (const char *str); #endif // __KEYS_H