44 lines
990 B
C++
44 lines
990 B
C++
#pragma once
|
|
/*
|
|
-----------------------------------------------------------------------------
|
|
Class: ScoreDisplayNormal
|
|
|
|
Desc: A graphic displayed in the ScoreDisplayNormal during Dancing.
|
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
|
Chris Danford
|
|
-----------------------------------------------------------------------------
|
|
*/
|
|
|
|
#include "ScoreDisplay.h"
|
|
|
|
|
|
const int NUM_SCORE_DIGITS = 9;
|
|
|
|
|
|
class ScoreDisplayNormal : public ScoreDisplay
|
|
{
|
|
public:
|
|
ScoreDisplayNormal();
|
|
|
|
virtual void Init( PlayerNumber pn, PlayerOptions po, int iOriginalNumNotes, int iNotesMeter );
|
|
|
|
virtual void SetScore( float fNewScore );
|
|
virtual int GetScore();
|
|
virtual void AddToScore( TapNoteScore score, int iCurCombo );
|
|
|
|
virtual void Update( float fDeltaTime );
|
|
virtual void Draw();
|
|
|
|
protected:
|
|
PlayerNumber m_PlayerNumber;
|
|
PlayerOptions m_PlayerOptions;
|
|
int m_iTotalNotes;
|
|
int m_iNotesMeter;
|
|
|
|
float m_fScore;
|
|
|
|
float m_fTrailingScore;
|
|
float m_fScoreVelocity;
|
|
};
|