CControls Class Reference

The controls screen that appears when choosing Options in the main menu. More...

#include <CControls.h>

Inheritance diagram for CControls:

Inheritance graph
[legend]
Collaboration diagram for CControls:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CControls ()
 Constructor. Initialize some members.
virtual ~CControls ()
 Destructor. Does nothing.
void SetDisplay (CDisplay *pDisplay)
 Set link to the display object to use.
void Create (void)
 Initialize the object.
void Destroy (void)
 Uninitialize the object.
void OpenInput (void)
 Get access to the input this object needs.
void CloseInput (void)
 Release access to the input this object needs.
EGameMode Update (void)
 Update the object and return what game mode should be set.
void Display (void)
 Display the game screen.

Private Attributes

float m_ModeTime
 Time (in seconds) that elapsed since the mode has started.
bool m_HaveToExit
 Do we have to exit this mode?
float m_ExitModeTime
 Mode time when we realized we have to exit (used for blackscreen).
CFont m_Font
 Font object used to draw strings.
int m_Cursor
 Number of the menu item the cursor hand is pointing to.
int m_PlayerInput
 Number of the currently selected player input (keyboard X, joystick X...).
bool m_WaitingForInput
 Are we waiting for the user to activate the control he wants to reconfigure?
float m_WaitingForInputAfter
 Time left in seconds to wait before starting to wait for the user to activate the control he wants to reconfigure.
bool m_SongStarted
 Did we start playing the song after the black screen?
CMosaicm_pMosaic


Detailed Description

The controls screen that appears when choosing Options in the main menu.

Constructor & Destructor Documentation

CControls::CControls ( void   ) 

Constructor. Initialize some members.

CControls::~CControls ( void   )  [virtual]

Destructor. Does nothing.


Member Function Documentation

void CControls::SetDisplay ( CDisplay pDisplay  )  [inline, virtual]

Set link to the display object to use.

Reimplemented from CModeScreen.

Here is the call graph for this function:

Here is the caller graph for this function:

void CControls::Create ( void   )  [virtual]

Initialize the object.

Reimplemented from CModeScreen.

Here is the call graph for this function:

void CControls::Destroy ( void   )  [virtual]

Uninitialize the object.

Reimplemented from CModeScreen.

Here is the call graph for this function:

void CControls::OpenInput ( void   )  [virtual]

Get access to the input this object needs.

Implements CModeScreen.

Here is the call graph for this function:

void CControls::CloseInput ( void   )  [virtual]

Release access to the input this object needs.

Implements CModeScreen.

Here is the call graph for this function:

EGameMode CControls::Update ( void   )  [virtual]

Update the object and return what game mode should be set.

Implements CModeScreen.

Here is the call graph for this function:

void CControls::Display ( void   )  [virtual]

Display the game screen.

Implements CModeScreen.

Here is the call graph for this function:


Member Data Documentation

float CControls::m_ModeTime [private]

Time (in seconds) that elapsed since the mode has started.

bool CControls::m_HaveToExit [private]

Do we have to exit this mode?

float CControls::m_ExitModeTime [private]

Mode time when we realized we have to exit (used for blackscreen).

Font object used to draw strings.

int CControls::m_Cursor [private]

Number of the menu item the cursor hand is pointing to.

int CControls::m_PlayerInput [private]

Number of the currently selected player input (keyboard X, joystick X...).

Are we waiting for the user to activate the control he wants to reconfigure?

Time left in seconds to wait before starting to wait for the user to activate the control he wants to reconfigure.

bool CControls::m_SongStarted [private]

Did we start playing the song after the black screen?


The documentation for this class was generated from the following files:

Generated on Sat Oct 18 12:26:43 2008 for Bombermaaan by  doxygen 1.5.5
Visit the Bombermaaan project page
SourceForge.net Logo