#include <CTitle.h>
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. |
CTitle::CTitle | ( | void | ) |
Constructor. Initialize some members.
CTitle::~CTitle | ( | void | ) | [virtual] |
Destructor. Does nothing.
void CTitle::SetDisplay | ( | CDisplay * | pDisplay | ) | [inline, virtual] |
Set link to the display object to use.
Reimplemented from CModeScreen.
void CTitle::Create | ( | void | ) | [virtual] |
void CTitle::Destroy | ( | void | ) | [virtual] |
void CTitle::OpenInput | ( | void | ) | [virtual] |
Get access to the input this object needs.
Implements CModeScreen.
void CTitle::CloseInput | ( | void | ) | [virtual] |
Release access to the input this object needs.
Implements CModeScreen.
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.
void CTitle::Display | ( | void | ) | [virtual] |
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?
CCloudManager CTitle::m_CloudManager [private] |
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?
int CTitle::m_MovingHandDistance [private] |
Extra distance between hand and menu.
float CTitle::m_MovingHandTimer [private] |
Timer used for the moving hand.