Rename StageStats::operator+= to AddStats. (easier to grep for)
Keep track of whether each stage in StageStats was an extra stage. GAMESTATE->m_vPassedStageStats now holds all played songs, including failed ones (renaming in a moment). GameState::GetFinalEvalStatsAndSongs logic was weird. Simplify.
This commit is contained in:
@@ -189,6 +189,13 @@ ScreenGameplay::ScreenGameplay( bool bDemonstration ) : Screen("ScreenGameplay")
|
||||
GAMESTATE->m_CurStageStats.iMeter[p] = m_apNotesQueue[p][0]->GetMeter();
|
||||
}
|
||||
|
||||
if( GAMESTATE->IsExtraStage() )
|
||||
GAMESTATE->m_CurStageStats.StageType = StageStats::STAGE_EXTRA;
|
||||
else if( GAMESTATE->IsExtraStage2() )
|
||||
GAMESTATE->m_CurStageStats.StageType = StageStats::STAGE_EXTRA2;
|
||||
else
|
||||
GAMESTATE->m_CurStageStats.StageType = StageStats::STAGE_NORMAL;
|
||||
|
||||
//
|
||||
// Init ScoreKeepers
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user