Use a PlayerStageStats rather than indexing into STATSMAN with a PlayerNumber.

This commit is contained in:
Steve Checkoway
2006-07-10 00:02:07 +00:00
parent c090130108
commit 0b8e8f8512
3 changed files with 25 additions and 27 deletions
+2 -4
View File
@@ -3,20 +3,18 @@
#ifndef NOTEDATAWITHSCORING_H
#define NOTEDATAWITHSCORING_H
#include "GameConstantsAndTypes.h"
#include "PlayerNumber.h"
#include "NoteTypes.h"
#include <map>
struct RadarValues;
class NoteData;
class PlayerStageStats;
namespace NoteDataWithScoring
{
bool IsRowCompletelyJudged( const NoteData &in, unsigned iRow );
TapNoteScore MinTapNoteScore( const NoteData &in, unsigned iRow );
TapNoteResult LastTapNoteResult( const NoteData &in, unsigned iRow );
void GetActualRadarValues( const NoteData &in, PlayerNumber pn, float fSongSeconds, RadarValues& out );
void GetActualRadarValues( const NoteData &in, const PlayerStageStats &pss, float fSongSeconds, RadarValues& out );
};
#endif