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

ScreenGameplay Class Reference

#include <ScreenGameplay.h>

Inheritance diagram for ScreenGameplay:

Inheritance graph
[legend]
Collaboration diagram for ScreenGameplay:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ScreenGameplay (CString sName)
virtual void Init ()
virtual ~ScreenGameplay ()
virtual void Update (float fDeltaTime)
virtual void DrawPrimitives ()
virtual void Input (const DeviceInput &DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI)
virtual void HandleScreenMessage (const ScreenMessage SM)
virtual bool UsesBackground () const

Protected Types

enum  DancingState { STATE_INTRO = 0, STATE_DANCING, STATE_OUTRO, NUM_DANCING_STATES }

Protected Member Functions

void TweenOnScreen ()
void TweenOffScreen ()
bool IsLastSong ()
void SetupSong (PlayerNumber p, int iSongIndex)
void LoadNextSong ()
void LoadCourseSongNumber (int SongNumber)
float StartPlayingSong (float MinTimeToNotes, float MinTimeToMusic)
void ShowSavePrompt (ScreenMessage SM_SendWhenDone)
void PlayAnnouncer (CString type, float fSeconds)
void UpdateLights ()
void PlayTicks ()
void UpdateSongPosition (float fDeltaTime)
void UpdateLyrics (float fDeltaTime)
void SongFinished ()
void StageFinished (bool bBackedOut)
virtual void InitSongQueues ()
void AbortGiveUp ()
void UpdateAutoPlayText ()
void ShowOniGameOver (PlayerNumber pn)

Protected Attributes

enum ScreenGameplay::DancingState m_DancingState
vector< Song * > m_apSongsQueue
vector< Steps * > m_vpStepsQueue [NUM_PLAYERS]
vector< AttackArraym_asModifiersQueue [NUM_PLAYERS]
bool m_bChangedOffsetOrBPM
float m_fTimeSinceLastDancingComment
LyricDisplay m_LyricDisplay
Background m_Background
Foreground m_Foreground
Transition m_NextSongIn
Transition m_NextSongOut
Transition m_SongFinished
Sprite m_sprStaticBackground
Sprite m_sprLifeFrame
LifeMeterm_pLifeMeter [NUM_PLAYERS]
CombinedLifeMeterm_pCombinedLifeMeter
Sprite m_sprStage
Sprite m_sprCourseSongNumber
AutoActor m_sprStageFrame
BitmapText m_textCourseSongNumber [NUM_PLAYERS]
BitmapText m_textPlayerName [NUM_PLAYERS]
BitmapText m_textStepsDescription [NUM_PLAYERS]
BPMDisplay m_BPMDisplay
float m_fLastBPS
Sprite m_sprScoreFrame
ScoreDisplaym_pPrimaryScoreDisplay [NUM_PLAYERS]
ScoreDisplaym_pSecondaryScoreDisplay [NUM_PLAYERS]
ScoreKeeperm_pPrimaryScoreKeeper [NUM_PLAYERS]
ScoreKeeperm_pSecondaryScoreKeeper [NUM_PLAYERS]
BitmapText m_textPlayerOptions [NUM_PLAYERS]
BitmapText m_textSongOptions
ActiveAttackList m_ActiveAttackList [NUM_PLAYERS]
BitmapText m_Scoreboard [NUM_NSSB_CATEGORIES]
bool m_ShowScoreboard
BitmapText m_textDebug
RageTimer m_GiveUpTimer
BitmapText m_textAutoPlay
BitmapText m_MaxCombo
Transition m_Ready
Transition m_Go
Transition m_Cleared
Transition m_Failed
Transition m_Extra
Transition m_Toasty
Transition m_Win [NUM_PLAYERS]
Transition m_Draw
Transition m_In
Transition m_Back
BGAnimation m_Overlay
BitmapText m_textSurviveTime
BitmapText m_textSongTitle
MeterDisplay m_meterSongPosition
Player m_Player [NUM_PLAYERS]
AutoKeysounds m_AutoKeysounds
Inventorym_pInventory [NUM_PLAYERS]
DifficultyIcon m_DifficultyIcon [NUM_PLAYERS]
DifficultyMeter m_DifficultyMeter [NUM_PLAYERS]
Sprite m_sprOniGameOver [NUM_PLAYERS]
RageSound m_soundBattleTrickLevel1
RageSound m_soundBattleTrickLevel2
RageSound m_soundBattleTrickLevel3
bool m_bZeroDeltaOnNextUpdate
RageSound m_soundAssistTick
RageSoundm_pSoundMusic
BeginnerHelper m_BeginnerHelper
NoteData m_CabinetLightsNoteData

Member Enumeration Documentation

enum ScreenGameplay::DancingState [protected]
 

Enumeration values:
STATE_INTRO 
STATE_DANCING 
STATE_OUTRO 
NUM_DANCING_STATES 


Constructor & Destructor Documentation

ScreenGameplay::ScreenGameplay CString  sName  ) 
 

ScreenGameplay::~ScreenGameplay  )  [virtual]
 


Member Function Documentation

void ScreenGameplay::AbortGiveUp  )  [protected]
 

void ScreenGameplay::DrawPrimitives  )  [virtual]
 

Reimplemented from ActorFrame.

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

Reimplemented from Screen.

Reimplemented in ScreenDemonstration, and ScreenJukebox.

void ScreenGameplay::Init  )  [virtual]
 

Reimplemented from Screen.

Reimplemented in ScreenDemonstration, and ScreenJukebox.

void ScreenGameplay::InitSongQueues  )  [protected, virtual]
 

Reimplemented in ScreenJukebox.

void ScreenGameplay::Input const DeviceInput DeviceI,
const InputEventType  type,
const GameInput GameI,
const MenuInput MenuI,
const StyleInput StyleI
[virtual]
 

Reimplemented from Screen.

Reimplemented in ScreenJukebox.

bool ScreenGameplay::IsLastSong  )  [protected]
 

void ScreenGameplay::LoadCourseSongNumber int  SongNumber  )  [protected]
 

void ScreenGameplay::LoadNextSong  )  [protected]
 

void ScreenGameplay::PlayAnnouncer CString  type,
float  fSeconds
[protected]
 

void ScreenGameplay::PlayTicks  )  [protected]
 

void ScreenGameplay::SetupSong PlayerNumber  p,
int  iSongIndex
[protected]
 

void ScreenGameplay::ShowOniGameOver PlayerNumber  pn  )  [protected]
 

void ScreenGameplay::ShowSavePrompt ScreenMessage  SM_SendWhenDone  )  [protected]
 

void ScreenGameplay::SongFinished  )  [protected]
 

void ScreenGameplay::StageFinished bool  bBackedOut  )  [protected]
 

float ScreenGameplay::StartPlayingSong float  MinTimeToNotes,
float  MinTimeToMusic
[protected]
 

void ScreenGameplay::TweenOffScreen  )  [protected]
 

void ScreenGameplay::TweenOnScreen  )  [protected]
 

void ScreenGameplay::Update float  fDeltaTime  )  [virtual]
 

Reimplemented from Screen.

void ScreenGameplay::UpdateAutoPlayText  )  [protected]
 

void ScreenGameplay::UpdateLights  )  [protected]
 

void ScreenGameplay::UpdateLyrics float  fDeltaTime  )  [protected]
 

void ScreenGameplay::UpdateSongPosition float  fDeltaTime  )  [protected]
 

virtual bool ScreenGameplay::UsesBackground  )  const [inline, virtual]
 

Reimplemented from Screen.


Member Data Documentation

ActiveAttackList ScreenGameplay::m_ActiveAttackList[NUM_PLAYERS] [protected]
 

vector<Song*> ScreenGameplay::m_apSongsQueue [protected]
 

vector<AttackArray> ScreenGameplay::m_asModifiersQueue[NUM_PLAYERS] [protected]
 

AutoKeysounds ScreenGameplay::m_AutoKeysounds [protected]
 

Transition ScreenGameplay::m_Back [protected]
 

Background ScreenGameplay::m_Background [protected]
 

bool ScreenGameplay::m_bChangedOffsetOrBPM [protected]
 

BeginnerHelper ScreenGameplay::m_BeginnerHelper [protected]
 

BPMDisplay ScreenGameplay::m_BPMDisplay [protected]
 

bool ScreenGameplay::m_bZeroDeltaOnNextUpdate [protected]
 

NoteData ScreenGameplay::m_CabinetLightsNoteData [protected]
 

Transition ScreenGameplay::m_Cleared [protected]
 

enum ScreenGameplay::DancingState ScreenGameplay::m_DancingState [protected]
 

DifficultyIcon ScreenGameplay::m_DifficultyIcon[NUM_PLAYERS] [protected]
 

DifficultyMeter ScreenGameplay::m_DifficultyMeter[NUM_PLAYERS] [protected]
 

Transition ScreenGameplay::m_Draw [protected]
 

Transition ScreenGameplay::m_Extra [protected]
 

Transition ScreenGameplay::m_Failed [protected]
 

float ScreenGameplay::m_fLastBPS [protected]
 

Foreground ScreenGameplay::m_Foreground [protected]
 

float ScreenGameplay::m_fTimeSinceLastDancingComment [protected]
 

RageTimer ScreenGameplay::m_GiveUpTimer [protected]
 

Transition ScreenGameplay::m_Go [protected]
 

Transition ScreenGameplay::m_In [protected]
 

Reimplemented in ScreenJukebox.

LyricDisplay ScreenGameplay::m_LyricDisplay [protected]
 

BitmapText ScreenGameplay::m_MaxCombo [protected]
 

MeterDisplay ScreenGameplay::m_meterSongPosition [protected]
 

Transition ScreenGameplay::m_NextSongIn [protected]
 

Transition ScreenGameplay::m_NextSongOut [protected]
 

BGAnimation ScreenGameplay::m_Overlay [protected]
 

Reimplemented in ScreenDemonstration.

CombinedLifeMeter* ScreenGameplay::m_pCombinedLifeMeter [protected]
 

Inventory* ScreenGameplay::m_pInventory[NUM_PLAYERS] [protected]
 

Player ScreenGameplay::m_Player[NUM_PLAYERS] [protected]
 

LifeMeter* ScreenGameplay::m_pLifeMeter[NUM_PLAYERS] [protected]
 

ScoreDisplay* ScreenGameplay::m_pPrimaryScoreDisplay[NUM_PLAYERS] [protected]
 

ScoreKeeper* ScreenGameplay::m_pPrimaryScoreKeeper[NUM_PLAYERS] [protected]
 

ScoreDisplay* ScreenGameplay::m_pSecondaryScoreDisplay[NUM_PLAYERS] [protected]
 

ScoreKeeper* ScreenGameplay::m_pSecondaryScoreKeeper[NUM_PLAYERS] [protected]
 

RageSound* ScreenGameplay::m_pSoundMusic [protected]
 

Transition ScreenGameplay::m_Ready [protected]
 

BitmapText ScreenGameplay::m_Scoreboard[NUM_NSSB_CATEGORIES] [protected]
 

bool ScreenGameplay::m_ShowScoreboard [protected]
 

Transition ScreenGameplay::m_SongFinished [protected]
 

RageSound ScreenGameplay::m_soundAssistTick [protected]
 

RageSound ScreenGameplay::m_soundBattleTrickLevel1 [protected]
 

RageSound ScreenGameplay::m_soundBattleTrickLevel2 [protected]
 

RageSound ScreenGameplay::m_soundBattleTrickLevel3 [protected]
 

Sprite ScreenGameplay::m_sprCourseSongNumber [protected]
 

Sprite ScreenGameplay::m_sprLifeFrame [protected]
 

Sprite ScreenGameplay::m_sprOniGameOver[NUM_PLAYERS] [protected]
 

Sprite ScreenGameplay::m_sprScoreFrame [protected]
 

Sprite ScreenGameplay::m_sprStage [protected]
 

AutoActor ScreenGameplay::m_sprStageFrame [protected]
 

Sprite ScreenGameplay::m_sprStaticBackground [protected]
 

BitmapText ScreenGameplay::m_textAutoPlay [protected]
 

BitmapText ScreenGameplay::m_textCourseSongNumber[NUM_PLAYERS] [protected]
 

BitmapText ScreenGameplay::m_textDebug [protected]
 

BitmapText ScreenGameplay::m_textPlayerName[NUM_PLAYERS] [protected]
 

BitmapText ScreenGameplay::m_textPlayerOptions[NUM_PLAYERS] [protected]
 

BitmapText ScreenGameplay::m_textSongOptions [protected]
 

BitmapText ScreenGameplay::m_textSongTitle [protected]
 

BitmapText ScreenGameplay::m_textStepsDescription[NUM_PLAYERS] [protected]
 

BitmapText ScreenGameplay::m_textSurviveTime [protected]
 

Transition ScreenGameplay::m_Toasty [protected]
 

vector<Steps*> ScreenGameplay::m_vpStepsQueue[NUM_PLAYERS] [protected]
 

Transition ScreenGameplay::m_Win[NUM_PLAYERS] [protected]
 


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