option icons working, new font format, more theme metrics cleanup
This commit is contained in:
@@ -53,14 +53,14 @@ void LifeMeterBattery::Load( PlayerNumber pn )
|
||||
if( bPlayerEnabled )
|
||||
this->AddChild( &m_sprBattery );
|
||||
|
||||
m_textNumLives.LoadFromFont( THEME->GetPathTo("Fonts","header1") );
|
||||
m_textNumLives.LoadFromTextureAndChars( THEME->GetPathTo("Graphics","gameplay battery life numbers 7x2"), "01234 :56789%." );
|
||||
m_textNumLives.SetDiffuse( D3DXCOLOR(1,1,1,1) ); // pink
|
||||
m_textNumLives.SetZoom( 1.1f );
|
||||
m_textNumLives.TurnShadowOff();
|
||||
if( bPlayerEnabled )
|
||||
this->AddChild( &m_textNumLives );
|
||||
|
||||
m_textPercent.LoadFromFont( THEME->GetPathTo("Fonts","score numbers") );
|
||||
m_textPercent.LoadFromTextureAndChars( THEME->GetPathTo("Graphics","gameplay battery percent numbers 7x2"), "01234 :56789%." );
|
||||
m_textPercent.TurnShadowOff();
|
||||
m_textPercent.SetZoom( 0.7f );
|
||||
m_textPercent.SetText( "00.0" );
|
||||
|
||||
Reference in New Issue
Block a user