basic support for 5th scoring mode (only adjusts max score value right now)

This commit is contained in:
Andrew Wong
2003-08-11 09:58:18 +00:00
parent 94e3b62b10
commit d017385257
7 changed files with 652 additions and 39 deletions
+11 -1
View File
@@ -32,6 +32,7 @@
#include "ThemeManager.h"
#include "RageTimer.h"
#include "ScoreKeeperMAX2.h"
#include "ScoreKeeper5th.h"
#include "ScoreKeeperRave.h"
#include "NoteFieldPositioning.h"
#include "LyricsLoader.h"
@@ -181,7 +182,16 @@ ScreenGameplay::ScreenGameplay( bool bDemonstration ) : Screen("ScreenGameplay")
{
if( !GAMESTATE->IsPlayerEnabled(p) )
continue; // skip
m_pPrimaryScoreKeeper[p] = new ScoreKeeperMAX2( m_apNotesQueue[p], (PlayerNumber)p );
switch (PREFSMAN->m_iScoringType)
{
case (PrefsManager::SCORING_MAX2):
m_pPrimaryScoreKeeper[p] = new ScoreKeeperMAX2( m_apNotesQueue[p], (PlayerNumber)p );
break;
case (PrefsManager::SCORING_5TH):
m_pPrimaryScoreKeeper[p] = new ScoreKeeper5th( m_apNotesQueue[p], (PlayerNumber)p );
break;
}
switch( GAMESTATE->m_PlayMode )
{