#include <keyman.h>
Collaboration diagram for KEYMAN:

Public Member Functions | |
| int | GetKey (string kn) |
| string | GetKeyName (int kc) |
| void | KeyDown (int key) |
| void | KeyUp (int key) |
| void | OneTime (int key) |
| KEYMAN () | |
| ~KEYMAN () | |
| void | Load () |
| void | DoOneTimeKeys (CAMERA &cam) |
| void | DoHeldKeys (float timefactor, float fps, CAMERA &cam) |
Public Attributes | |
| int | num_keyrecs |
| KEYREC | keyrec [MAX_KEY_RECS] |
| bool | keys [1024] |
| bool | lastkeys [1024] |
| int | queuedepth |
| int | queue [MAX_ONE_TIME_KEY_DEPTH] |
| bool | freecam |
Private Attributes | |
| ofstream | error_log |
Definition at line 24 of file keyman.h.
|
|
Definition at line 42 of file keyman.cpp. References keys. |
|
|
Definition at line 95 of file keyman.cpp. References error_log, and verbose_output. |
|
||||||||||||||||
|
Definition at line 122 of file keyman.cpp. References cam, freecam, GetKey(), CAMERA::GetPosition(), keys, CAMERA::MoveRelative(), VERTEX::Scale(), CAMERA::SetPosition(), VERTEX::x, VERTEX::y, and VERTEX::z. Referenced by Update(). |
|
|
Definition at line 103 of file keyman.cpp. References keys, lastkeys, and queuedepth. Referenced by Update(). |
|
|
Definition at line 81 of file keyman.cpp. References KEYREC::key, keyrec, KEYREC::name, and num_keyrecs. Referenced by DoHeldKeys(). |
|
|
Definition at line 156 of file keyman.cpp. References keyrec, and num_keyrecs. Referenced by VGUI::ControlGrab::GrabKey(). |
|
|
Definition at line 22 of file keyman.cpp. References keys. |
|
|
Definition at line 27 of file keyman.cpp. References keys. |
|
|
Definition at line 54 of file keyman.cpp. References error_log, SETTINGS::GetDataDir(), SETTINGS::GetSettingsDir(), UTILITY::iGetParam(), KEYREC::key, keyrec, num_keyrecs, settings, sGetParamNW(), and utility. Referenced by InitGameData(). |
|
|
Definition at line 32 of file keyman.cpp. References MAX_ONE_TIME_KEY_DEPTH, queue, and queuedepth. Referenced by handleKeyRelease(). |
|
|
|
|
|
Definition at line 45 of file keyman.h. Referenced by DoHeldKeys(), and VAMOSWORLD::SetCameraMode(). |
|
|
Definition at line 31 of file keyman.h. Referenced by GetKey(), GetKeyName(), and Load(). |
|
|
Definition at line 35 of file keyman.h. Referenced by DoHeldKeys(), DoOneTimeKeys(), KeyDown(), KEYMAN(), and KeyUp(). |
|
|
Definition at line 36 of file keyman.h. Referenced by DoOneTimeKeys(). |
|
|
Definition at line 30 of file keyman.h. Referenced by GetKey(), GetKeyName(), and Load(). |
|
|
Definition at line 42 of file keyman.h. Referenced by OneTime(). |
|
|
Definition at line 41 of file keyman.h. Referenced by DoOneTimeKeys(), and OneTime(). |
1.4.6