Files
itgmania212121/stepmania/src/GradeDisplay.h
T

44 lines
884 B
C++
Raw Normal View History

#ifndef GRADEDISPLAY_H
#define GRADEDISPLAY_H
2002-01-16 10:01:32 +00:00
/*
-----------------------------------------------------------------------------
2002-06-24 22:04:31 +00:00
Class: GradeDisplay
2002-01-16 10:01:32 +00:00
2002-06-24 22:04:31 +00:00
Desc: The grade shows on ScreenEvaluation
2002-01-16 10:01:32 +00:00
2002-05-19 01:59:48 +00:00
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
2002-06-24 22:04:31 +00:00
Chris Danford
2002-01-16 10:01:32 +00:00
-----------------------------------------------------------------------------
*/
#include "Sprite.h"
2002-07-23 01:41:40 +00:00
#include "PrefsManager.h"
2002-01-16 10:01:32 +00:00
#include "Grade.h"
#include "GameConstantsAndTypes.h"
2002-01-16 10:01:32 +00:00
class GradeDisplay : public Sprite
{
public:
2002-05-01 19:14:55 +00:00
GradeDisplay();
virtual void Update( float fDeltaTime );
2002-05-19 01:59:48 +00:00
virtual void DrawPrimitives();
2002-01-16 10:01:32 +00:00
void SetGrade( PlayerNumber pn, Grade g );
2002-05-01 19:14:55 +00:00
void SpinAndSettleOn( Grade g );
2002-08-20 08:30:30 +00:00
void SettleImmediately();
2002-01-16 10:01:32 +00:00
2002-05-01 19:14:55 +00:00
protected:
2002-05-19 01:59:48 +00:00
Grade m_Grade;
2002-05-01 19:14:55 +00:00
// for scrolling
2002-06-14 22:25:22 +00:00
bool m_bDoScrolling;
2002-10-31 06:00:30 +00:00
RectF m_frectStartTexCoords;
RectF m_frectDestTexCoords;
2002-05-01 19:14:55 +00:00
float m_fTimeLeftInScroll;
2002-01-16 10:01:32 +00:00
};
#endif