fix LifeMeterBar stream alignment

This commit is contained in:
Chris Danford
2003-05-05 04:03:49 +00:00
parent 558ef9e275
commit 7385581ccd
+8 -3
View File
@@ -57,15 +57,20 @@ public:
m_quadMask.SetZ( 1 ); m_quadMask.SetZ( 1 );
CString sGraphicPath; CString sGraphicPath;
RageTextureID ID;
ID.bStretch = true;
sGraphicPath = ssprintf("LifeMeterBar %snormal", bExtra?"extra ":""); sGraphicPath = ssprintf("LifeMeterBar %snormal", bExtra?"extra ":"");
m_sprStreamNormal.Load( THEME->GetPathToG( sGraphicPath) ); ID.filename = THEME->GetPathToG(sGraphicPath);
m_sprStreamNormal.Load( ID );
sGraphicPath = ssprintf("LifeMeterBar %shot", bExtra?"extra ":""); sGraphicPath = ssprintf("LifeMeterBar %shot", bExtra?"extra ":"");
m_sprStreamHot.Load( THEME->GetPathToG( sGraphicPath) ); ID.filename = THEME->GetPathToG(sGraphicPath);
m_sprStreamHot.Load( ID );
sGraphicPath = ssprintf("LifeMeterBar %sframe", bExtra?"extra ":""); sGraphicPath = ssprintf("LifeMeterBar %sframe", bExtra?"extra ":"");
m_sprFrame.Load( THEME->GetPathToG( sGraphicPath) ); ID.filename = THEME->GetPathToG(sGraphicPath);
m_sprFrame.Load( ID );
} }
Sprite m_sprStreamNormal; Sprite m_sprStreamNormal;