metrics cleanup

This commit is contained in:
Chris Danford
2004-11-07 10:38:20 +00:00
parent 936dfd4d9d
commit d08e8b9d96
3 changed files with 4 additions and 3 deletions
+1 -2
View File
@@ -530,8 +530,7 @@ void PlayerMinus::DrawPrimitives()
DISPLAY->CameraPushMatrix(); DISPLAY->CameraPushMatrix();
DISPLAY->PushMatrix(); DISPLAY->PushMatrix();
float fCenterY = (GRAY_ARROWS_Y_STANDARD+GRAY_ARROWS_Y_REVERSE)/2; float fCenterY = this->GetY()+(GRAY_ARROWS_Y_STANDARD+GRAY_ARROWS_Y_REVERSE)/2;
// float fHeight = GRAY_ARROWS_Y_REVERSE-GRAY_ARROWS_Y_STANDARD;
DISPLAY->LoadMenuPerspective( 45, SCALE(fSkew,0.f,1.f,this->GetX(),SCREEN_CENTER_X), fCenterY ); DISPLAY->LoadMenuPerspective( 45, SCALE(fSkew,0.f,1.f,this->GetX(),SCREEN_CENTER_X), fCenterY );
+1 -1
View File
@@ -9,7 +9,7 @@ ScreenLogo::ScreenLogo( CString sName ) : ScreenAttract( sName )
{ {
m_sprLogo.SetName( "Logo" ); m_sprLogo.SetName( "Logo" );
m_sprLogo.Load( THEME->GetPathG("ScreenLogo",GAMESTATE->GetCurrentGame()->m_szName) ); m_sprLogo.Load( THEME->GetPathG("ScreenLogo",GAMESTATE->GetCurrentGame()->m_szName) );
ON_COMMAND( m_sprLogo ); SET_XY_AND_ON_COMMAND( m_sprLogo );
this->AddChild( &m_sprLogo ); this->AddChild( &m_sprLogo );
this->SortByDrawOrder(); this->SortByDrawOrder();
+2
View File
@@ -201,6 +201,8 @@ void ThemeManager::LoadThemeRecursive( deque<Theme> &theme, const CString &sThem
continue; continue;
if( sName.Right(8) == "SpacingX" || sName.Right(8) == "SpacingY" ) if( sName.Right(8) == "SpacingX" || sName.Right(8) == "SpacingY" )
continue; continue;
if( sName.Right(7) == "OffsetX" || sName.Right(7) == "OffsetY" )
continue;
int i = atoi( sValue ); int i = atoi( sValue );
if( sName.Right(1) == "X" ) if( sName.Right(1) == "X" )