diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-10-02 14:14:45 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-10-02 14:14:45 +0000 |
commit | 6bf8f279665d5d006159fb9fc180984c644ed875 (patch) | |
tree | 89d03c71398ee4e20b2b9b08bbe4f565074a904f /code/client/client.h | |
parent | 89f707ad9cefdebda05d6f019f584be159f740a7 (diff) | |
download | ioquake3-aero-6bf8f279665d5d006159fb9fc180984c644ed875.tar.gz ioquake3-aero-6bf8f279665d5d006159fb9fc180984c644ed875.zip |
* Fix bug that prevented key up events getting to cgame/ui when not in game
* Use Key_[GS]etCatcher everywhere to set keycatcher
* Clear all key states when the catcher changes
git-svn-id: svn://svn.icculus.org/quake3/trunk@1189 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client/client.h')
-rw-r--r-- | code/client/client.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/code/client/client.h b/code/client/client.h index 936f906..b68b518 100644 --- a/code/client/client.h +++ b/code/client/client.h @@ -270,7 +270,6 @@ typedef struct { typedef struct { connstate_t state; // connection status - int keyCatchers; // bit flags qboolean cddialog; // bring up the cd needed dialog next frame @@ -442,6 +441,8 @@ void CL_VerifyCode( void ); float CL_KeyState (kbutton_t *key); char *Key_KeynumToString (int keynum); +int Key_GetCatcher( void ); +void Key_SetCatcher( int catcher ); // // cl_parse.c |