SurviveSeconds -> AliveSeconds
This commit is contained in:
@@ -175,7 +175,7 @@ void HighScore::SetName( const RString &sName ) { m_Impl->sName = sName; }
|
||||
void HighScore::SetGrade( Grade g ) { m_Impl->grade = g; }
|
||||
void HighScore::SetScore( int iScore ) { m_Impl->iScore = iScore; }
|
||||
void HighScore::SetPercentDP( float f ) { m_Impl->fPercentDP = f; }
|
||||
void HighScore::SetSurviveSeconds( float f ) { m_Impl->fSurviveSeconds = f; }
|
||||
void HighScore::SetAliveSeconds( float f ) { m_Impl->fSurviveSeconds = f; }
|
||||
void HighScore::SetModifiers( RString s ) { m_Impl->sModifiers = s; }
|
||||
void HighScore::SetDateTime( DateTime d ) { m_Impl->dateTime = d; }
|
||||
void HighScore::SetPlayerGuid( RString s ) { m_Impl->sPlayerGuid = s; }
|
||||
|
||||
@@ -37,7 +37,7 @@ struct HighScore
|
||||
void SetGrade( Grade g );
|
||||
void SetScore( int iScore );
|
||||
void SetPercentDP( float f );
|
||||
void SetSurviveSeconds( float f );
|
||||
void SetAliveSeconds( float f );
|
||||
void SetModifiers( RString s );
|
||||
void SetDateTime( DateTime d );
|
||||
void SetPlayerGuid( RString s );
|
||||
|
||||
@@ -797,7 +797,7 @@ static HighScore MakeRandomHighScore( float fPercentDP )
|
||||
hs.SetGrade( g );
|
||||
hs.SetScore( RandomInt(100*1000) );
|
||||
hs.SetPercentDP( fPercentDP );
|
||||
hs.SetSurviveSeconds( randomf(30.0f, 100.0f) );
|
||||
hs.SetAliveSeconds( randomf(30.0f, 100.0f) );
|
||||
PlayerOptions po;
|
||||
po.ChooseRandomModifiers();
|
||||
hs.SetModifiers( po.GetString() );
|
||||
|
||||
@@ -2583,10 +2583,10 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )
|
||||
// show the survive time if extra stage
|
||||
if( GAMESTATE->IsAnExtraStage() )
|
||||
{
|
||||
float fMaxSurviveSeconds = 0;
|
||||
float fMaxAliveSeconds = 0;
|
||||
FOREACH_EnabledPlayer(p)
|
||||
fMaxSurviveSeconds = max( fMaxSurviveSeconds, STATSMAN->m_CurStageStats.m_player[p].m_fAliveSeconds );
|
||||
m_textSurviveTime.SetText( "TIME: " + SecondsToMMSSMsMs(fMaxSurviveSeconds) );
|
||||
fMaxAliveSeconds = max( fMaxAliveSeconds, STATSMAN->m_CurStageStats.m_player[p].m_fAliveSeconds );
|
||||
m_textSurviveTime.SetText( "TIME: " + SecondsToMMSSMsMs(fMaxAliveSeconds) );
|
||||
ON_COMMAND( m_textSurviveTime );
|
||||
}
|
||||
|
||||
|
||||
@@ -167,7 +167,7 @@ void StageStats::CommitScores( bool bSummary )
|
||||
hs.SetGrade( m_player[p].GetGrade() );
|
||||
hs.SetScore( m_player[p].m_iScore );
|
||||
hs.SetPercentDP( m_player[p].GetPercentDancePoints() );
|
||||
hs.SetSurviveSeconds( m_player[p].m_fAliveSeconds );
|
||||
hs.SetAliveSeconds( m_player[p].m_fAliveSeconds );
|
||||
|
||||
vector<RString> asModifiers;
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user