#include <CInput.h>

Public Member Functions | |
| CInput (void) | |
| ~CInput (void) | |
| void | SetWindowHandle (HWND hWnd) |
| Set the window whose input should be received. | |
| void | SetInstanceHandle (HINSTANCE hInstance) |
| Set the instance of the application. | |
| void | SetOptions (COptions *pOptions) |
| Set link to options object to use. | |
| void | SetTimer (CTimer *pTimer) |
| Set link to timer object to use. | |
| bool | Create (void) |
| Initialize the object. | |
| void | Destroy (void) |
| Uninitialize the object. | |
| CMainInput & | GetMainInput (void) |
| CSDLInput & | GetDirectInput (void) |
| CPlayerInput & | GetPlayerInput (int PlayerInput) |
| int | GetPlayerInputCount (void) |
Private Attributes | |
| COptions * | m_pOptions |
| Link to options object to use. | |
| CTimer * | m_pTimer |
| Link to timer object to use. | |
| CSDLInput | m_DirectInput |
| SDLInput object managing the DirectInput interface. | |
| CMainInput | m_MainInput |
| The main input device. | |
| CPlayerInput * | m_PlayerInput |
| Dynamically allocated array of player input devices. | |
| CInput::CInput | ( | void | ) |

| CInput::~CInput | ( | void | ) |
| void CInput::SetWindowHandle | ( | HWND | hWnd | ) | [inline] |
Set the window whose input should be received.


| void CInput::SetInstanceHandle | ( | HINSTANCE | hInstance | ) | [inline] |
Set the instance of the application.


| void CInput::SetOptions | ( | COptions * | pOptions | ) | [inline] |
Set link to options object to use.

| void CInput::SetTimer | ( | CTimer * | pTimer | ) | [inline] |
Set link to timer object to use.


| bool CInput::Create | ( | void | ) |
Initialize the object.


| void CInput::Destroy | ( | void | ) |
Uninitialize the object.


| CMainInput & CInput::GetMainInput | ( | void | ) | [inline] |
| CSDLInput & CInput::GetDirectInput | ( | void | ) | [inline] |
| CPlayerInput & CInput::GetPlayerInput | ( | int | PlayerInput | ) | [inline] |


| int CInput::GetPlayerInputCount | ( | void | ) | [inline] |


COptions* CInput::m_pOptions [private] |
Link to options object to use.
CTimer* CInput::m_pTimer [private] |
Link to timer object to use.
CSDLInput CInput::m_DirectInput [private] |
SDLInput object managing the DirectInput interface.
CMainInput CInput::m_MainInput [private] |
The main input device.
CPlayerInput* CInput::m_PlayerInput [private] |
Dynamically allocated array of player input devices.
1.5.5