remove all battle-related theme elements

fix order of options on ScreenOptionsMenu
default theme uses ScreenSelectDifficulty, NOT ScreenSelectDifficultyEx
This commit is contained in:
Chris Danford
2003-02-28 06:36:45 +00:00
parent 33239f43e0
commit 5e3a97c45f
3 changed files with 11 additions and 5 deletions
+9 -3
View File
@@ -26,9 +26,15 @@ Inventory::Inventory()
{
RefreshPossibleItems();
m_soundAcquireItem.Load( THEME->GetPathTo("Sounds","gameplay battle aquire item") );
m_soundUseItem.Load( THEME->GetPathTo("Sounds","gameplay battle use item") );
m_soundItemEnding.Load( THEME->GetPathTo("Sounds","gameplay battle item ending") );
// don't load battle sounds if they're not going to be used
switch( GAMESTATE->m_PlayMode )
{
case PLAY_MODE_BATTLE:
m_soundAcquireItem.Load( THEME->GetPathTo("Sounds","gameplay battle aquire item") );
m_soundUseItem.Load( THEME->GetPathTo("Sounds","gameplay battle use item") );
m_soundItemEnding.Load( THEME->GetPathTo("Sounds","gameplay battle item ending") );
break;
}
}
void Inventory::RefreshPossibleItems()