GetPathTo -> GetPath

This commit is contained in:
Chris Danford
2005-02-06 03:32:53 +00:00
parent 7e68ac03b4
commit 4223e09cc8
91 changed files with 422 additions and 447 deletions
+4 -8
View File
@@ -39,23 +39,19 @@ public:
RageTextureID ID;
ID.bStretch = true;
sGraphicPath = ssprintf("LifeMeterBar %snormal", bExtra?"extra ":"");
ID.filename = THEME->GetPathToG(sGraphicPath);
ID.filename = THEME->GetPathG("LifeMeterBar",ssprintf("%snormal", bExtra?"extra ":""));
m_sprStreamNormal.Load( ID );
m_sprStreamNormal.SetUseZBuffer( true );
sGraphicPath = ssprintf("LifeMeterBar %shot", bExtra?"extra ":"");
ID.filename = THEME->GetPathToG(sGraphicPath);
ID.filename = THEME->GetPathG("LifeMeterBar",ssprintf("%shot", bExtra?"extra ":""));
m_sprStreamHot.Load( ID );
m_sprStreamHot.SetUseZBuffer( true );
sGraphicPath = ssprintf("LifeMeterBar %spassing", bExtra?"extra ":"");
ID.filename = THEME->GetPathToG(sGraphicPath);
ID.filename = THEME->GetPathG("LifeMeterBar",ssprintf("%spassing", bExtra?"extra ":""));
m_sprStreamPassing.Load( ID );
m_sprStreamPassing.SetUseZBuffer( true );
sGraphicPath = ssprintf("LifeMeterBar %sframe", bExtra?"extra ":"");
ID.filename = THEME->GetPathToG(sGraphicPath);
ID.filename = THEME->GetPathG("LifeMeterBar",ssprintf("%sframe", bExtra?"extra ":""));
m_sprFrame.Load( ID );
}