Add roulette and random music on ScreenSelectMusic

This commit is contained in:
Chris Danford
2003-03-25 22:23:58 +00:00
parent 0607fe9698
commit 53dda2b1db
6 changed files with 38 additions and 19 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ void BPMDisplay::Update( float fDeltaTime )
if( m_fTimeLeftInState < 0 )
{
// XXX: the numbers font doesn't have "?".
m_textBPM.SetText( (RandomFloat(0,1)>0.90) ? "???" : ssprintf("%03.0f",RandomFloat(0,600)) );
m_textBPM.SetText( (RandomFloat(0,1)>0.90) ? "%%%" : ssprintf("%03.0f",RandomFloat(0,600)) );
m_fTimeLeftInState = 0.2f; // reset timer
}
}