metrics cleanup
This commit is contained in:
@@ -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 );
|
||||||
|
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
@@ -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" )
|
||||||
|
|||||||
Reference in New Issue
Block a user