From 577c8567d470c324b82232f94c82d493154e2e70 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 14 Apr 2003 23:09:35 +0000 Subject: [PATCH] get rid of the frame; it helps less now than it did when I added it, and the combo needs to be above the backdrop --- stepmania/src/Player.cpp | 22 ++++++++++++++-------- stepmania/src/Player.h | 1 - 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index d6addf9065..f1f4c1ace6 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -62,11 +62,10 @@ Player::Player() m_iOffsetSample = 0; - m_ArrowFrame.AddChild(&m_ArrowBackdrop); - m_ArrowFrame.AddChild(&m_NoteField); - m_ArrowFrame.AddChild(&m_GrayArrowRow); - m_ArrowFrame.AddChild(&m_GhostArrowRow); - this->AddChild( &m_ArrowFrame ); + this->AddChild( &m_ArrowBackdrop ); + this->AddChild( &m_NoteField ); + this->AddChild( &m_GrayArrowRow ); + this->AddChild( &m_GhostArrowRow ); this->AddChild( &m_Judgment ); this->AddChild( &m_Combo ); for( int c=0; cm_ColumnInfo[pn][c].fXOffset ); } - m_ArrowFrame.SetY( bReverse ? SCREEN_BOTTOM-GRAY_ARROWS_Y : SCREEN_TOP+GRAY_ARROWS_Y ); + m_ArrowBackdrop.SetY( bReverse ? SCREEN_BOTTOM-GRAY_ARROWS_Y : SCREEN_TOP+GRAY_ARROWS_Y ); + m_NoteField.SetY( bReverse ? SCREEN_BOTTOM-GRAY_ARROWS_Y : SCREEN_TOP+GRAY_ARROWS_Y ); + m_GrayArrowRow.SetY( bReverse ? SCREEN_BOTTOM-GRAY_ARROWS_Y : SCREEN_TOP+GRAY_ARROWS_Y ); + m_GhostArrowRow.SetY( bReverse ? SCREEN_BOTTOM-GRAY_ARROWS_Y : SCREEN_TOP+GRAY_ARROWS_Y ); if( GAMESTATE->m_PlayerOptions[pn].m_fEffects[PlayerOptions::EFFECT_MINI] == 1 ) { @@ -268,7 +270,9 @@ void Player::Update( float fDeltaTime ) void Player::DrawPrimitives() { - m_Combo.Draw(); // draw this below everything else + // Draw these below everything else. + m_ArrowBackdrop.Draw(); + m_Combo.Draw(); float fTilt = GAMESTATE->m_CurrentPlayerOptions[m_PlayerNumber].m_fPerspectiveTilt; bool bReverse = GAMESTATE->m_CurrentPlayerOptions[m_PlayerNumber].m_fReverseScroll==1; @@ -288,7 +292,9 @@ void Player::DrawPrimitives() DISPLAY->LookAt(Eye, At, Up); } - m_ArrowFrame.Draw(); + m_GrayArrowRow.Draw(); + m_NoteField.Draw(); + m_GhostArrowRow.Draw(); if( fTilt != 0 ) DISPLAY->ExitPerspective(); diff --git a/stepmania/src/Player.h b/stepmania/src/Player.h index e5549d749f..18129455e9 100644 --- a/stepmania/src/Player.h +++ b/stepmania/src/Player.h @@ -74,7 +74,6 @@ protected: GrayArrowRow m_GrayArrowRow; NoteField m_NoteField; GhostArrowRow m_GhostArrowRow; - ActorFrame m_ArrowFrame; HoldJudgment m_HoldJudgment[MAX_NOTE_TRACKS];