make calls to THEME->GetPathTo() more concise

This commit is contained in:
Chris Danford
2003-04-12 17:39:27 +00:00
parent 625b1beb04
commit 448bdc7b6e
96 changed files with 508 additions and 513 deletions
+3 -3
View File
@@ -59,13 +59,13 @@ public:
CString sGraphicPath;
sGraphicPath = ssprintf("LifeMeterBar %snormal", bExtra?"extra ":"");
m_sprStreamNormal.Load( THEME->GetPathTo("Graphics", sGraphicPath) );
m_sprStreamNormal.Load( THEME->GetPathToG( sGraphicPath) );
sGraphicPath = ssprintf("LifeMeterBar %shot", bExtra?"extra ":"");
m_sprStreamHot.Load( THEME->GetPathTo("Graphics", sGraphicPath) );
m_sprStreamHot.Load( THEME->GetPathToG( sGraphicPath) );
sGraphicPath = ssprintf("LifeMeterBar %sframe", bExtra?"extra ":"");
m_sprFrame.Load( THEME->GetPathTo("Graphics", sGraphicPath) );
m_sprFrame.Load( THEME->GetPathToG( sGraphicPath) );
}
Sprite m_sprStreamNormal;