Simplify. Don't recalculate values; it'll break if the rules change elsewhere,

eg. to a change ScoreKeeper.
This commit is contained in:
Glenn Maynard
2003-07-24 19:44:59 +00:00
parent 0b1f5b9dac
commit 2d7b9c9301
3 changed files with 31 additions and 75 deletions
+8 -7
View File
@@ -13,6 +13,7 @@
#include "GameConstantsAndTypes.h"
#include "NoteData.h"
#include "PlayerNumber.h"
class NoteDataWithScoring : public NoteData
{
@@ -54,14 +55,14 @@ public:
int LastTapNoteScoreTrack(unsigned row) const;
TapNoteScore LastTapNoteScore(unsigned row) const;
float GetActualRadarValue( RadarCategory rv, float fSongSeconds ) const;
float GetActualStreamRadarValue( float fSongSeconds ) const;
float GetActualVoltageRadarValue( float fSongSeconds ) const;
float GetActualAirRadarValue( float fSongSeconds ) const;
float GetActualFreezeRadarValue( float fSongSeconds ) const;
float GetActualChaosRadarValue( float fSongSeconds ) const;
float GetActualRadarValue( RadarCategory rv, PlayerNumber pn, float fSongSeconds ) const;
int GetMaxCombo() const; // used for groove radar calculations
private:
float GetActualStreamRadarValue( float fSongSeconds, PlayerNumber pn ) const;
float GetActualVoltageRadarValue( float fSongSeconds, PlayerNumber pn ) const;
float GetActualAirRadarValue( float fSongSeconds, PlayerNumber pn ) const;
float GetActualFreezeRadarValue( float fSongSeconds, PlayerNumber pn ) const;
float GetActualChaosRadarValue( float fSongSeconds, PlayerNumber pn ) const;
};
#endif