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:
Glenn Maynard
2003-09-06 01:35:29 +00:00
parent 6862e69559
commit 5ef82e798b
5 changed files with 33 additions and 17 deletions
+2 -1
View File
@@ -21,9 +21,10 @@ StageStats::StageStats()
memset( this, 0, sizeof(StageStats) );
}
void StageStats::operator+=( const StageStats& other )
void StageStats::AddStats( const StageStats& other )
{
pSong = NULL; // meaningless
StageType = STAGE_INVALID; // meaningless
memset( fAliveSeconds, 0, sizeof(fAliveSeconds) );
for( int p=0; p<NUM_PLAYERS; p++ )