#include <CPlayerInput.h>
Public Member Functions | |
CPlayerInput () | |
~CPlayerInput () | |
InputClass * | GetDirectInput (void) |
void | SetDirectInput (InputClass *pDirectInput) |
void | SetOptions (COptions *pOptions) |
void | Create (int PlayerInput) |
void | Destroy (void) |
void | Open (void) |
bool | IsOpened (void) |
void | Close (void) |
const char * | GetName (void) |
void | Update (void) |
bool | TestUp (void) |
bool | TestDown (void) |
bool | TestLeft (void) |
bool | TestRight (void) |
bool | TestAction1 (void) |
bool | TestAction2 (void) |
int | GetActivatedControl (void) |
const char * | GetControlName (int Control) |
bool | TestControl (int Control) |
Private Member Functions | |
void | CreateName (void) |
Private Attributes | |
InputClass * | m_pDirectInput |
COptions * | m_pOptions |
int | m_PlayerInput |
char | m_Name [MAX_PLAYER_INPUT_NAME_LENGTH] |
char | m_ControlName [MAX_CONTROL_NAME_LENGTH] |
CPlayerInput::CPlayerInput | ( | void | ) |
CPlayerInput::~CPlayerInput | ( | void | ) |
void CPlayerInput::CreateName | ( | void | ) | [private] |
InputClass * CPlayerInput::GetDirectInput | ( | void | ) | [inline] |
void CPlayerInput::SetDirectInput | ( | InputClass * | pDirectInput | ) | [inline] |
void CPlayerInput::SetOptions | ( | COptions * | pOptions | ) | [inline] |
void CPlayerInput::Create | ( | int | PlayerInput | ) |
void CPlayerInput::Destroy | ( | void | ) |
void CPlayerInput::Open | ( | void | ) |
bool CPlayerInput::IsOpened | ( | void | ) |
void CPlayerInput::Close | ( | void | ) |
const char * CPlayerInput::GetName | ( | void | ) | [inline] |
void CPlayerInput::Update | ( | void | ) |
bool CPlayerInput::TestUp | ( | void | ) | [inline] |
bool CPlayerInput::TestDown | ( | void | ) | [inline] |
bool CPlayerInput::TestLeft | ( | void | ) | [inline] |
bool CPlayerInput::TestRight | ( | void | ) | [inline] |
bool CPlayerInput::TestAction1 | ( | void | ) | [inline] |
bool CPlayerInput::TestAction2 | ( | void | ) | [inline] |
int CPlayerInput::GetActivatedControl | ( | void | ) |
const char * CPlayerInput::GetControlName | ( | int | Control | ) |
bool CPlayerInput::TestControl | ( | int | Control | ) |
InputClass* CPlayerInput::m_pDirectInput [private] |
COptions* CPlayerInput::m_pOptions [private] |
int CPlayerInput::m_PlayerInput [private] |
char CPlayerInput::m_Name[MAX_PLAYER_INPUT_NAME_LENGTH] [private] |
char CPlayerInput::m_ControlName[MAX_CONTROL_NAME_LENGTH] [private] |