precache sounds

This commit is contained in:
Chris Danford
2005-03-16 02:18:03 +00:00
parent 4814f96218
commit 90a470ab4a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ void ScreenEvaluation::Init()
// //
// load other sounds // load other sounds
// //
m_soundStart.Load( THEME->GetPathS(m_sName,"start") ); m_soundStart.Load( THEME->GetPathS(m_sName,"start"), true );
// //
+2 -2
View File
@@ -110,8 +110,8 @@ void ScreenOptions::Init()
m_SoundChangeCol.Load( THEME->GetPathS(m_sName,"change"), true ); m_SoundChangeCol.Load( THEME->GetPathS(m_sName,"change"), true );
m_SoundNextRow.Load( THEME->GetPathS(m_sName,"next"), true ); m_SoundNextRow.Load( THEME->GetPathS(m_sName,"next"), true );
m_SoundPrevRow.Load( THEME->GetPathS(m_sName,"prev"), true ); m_SoundPrevRow.Load( THEME->GetPathS(m_sName,"prev"), true );
m_SoundToggleOn.Load( THEME->GetPathS(m_sName,"toggle on") ); m_SoundToggleOn.Load( THEME->GetPathS(m_sName,"toggle on"), true );
m_SoundToggleOff.Load( THEME->GetPathS(m_sName,"toggle off") ); m_SoundToggleOff.Load( THEME->GetPathS(m_sName,"toggle off"), true );
// add everything to m_framePage so we can animate everything at once // add everything to m_framePage so we can animate everything at once
this->AddChild( &m_framePage ); this->AddChild( &m_framePage );