Eliminate SCREEN_WIDTH/HEIGHT from RDisplay. It's up to the

user code to pass the desired camera space dimensions to
LoadMenuPerspective (normally done by Screen).  SDimensions.h
is high-level.
This commit is contained in:
Glenn Maynard
2005-12-29 18:33:03 +00:00
parent 118297bdd5
commit cdd516fd74
5 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -799,7 +799,7 @@ void Player::DrawPrimitives()
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 );
DISPLAY->LoadMenuPerspective( 45, SCREEN_WIDTH, SCREEN_HEIGHT, SCALE(fSkew,0.f,1.f,this->GetX(),SCREEN_CENTER_X), fCenterY );
if( m_pNoteField )
{