CTitle Class Reference

The title screen. More...

#include <CTitle.h>

Inheritance diagram for CTitle:

Inheritance graph
[legend]
Collaboration diagram for CTitle:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CTitle ()
 Constructor. Initialize some members.
virtual ~CTitle ()
 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 on the screen.

Private Attributes

int m_Cursor
 Number of the menu item pointed by the cursor hand.
bool m_SongStarted
 Did we start playing the song after the black screen?
CCloudManager m_CloudManager
 Manages the clouds in the sky.
float m_ModeTime
 Time (in seconds) that elapsed since the mode has started.
float m_ExitModeTime
 Mode time when we have to start the last black screen.
EGameMode m_ExitGameMode
 Game mode to ask for when exiting.
bool m_HaveToExit
 Do we have to exit this mode?
int m_MovingHandDistance
 Extra distance between hand and menu.
float m_MovingHandTimer
 Timer used for the moving hand.


Detailed Description

The title screen.

Constructor & Destructor Documentation

CTitle::CTitle ( void   ) 

Constructor. Initialize some members.

CTitle::~CTitle ( void   )  [virtual]

Destructor. Does nothing.


Member Function Documentation

void CTitle::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 CTitle::Create ( void   )  [virtual]

Initialize the object.

Reimplemented from CModeScreen.

Here is the call graph for this function:

void CTitle::Destroy ( void   )  [virtual]

Uninitialize the object.

Reimplemented from CModeScreen.

Here is the call graph for this function:

void CTitle::OpenInput ( void   )  [virtual]

Get access to the input this object needs.

Implements CModeScreen.

Here is the call graph for this function:

void CTitle::CloseInput ( void   )  [virtual]

Release access to the input this object needs.

Implements CModeScreen.

Here is the call graph for this function:

EGameMode CTitle::Update ( void   )  [virtual]

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

The credits screen isn't implemented yet so we have to stay in the title game mode

Implements CModeScreen.

Here is the call graph for this function:

void CTitle::Display ( void   )  [virtual]

Display on the screen.

Implements CModeScreen.

Here is the call graph for this function:


Member Data Documentation

int CTitle::m_Cursor [private]

Number of the menu item pointed by the cursor hand.

bool CTitle::m_SongStarted [private]

Did we start playing the song after the black screen?

Manages the clouds in the sky.

float CTitle::m_ModeTime [private]

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

float CTitle::m_ExitModeTime [private]

Mode time when we have to start the last black screen.

EGameMode CTitle::m_ExitGameMode [private]

Game mode to ask for when exiting.

bool CTitle::m_HaveToExit [private]

Do we have to exit this mode?

Extra distance between hand and menu.

float CTitle::m_MovingHandTimer [private]

Timer used for the moving hand.


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

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