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

Background Class Reference

#include <Background.h>

Inheritance diagram for Background:

Inheritance graph
[legend]
Collaboration diagram for Background:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Background ()
 ~Background ()
void Init ()
virtual void LoadFromSong (const Song *pSong)
virtual void Unload ()
virtual void Update (float fDeltaTime)
virtual void DrawPrimitives ()
void FadeToActualBrightness ()
void SetBrightness (float fBrightness)
DancingCharactersGetDancingCharacters ()

Protected Member Functions

void LoadFromRandom (float fFirstBeat, float fLastBeat, const TimingData &timing)
int FindBGSegmentForBeat (float fBeat) const
bool IsDangerPlayerVisible (PlayerNumber pn)
bool IsDangerAllVisible ()
bool IsDeadPlayerVisible (PlayerNumber pn)
void UpdateCurBGChange (float fCurrentTime)
ActorCreateSongBGA (CString sBGName) const
CString CreateRandomBGA ()

Protected Attributes

const Songm_pSong
bool m_bInitted
DancingCharactersm_pDancingCharacters
BGAnimation m_DangerPlayer [NUM_PLAYERS]
BGAnimation m_DangerAll
BGAnimation m_DeadPlayer [NUM_PLAYERS]
map< CString, Actor * > m_BGAnimations
deque< CString > m_RandomBGAnimations
vector< BackgroundChangem_aBGChanges
int m_iCurBGChangeIndex
Actorm_pCurrentBGA
Actorm_pFadingBGA
float m_fSecsLeftInFade
float m_fLastMusicSeconds
Quad m_quadBorder [4]
BrightnessOverlay m_Brightness

Constructor & Destructor Documentation

Background::Background  ) 
 

Background::~Background  ) 
 


Member Function Documentation

CString Background::CreateRandomBGA  )  [protected]
 

Actor * Background::CreateSongBGA CString  sBGName  )  const [protected]
 

void Background::DrawPrimitives  )  [virtual]
 

Reimplemented from ActorFrame.

void Background::FadeToActualBrightness  )  [inline]
 

int Background::FindBGSegmentForBeat float  fBeat  )  const [protected]
 

DancingCharacters* Background::GetDancingCharacters  )  [inline]
 

void Background::Init  ) 
 

bool Background::IsDangerAllVisible  )  [protected]
 

bool Background::IsDangerPlayerVisible PlayerNumber  pn  )  [protected]
 

bool Background::IsDeadPlayerVisible PlayerNumber  pn  )  [protected]
 

void Background::LoadFromRandom float  fFirstBeat,
float  fLastBeat,
const TimingData timing
[protected]
 

void Background::LoadFromSong const Song pSong  )  [virtual]
 

void Background::SetBrightness float  fBrightness  )  [inline]
 

void Background::Unload  )  [virtual]
 

void Background::Update float  fDeltaTime  )  [virtual]
 

Reimplemented from ActorFrame.

void Background::UpdateCurBGChange float  fCurrentTime  )  [protected]
 


Member Data Documentation

vector<BackgroundChange> Background::m_aBGChanges [protected]
 

map<CString,Actor*> Background::m_BGAnimations [protected]
 

bool Background::m_bInitted [protected]
 

BrightnessOverlay Background::m_Brightness [protected]
 

BGAnimation Background::m_DangerAll [protected]
 

BGAnimation Background::m_DangerPlayer[NUM_PLAYERS] [protected]
 

BGAnimation Background::m_DeadPlayer[NUM_PLAYERS] [protected]
 

float Background::m_fLastMusicSeconds [protected]
 

float Background::m_fSecsLeftInFade [protected]
 

int Background::m_iCurBGChangeIndex [protected]
 

Actor* Background::m_pCurrentBGA [protected]
 

DancingCharacters* Background::m_pDancingCharacters [protected]
 

Actor* Background::m_pFadingBGA [protected]
 

const Song* Background::m_pSong [protected]
 

Quad Background::m_quadBorder[4] [protected]
 

deque<CString> Background::m_RandomBGAnimations [protected]
 


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