Files
itgmania212121/stepmania/src/ScoreDisplayNormal.h
T

40 lines
913 B
C++
Raw Normal View History

#ifndef SCOREDISPLAYNORMAL_H
#define SCOREDISPLAYNORMAL_H
2002-07-23 01:41:40 +00:00
/*
-----------------------------------------------------------------------------
Class: ScoreDisplayNormal
2002-07-28 20:28:37 +00:00
Desc: Shows point score during gameplay and used in some menus.
2002-07-23 01:41:40 +00:00
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "ScoreDisplay.h"
2003-02-25 00:33:42 +00:00
#include "BitmapText.h"
2002-07-23 01:41:40 +00:00
class ScoreDisplayNormal : public ScoreDisplay
{
public:
ScoreDisplayNormal();
2002-07-28 20:28:37 +00:00
virtual void Init( PlayerNumber pn );
2002-07-23 01:41:40 +00:00
virtual void Update( float fDeltaTime );
2002-07-28 20:28:37 +00:00
virtual void SetScore( float fNewScore );
2003-02-25 00:33:42 +00:00
virtual void SetText( CString s );
2002-07-28 20:28:37 +00:00
2002-07-23 01:41:40 +00:00
protected:
2003-02-25 00:33:42 +00:00
BitmapText m_text;
2002-07-28 20:28:37 +00:00
float m_fScore; // the actual score
float m_fTrailingScore; // what is displayed temporarily
float m_fScoreVelocity; // how fast trailing approaches real score
2002-07-23 01:41:40 +00:00
};
#endif