Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ScreenSelectDifficulty Class Reference

#include <ScreenSelectDifficulty.h>

Inheritance diagram for ScreenSelectDifficulty:

Inheritance graph
[legend]
Collaboration diagram for ScreenSelectDifficulty:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ScreenSelectDifficulty (CString sName)
virtual void Update (float fDelta)
virtual void MenuLeft (PlayerNumber pn)
virtual void MenuRight (PlayerNumber pn)
virtual void MenuUp (PlayerNumber pn)
virtual void MenuDown (PlayerNumber pn)
virtual void MenuStart (PlayerNumber pn)
virtual void TweenOffScreen ()
virtual void TweenOnScreen ()
virtual void HandleScreenMessage (const ScreenMessage SM)

Protected Types

enum  Page { PAGE_1, PAGE_2, NUM_PAGES }

Protected Member Functions

virtual int GetSelectionIndex (PlayerNumber pn)
virtual void UpdateSelectableChoices ()
float GetCursorX (PlayerNumber pn)
float GetCursorY (PlayerNumber pn)
bool ChangeWithinPage (PlayerNumber pn, int iNewChoice, bool bChangingPages)
void ChangePage (Page newPage)

Protected Attributes

ActorFrame m_framePages
Sprite m_sprInfo [NUM_PAGES][MAX_CHOICES_PER_PAGE]
Sprite m_sprPicture [NUM_PAGES][MAX_CHOICES_PER_PAGE]
Sprite m_sprExplanation [NUM_PAGES]
Sprite m_sprMore [NUM_PAGES]
Sprite m_sprCursor [NUM_PLAYERS]
Sprite m_sprShadow [NUM_PLAYERS]
Sprite m_sprOK [NUM_PLAYERS]
RageSound m_soundChange
RandomSample m_soundDifficult
vector< GameCommandm_GameCommands [NUM_PAGES]
Page m_CurrentPage
int m_iChoiceOnPage [NUM_PLAYERS]
bool m_bChosen [NUM_PLAYERS]
float m_fLockInputTime

Member Enumeration Documentation

enum ScreenSelectDifficulty::Page [protected]
 

Enumeration values:
PAGE_1 
PAGE_2 
NUM_PAGES 


Constructor & Destructor Documentation

ScreenSelectDifficulty::ScreenSelectDifficulty CString  sName  ) 
 


Member Function Documentation

void ScreenSelectDifficulty::ChangePage Page  newPage  )  [protected]
 

bool ScreenSelectDifficulty::ChangeWithinPage PlayerNumber  pn,
int  iNewChoice,
bool  bChangingPages
[protected]
 

float ScreenSelectDifficulty::GetCursorX PlayerNumber  pn  )  [protected]
 

float ScreenSelectDifficulty::GetCursorY PlayerNumber  pn  )  [protected]
 

int ScreenSelectDifficulty::GetSelectionIndex PlayerNumber  pn  )  [protected, virtual]
 

Implements ScreenSelect.

void ScreenSelectDifficulty::HandleScreenMessage const ScreenMessage  SM  )  [virtual]
 

Reimplemented from ScreenSelect.

virtual void ScreenSelectDifficulty::MenuDown PlayerNumber  pn  )  [inline, virtual]
 

Reimplemented from Screen.

void ScreenSelectDifficulty::MenuLeft PlayerNumber  pn  )  [virtual]
 

Reimplemented from Screen.

void ScreenSelectDifficulty::MenuRight PlayerNumber  pn  )  [virtual]
 

Reimplemented from Screen.

void ScreenSelectDifficulty::MenuStart PlayerNumber  pn  )  [virtual]
 

Reimplemented from Screen.

virtual void ScreenSelectDifficulty::MenuUp PlayerNumber  pn  )  [inline, virtual]
 

Reimplemented from Screen.

void ScreenSelectDifficulty::TweenOffScreen  )  [virtual]
 

void ScreenSelectDifficulty::TweenOnScreen  )  [virtual]
 

void ScreenSelectDifficulty::Update float  fDelta  )  [virtual]
 

Reimplemented from ScreenSelect.

void ScreenSelectDifficulty::UpdateSelectableChoices  )  [protected, virtual]
 

Implements ScreenSelect.


Member Data Documentation

bool ScreenSelectDifficulty::m_bChosen[NUM_PLAYERS] [protected]
 

Page ScreenSelectDifficulty::m_CurrentPage [protected]
 

float ScreenSelectDifficulty::m_fLockInputTime [protected]
 

ActorFrame ScreenSelectDifficulty::m_framePages [protected]
 

vector<GameCommand> ScreenSelectDifficulty::m_GameCommands[NUM_PAGES] [protected]
 

int ScreenSelectDifficulty::m_iChoiceOnPage[NUM_PLAYERS] [protected]
 

RageSound ScreenSelectDifficulty::m_soundChange [protected]
 

RandomSample ScreenSelectDifficulty::m_soundDifficult [protected]
 

Sprite ScreenSelectDifficulty::m_sprCursor[NUM_PLAYERS] [protected]
 

Sprite ScreenSelectDifficulty::m_sprExplanation[NUM_PAGES] [protected]
 

Sprite ScreenSelectDifficulty::m_sprInfo[NUM_PAGES][MAX_CHOICES_PER_PAGE] [protected]
 

Sprite ScreenSelectDifficulty::m_sprMore[NUM_PAGES] [protected]
 

Sprite ScreenSelectDifficulty::m_sprOK[NUM_PLAYERS] [protected]
 

Sprite ScreenSelectDifficulty::m_sprPicture[NUM_PAGES][MAX_CHOICES_PER_PAGE] [protected]
 

Sprite ScreenSelectDifficulty::m_sprShadow[NUM_PLAYERS] [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 21:03:41 2005 for StepMania by doxygen 1.3.7