Changed naming convention in theme elements from "game 0" -> "dance", and "style 0" -> "single" so things won't break if we change the game/style ordering. Cleaned up ez2: replaced missing graphics, fixed alignment of lifemeter.

This commit is contained in:
Chris Danford
2002-09-15 03:50:57 +00:00
parent 02bfd77a8a
commit 35688cfea5
7 changed files with 53 additions and 43 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ void MenuElements::Load( CString sBackgroundPath, CString sTopEdgePath, CString
m_sprTopEdge.Load( sTopEdgePath );
m_sprTopEdge.SetXY( TOP_EDGE_X, TOP_EDGE_Y );
m_sprStyleIcon.Load( THEME->GetPathTo("Graphics",ssprintf("menu style icons game %d",GAMESTATE->m_CurGame)) );
m_sprStyleIcon.Load( THEME->GetPathTo("Graphics",ssprintf("menu style icons %s",GAMESTATE->GetCurrentGameDef()->m_szName)) );
m_sprStyleIcon.StopAnimating();
m_sprStyleIcon.SetXY( STYLE_ICON_X, STYLE_ICON_Y );
if( GAMESTATE->m_CurStyle == STYLE_NONE || !bShowStyleIcon )