metrics cleanup
This commit is contained in:
@@ -530,8 +530,7 @@ void PlayerMinus::DrawPrimitives()
|
||||
DISPLAY->CameraPushMatrix();
|
||||
DISPLAY->PushMatrix();
|
||||
|
||||
float fCenterY = (GRAY_ARROWS_Y_STANDARD+GRAY_ARROWS_Y_REVERSE)/2;
|
||||
// float fHeight = GRAY_ARROWS_Y_REVERSE-GRAY_ARROWS_Y_STANDARD;
|
||||
float fCenterY = this->GetY()+(GRAY_ARROWS_Y_STANDARD+GRAY_ARROWS_Y_REVERSE)/2;
|
||||
|
||||
DISPLAY->LoadMenuPerspective( 45, SCALE(fSkew,0.f,1.f,this->GetX(),SCREEN_CENTER_X), fCenterY );
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ ScreenLogo::ScreenLogo( CString sName ) : ScreenAttract( sName )
|
||||
{
|
||||
m_sprLogo.SetName( "Logo" );
|
||||
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->SortByDrawOrder();
|
||||
|
||||
@@ -201,6 +201,8 @@ void ThemeManager::LoadThemeRecursive( deque<Theme> &theme, const CString &sThem
|
||||
continue;
|
||||
if( sName.Right(8) == "SpacingX" || sName.Right(8) == "SpacingY" )
|
||||
continue;
|
||||
if( sName.Right(7) == "OffsetX" || sName.Right(7) == "OffsetY" )
|
||||
continue;
|
||||
|
||||
int i = atoi( sValue );
|
||||
if( sName.Right(1) == "X" )
|
||||
|
||||
Reference in New Issue
Block a user