home *** CD-ROM | disk | FTP | other *** search
/ Enter 2005 March / ENTER.ISO / files / fwp-0.0.6-win32-installer.exe / InputInfo.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-12-06  |  742 b   |  37 lines

  1. #ifndef __InputInfo_h__
  2. #define __InputInfo_h__
  3.  
  4. #include "SubSystemInfo.h"
  5. #include "CVar.h"
  6. #include "InputCCmds.h"
  7.  
  8.  
  9. typedef struct InputInfoVar_s{
  10.  
  11. }InputInfoVar_t;
  12.  
  13. typedef struct InputInfoCVar_s{
  14.     CVarReal* input_mouse_sensitivity;
  15. }InputInfoCVar_t;
  16.  
  17. typedef struct InputInfoCCmd_s{
  18.     CCmdInputBind* input_bind;
  19.     CCmdInputUnbind* input_unbind;
  20.     CCmdInputBindlist* input_bindList;
  21.     CCmdInputGrabMouse* input_grabMouse;
  22.     CCmdInputFreeMouse* input_freeMouse;
  23. }InputInfoCCmd_t;
  24.  
  25.  
  26. class InputInfo{
  27. public:
  28.     static InputInfoVar_t var;
  29.     static InputInfoCVar_t cvar;
  30.     static InputInfoCCmd_t ccmd;
  31.  
  32.     static bool registerCVarsAndCCmds();
  33.     static bool unregisterCVarsAndCCmds();
  34. };
  35.  
  36. #endif    /* __InputInfo_h__ */
  37.