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

NoteDisplay Class Reference

#include <NoteDisplay.h>

Collaboration diagram for NoteDisplay:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NoteDisplay ()
 ~NoteDisplay ()
void Load (int iColNum, const PlayerState *pPlayerState, CString NoteSkin, float fYReverseOffsetPixels)
void DrawActor (Actor *pActor, int iCol, float fBeat, float fPercentFadeToFail, float fLife, float fReverseOffsetPixels, bool bUseLighting)
void DrawTap (int iCol, float fBeat, bool bOnSameRowAsHoldStart, bool bIsAddition, bool bIsMine, float fPercentFadeToFail, float fLife, float fReverseOffsetPixels)
void DrawHold (const TapNote &tn, int iCol, int iBeat, bool bIsBeingHeld, bool bIsActive, const HoldNoteResult &Result, float fPercentFadeToFail, bool bDrawGlowOnly, float fReverseOffsetPixels)
bool DrawHoldHeadForTapsOnSameRow () const

Static Public Member Functions

void Update (float fDeltaTime)

Protected Member Functions

void SetActiveFrame (float fNoteBeat, Actor &actorToSet, float fAnimationLengthInBeats, bool bVivid, bool bNoteColor)
ActorGetTapNoteActor (float fNoteBeat)
ActorGetTapAdditionActor (float fNoteBeat)
ActorGetTapMineActor (float fNoteBeat)
ActorGetHoldHeadActor (float fNoteBeat, bool bIsBeingHeld)
ActorGetHoldTailActor (float fNoteBeat, bool bIsBeingHeld)
SpriteGetHoldTopCapSprite (float fNoteBeat, bool bIsBeingHeld)
SpriteGetHoldBodySprite (float fNoteBeat, bool bIsBeingHeld)
SpriteGetHoldBottomCapSprite (float fNoteBeat, bool bIsBeingHeld)
void DrawHoldBottomCap (const TapNote &tn, int iCol, int iBeat, const bool bIsBeingHeld, float fYHead, float fYTail, int fYStep, float fPercentFadeToFail, float fColorScale, bool bGlow)
void DrawHoldTopCap (const TapNote &tn, int iCol, int iBeat, const bool bIsBeingHeld, float fYHead, float fYTail, int fYStep, float fPercentFadeToFail, float fColorScale, bool bGlow)
void DrawHoldBody (const TapNote &tn, int iCol, int iBeat, const bool bIsBeingHeld, float fYHead, float fYTail, int fYStep, float fPercentFadeToFail, float fColorScale, bool bGlow)
void DrawHoldTail (const TapNote &tn, int iCol, int iBeat, const bool bIsBeingHeld, float fYTail, float fPercentFadeToFail, float fColorScale, bool bGlow)
void DrawHoldHead (const TapNote &tn, int iCol, int iBeat, const bool bIsBeingHeld, float fYHead, float fPercentFadeToFail, float fColorScale, bool bGlow)

Protected Attributes

const PlayerStatem_pPlayerState
NoteMetricCache_tcache
Actorm_pTapNote [NOTE_COLOR_IMAGES]
Actorm_pTapAddition [NOTE_COLOR_IMAGES]
Actorm_pTapMine [NOTE_COLOR_IMAGES]
Actorm_pHoldHeadActive [NOTE_COLOR_IMAGES]
Actorm_pHoldHeadInactive [NOTE_COLOR_IMAGES]
Spritem_pHoldTopCapActive [NOTE_COLOR_IMAGES]
Spritem_pHoldTopCapInactive [NOTE_COLOR_IMAGES]
Spritem_pHoldBodyActive [NOTE_COLOR_IMAGES]
Spritem_pHoldBodyInactive [NOTE_COLOR_IMAGES]
Spritem_pHoldBottomCapActive [NOTE_COLOR_IMAGES]
Spritem_pHoldBottomCapInactive [NOTE_COLOR_IMAGES]
Actorm_pHoldTailActive [NOTE_COLOR_IMAGES]
Actorm_pHoldTailInactive [NOTE_COLOR_IMAGES]
float m_fYReverseOffsetPixels

Constructor & Destructor Documentation

NoteDisplay::NoteDisplay  ) 
 

NoteDisplay::~NoteDisplay  ) 
 


Member Function Documentation

void NoteDisplay::DrawActor Actor pActor,
int  iCol,
float  fBeat,
float  fPercentFadeToFail,
float  fLife,
float  fReverseOffsetPixels,
bool  bUseLighting
 

void NoteDisplay::DrawHold const TapNote tn,
int  iCol,
int  iBeat,
bool  bIsBeingHeld,
bool  bIsActive,
const HoldNoteResult Result,
float  fPercentFadeToFail,
bool  bDrawGlowOnly,
float  fReverseOffsetPixels
 

void NoteDisplay::DrawHoldBody const TapNote tn,
int  iCol,
int  iBeat,
const bool  bIsBeingHeld,
float  fYHead,
float  fYTail,
int  fYStep,
float  fPercentFadeToFail,
float  fColorScale,
bool  bGlow
[protected]
 

void NoteDisplay::DrawHoldBottomCap const TapNote tn,
int  iCol,
int  iBeat,
const bool  bIsBeingHeld,
float  fYHead,
float  fYTail,
int  fYStep,
float  fPercentFadeToFail,
float  fColorScale,
bool  bGlow
[protected]
 

void NoteDisplay::DrawHoldHead const TapNote tn,
int  iCol,
int  iBeat,
const bool  bIsBeingHeld,
float  fYHead,
float  fPercentFadeToFail,
float  fColorScale,
bool  bGlow
[protected]
 

bool NoteDisplay::DrawHoldHeadForTapsOnSameRow  )  const
 

void NoteDisplay::DrawHoldTail const TapNote tn,
int  iCol,
int  iBeat,
const bool  bIsBeingHeld,
float  fYTail,
float  fPercentFadeToFail,
float  fColorScale,
bool  bGlow
[protected]
 

void NoteDisplay::DrawHoldTopCap const TapNote tn,
int  iCol,
int  iBeat,
const bool  bIsBeingHeld,
float  fYHead,
float  fYTail,
int  fYStep,
float  fPercentFadeToFail,
float  fColorScale,
bool  bGlow
[protected]
 

void NoteDisplay::DrawTap int  iCol,
float  fBeat,
bool  bOnSameRowAsHoldStart,
bool  bIsAddition,
bool  bIsMine,
float  fPercentFadeToFail,
float  fLife,
float  fReverseOffsetPixels
 

Sprite * NoteDisplay::GetHoldBodySprite float  fNoteBeat,
bool  bIsBeingHeld
[protected]
 

Sprite * NoteDisplay::GetHoldBottomCapSprite float  fNoteBeat,
bool  bIsBeingHeld
[protected]
 

Actor * NoteDisplay::GetHoldHeadActor float  fNoteBeat,
bool  bIsBeingHeld
[protected]
 

Actor * NoteDisplay::GetHoldTailActor float  fNoteBeat,
bool  bIsBeingHeld
[protected]
 

Sprite * NoteDisplay::GetHoldTopCapSprite float  fNoteBeat,
bool  bIsBeingHeld
[protected]
 

Actor * NoteDisplay::GetTapAdditionActor float  fNoteBeat  )  [protected]
 

Actor * NoteDisplay::GetTapMineActor float  fNoteBeat  )  [protected]
 

Actor * NoteDisplay::GetTapNoteActor float  fNoteBeat  )  [protected]
 

void NoteDisplay::Load int  iColNum,
const PlayerState pPlayerState,
CString  NoteSkin,
float  fYReverseOffsetPixels
 

void NoteDisplay::SetActiveFrame float  fNoteBeat,
Actor actorToSet,
float  fAnimationLengthInBeats,
bool  bVivid,
bool  bNoteColor
[protected]
 

void NoteDisplay::Update float  fDeltaTime  )  [static]
 


Member Data Documentation

struct NoteMetricCache_t* NoteDisplay::cache [protected]
 

float NoteDisplay::m_fYReverseOffsetPixels [protected]
 

Sprite* NoteDisplay::m_pHoldBodyActive[NOTE_COLOR_IMAGES] [protected]
 

Sprite* NoteDisplay::m_pHoldBodyInactive[NOTE_COLOR_IMAGES] [protected]
 

Sprite* NoteDisplay::m_pHoldBottomCapActive[NOTE_COLOR_IMAGES] [protected]
 

Sprite* NoteDisplay::m_pHoldBottomCapInactive[NOTE_COLOR_IMAGES] [protected]
 

Actor* NoteDisplay::m_pHoldHeadActive[NOTE_COLOR_IMAGES] [protected]
 

Actor* NoteDisplay::m_pHoldHeadInactive[NOTE_COLOR_IMAGES] [protected]
 

Actor* NoteDisplay::m_pHoldTailActive[NOTE_COLOR_IMAGES] [protected]
 

Actor* NoteDisplay::m_pHoldTailInactive[NOTE_COLOR_IMAGES] [protected]
 

Sprite* NoteDisplay::m_pHoldTopCapActive[NOTE_COLOR_IMAGES] [protected]
 

Sprite* NoteDisplay::m_pHoldTopCapInactive[NOTE_COLOR_IMAGES] [protected]
 

const PlayerState* NoteDisplay::m_pPlayerState [protected]
 

Actor* NoteDisplay::m_pTapAddition[NOTE_COLOR_IMAGES] [protected]
 

Actor* NoteDisplay::m_pTapMine[NOTE_COLOR_IMAGES] [protected]
 

Actor* NoteDisplay::m_pTapNote[NOTE_COLOR_IMAGES] [protected]
 


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