Ez2dancer Metric Configurable Animated Style Select Backgrounds Back!!

This commit is contained in:
Andrew Livy
2002-09-13 18:06:36 +00:00
parent a0fb710580
commit 05420d9bb4
10 changed files with 145 additions and 7 deletions
+12
View File
@@ -38,6 +38,18 @@ MenuTimer::MenuTimer()
m_soundBeep.Load( THEME->GetPathTo("Sounds","menu timer") );
}
void MenuTimer::StealthTimer( int iActive )
{
if ( iActive == 0 ) // we wanna keep everything as it is...
{
m_soundBeep.Load( THEME->GetPathTo("Sounds","menu timer") ); // reload the sound
}
else if ( iActive == 1 ) // otherwise we wanna make the timer invisible and silent....
{
m_soundBeep.Unload(); // unload the sound
}
// else take no action
}
void MenuTimer::Update( float fDeltaTime )
{