precache sounds
This commit is contained in:
@@ -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 );
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -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 );
|
||||||
|
|||||||
Reference in New Issue
Block a user