Remove backgrounds on screens. Have one shared background that persists across screens.

This commit is contained in:
Chris Danford
2004-12-09 08:16:18 +00:00
parent 08964e340b
commit b6d711b3c1
18 changed files with 92 additions and 93 deletions
-8
View File
@@ -412,8 +412,6 @@ ScreenEdit::ScreenEdit( CString sName ) : Screen( sName )
GAMESTATE->ResetNoteSkins();
GAMESTATE->StoreSelectedOptions();
m_BGAnimation.LoadFromAniDir( THEME->GetPathToB("ScreenEdit background") );
shiftAnchor = -1;
@@ -605,7 +603,6 @@ void ScreenEdit::Update( float fDeltaTime )
}
}
m_BGAnimation.Update( fDeltaTime );
m_SnapDisplay.Update( fDeltaTime );
m_NoteFieldEdit.Update( fDeltaTime );
m_In.Update( fDeltaTime );
@@ -713,7 +710,6 @@ void ScreenEdit::DrawPrimitives()
{
case MODE_EDITING:
{
m_BGAnimation.Draw();
m_sprHelp.Draw();
m_textHelp.Draw();
m_sprInfo.Draw();
@@ -733,8 +729,6 @@ void ScreenEdit::DrawPrimitives()
case MODE_RECORDING:
if( PREFSMAN->m_bEditorShowBGChangesPlay )
m_Background.Draw();
else
m_BGAnimation.Draw();
m_NoteFieldRecord.Draw();
if( PREFSMAN->m_bEditorShowBGChangesPlay )
@@ -743,8 +737,6 @@ void ScreenEdit::DrawPrimitives()
case MODE_PLAYING:
if( PREFSMAN->m_bEditorShowBGChangesPlay )
m_Background.Draw();
else
m_BGAnimation.Draw();
m_Player.Draw();
if( PREFSMAN->m_bEditorShowBGChangesPlay )