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

ScreenSelectMaster Class Reference

#include <ScreenSelectMaster.h>

Inheritance diagram for ScreenSelectMaster:

Inheritance graph
[legend]
Collaboration diagram for ScreenSelectMaster:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ScreenSelectMaster (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)
void TweenOffScreen ()
void TweenOnScreen ()
virtual void HandleScreenMessage (const ScreenMessage SM)

Protected Types

enum  Page { PAGE_1, PAGE_2, NUM_PAGES }
enum  Dirs {
  DIR_UP, DIR_DOWN, DIR_LEFT, DIR_RIGHT,
  DIR_AUTO, NUM_DIRS
}

Protected Member Functions

Page GetPage (int iChoiceIndex) const
Page GetCurrentPage () const
virtual int GetSelectionIndex (PlayerNumber pn)
virtual void UpdateSelectableChoices ()
bool Move (PlayerNumber pn, Dirs dir)
bool ChangePage (int iNewChoice)
bool ChangeSelection (PlayerNumber pn, int iNewChoice)
float DoMenuStart (PlayerNumber pn)
float GetCursorX (PlayerNumber pn, int iPartIndex)
float GetCursorY (PlayerNumber pn, int iPartIndex)

Protected Attributes

int m_Next [NUM_DIRS][MAX_CHOICES]
AutoActor m_sprExplanation [NUM_PAGES]
AutoActor m_sprMore [NUM_PAGES]
AutoActor m_sprIcon [MAX_ICON_PARTS][MAX_CHOICES]
AutoActor m_sprPreview [MAX_PREVIEW_PARTS][MAX_CHOICES][NUM_PLAYERS]
AutoActor m_sprCursor [MAX_CURSOR_PARTS][NUM_PLAYERS]
AutoActor m_sprScroll [MAX_CHOICES][NUM_PLAYERS]
ActorScroller m_Scroller [NUM_PLAYERS]
RageSound m_soundChange
RandomSample m_soundDifficult
RageSound m_soundStart
int m_iChoice [NUM_PLAYERS]
bool m_bChosen [NUM_PLAYERS]
float m_fLockInputSecs

Static Protected Attributes

const char * dirs [NUM_DIRS]

Member Enumeration Documentation

enum ScreenSelectMaster::Dirs [protected]
 

Enumeration values:
DIR_UP 
DIR_DOWN 
DIR_LEFT 
DIR_RIGHT 
DIR_AUTO 
NUM_DIRS 

enum ScreenSelectMaster::Page [protected]
 

Enumeration values:
PAGE_1 
PAGE_2 
NUM_PAGES 


Constructor & Destructor Documentation

ScreenSelectMaster::ScreenSelectMaster CString  sName  ) 
 


Member Function Documentation

bool ScreenSelectMaster::ChangePage int  iNewChoice  )  [protected]
 

bool ScreenSelectMaster::ChangeSelection PlayerNumber  pn,
int  iNewChoice
[protected]
 

float ScreenSelectMaster::DoMenuStart PlayerNumber  pn  )  [protected]
 

ScreenSelectMaster::Page ScreenSelectMaster::GetCurrentPage  )  const [protected]
 

float ScreenSelectMaster::GetCursorX PlayerNumber  pn,
int  iPartIndex
[protected]
 

float ScreenSelectMaster::GetCursorY PlayerNumber  pn,
int  iPartIndex
[protected]
 

ScreenSelectMaster::Page ScreenSelectMaster::GetPage int  iChoiceIndex  )  const [protected]
 

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

Implements ScreenSelect.

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

Reimplemented from ScreenSelect.

void ScreenSelectMaster::MenuDown PlayerNumber  pn  )  [virtual]
 

Reimplemented from Screen.

void ScreenSelectMaster::MenuLeft PlayerNumber  pn  )  [virtual]
 

Reimplemented from Screen.

void ScreenSelectMaster::MenuRight PlayerNumber  pn  )  [virtual]
 

Reimplemented from Screen.

void ScreenSelectMaster::MenuStart PlayerNumber  pn  )  [virtual]
 

Reimplemented from Screen.

void ScreenSelectMaster::MenuUp PlayerNumber  pn  )  [virtual]
 

Reimplemented from Screen.

bool ScreenSelectMaster::Move PlayerNumber  pn,
Dirs  dir
[protected]
 

void ScreenSelectMaster::TweenOffScreen  ) 
 

void ScreenSelectMaster::TweenOnScreen  ) 
 

void ScreenSelectMaster::Update float  fDelta  )  [virtual]
 

Reimplemented from ScreenSelect.

void ScreenSelectMaster::UpdateSelectableChoices  )  [protected, virtual]
 

Implements ScreenSelect.


Member Data Documentation

const char * ScreenSelectMaster::dirs [static, protected]
 

Initial value:

{ "Up", "Down", "Left", "Right", "Auto" }

bool ScreenSelectMaster::m_bChosen[NUM_PLAYERS] [protected]
 

float ScreenSelectMaster::m_fLockInputSecs [protected]
 

int ScreenSelectMaster::m_iChoice[NUM_PLAYERS] [protected]
 

int ScreenSelectMaster::m_Next[NUM_DIRS][MAX_CHOICES] [protected]
 

ActorScroller ScreenSelectMaster::m_Scroller[NUM_PLAYERS] [protected]
 

RageSound ScreenSelectMaster::m_soundChange [protected]
 

RandomSample ScreenSelectMaster::m_soundDifficult [protected]
 

RageSound ScreenSelectMaster::m_soundStart [protected]
 

AutoActor ScreenSelectMaster::m_sprCursor[MAX_CURSOR_PARTS][NUM_PLAYERS] [protected]
 

AutoActor ScreenSelectMaster::m_sprExplanation[NUM_PAGES] [protected]
 

AutoActor ScreenSelectMaster::m_sprIcon[MAX_ICON_PARTS][MAX_CHOICES] [protected]
 

AutoActor ScreenSelectMaster::m_sprMore[NUM_PAGES] [protected]
 

AutoActor ScreenSelectMaster::m_sprPreview[MAX_PREVIEW_PARTS][MAX_CHOICES][NUM_PLAYERS] [protected]
 

AutoActor ScreenSelectMaster::m_sprScroll[MAX_CHOICES][NUM_PLAYERS] [protected]
 


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