more stats.html categories

This commit is contained in:
Chris Danford
2003-12-09 10:20:18 +00:00
parent d4397d4644
commit 8d6b19ad7a
7 changed files with 154 additions and 44 deletions
+3 -1
View File
@@ -33,12 +33,14 @@ void StageStats::AddStats( const StageStats& other )
{
pSong = NULL; // meaningless
StageType = STAGE_INVALID; // meaningless
memset( fAliveSeconds, 0, sizeof(fAliveSeconds) );
memset( fAliveSeconds, 0, sizeof(fAliveSeconds) ); // why? -Chris
// weight long and marathon songs
ASSERT( other.pSong );
const int iLengthMultiplier = SongManager::GetNumStagesForSong( other.pSong );
fGameplaySeconds += other.fGameplaySeconds;
for( int p=0; p<NUM_PLAYERS; p++ )
{
pSteps[p] = NULL;