fix reloading commands; don't rename and reload actors mid-screen
This commit is contained in:
@@ -919,14 +919,12 @@ DifficultyP2OffCommand=linear,0.5;addx,200
|
|||||||
DifficultyP2SetReverseCommand=x,SCREEN_CENTER_X+254;y,SCREEN_CENTER_Y-196;addx,-200;linear,0.5;addx,200;cropbottom,0;croptop,0.5
|
DifficultyP2SetReverseCommand=x,SCREEN_CENTER_X+254;y,SCREEN_CENTER_Y-196;addx,-200;linear,0.5;addx,200;cropbottom,0;croptop,0.5
|
||||||
DifficultyP2SetNoReverseCommand=x,SCREEN_CENTER_X+230;y,SCREEN_CENTER_Y+183;addx,-200;linear,0.5;addx,200;cropbottom,0.5;croptop,0
|
DifficultyP2SetNoReverseCommand=x,SCREEN_CENTER_X+230;y,SCREEN_CENTER_Y+183;addx,-200;linear,0.5;addx,200;cropbottom,0.5;croptop,0
|
||||||
|
|
||||||
LyricsX=SCREEN_CENTER_X+0
|
LyricsSetNoReverseCommand=x,SCREEN_CENTER_X+0;y,SCREEN_CENTER_Y+160
|
||||||
LyricsY=SCREEN_CENTER_Y+160
|
LyricsSetReverseCommand=x,SCREEN_CENTER_X+0;y,SCREEN_CENTER_Y-140
|
||||||
LyricsReverseX=SCREEN_CENTER_X+0
|
|
||||||
LyricsReverseY=SCREEN_CENTER_Y-140
|
|
||||||
# This is used if one player is in reverse and the other isn't.
|
# This is used if one player is in reverse and the other isn't.
|
||||||
LyricsOneReverseX=SCREEN_CENTER_X+0
|
LyricsSetOneReverseCommand=x,SCREEN_CENTER_X+0;y,SCREEN_CENTER_Y-205
|
||||||
LyricsOneReverseY=SCREEN_CENTER_Y-205
|
|
||||||
LyricsDefaultColor=color("0,1,0,1")
|
LyricsDefaultColor=color("0,1,0,1")
|
||||||
|
|
||||||
ActiveAttackListP1X=
|
ActiveAttackListP1X=
|
||||||
ActiveAttackListP1Y=
|
ActiveAttackListP1Y=
|
||||||
ActiveAttackListP1OnCommand=hidden,1
|
ActiveAttackListP1OnCommand=hidden,1
|
||||||
|
|||||||
@@ -678,11 +678,12 @@ void ScreenGameplay::Init()
|
|||||||
this->AddChild( pi->m_pActiveAttackList );
|
this->AddChild( pi->m_pActiveAttackList );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if( g_bShowLyrics )
|
if( g_bShowLyrics )
|
||||||
|
{
|
||||||
|
m_LyricDisplay.SetName( "Lyrics" );
|
||||||
|
LOAD_ALL_COMMANDS( m_LyricDisplay );
|
||||||
this->AddChild( &m_LyricDisplay );
|
this->AddChild( &m_LyricDisplay );
|
||||||
|
}
|
||||||
|
|
||||||
if( !GAMESTATE->m_bDemonstrationOrJukebox ) // only load if we're going to use it
|
if( !GAMESTATE->m_bDemonstrationOrJukebox ) // only load if we're going to use it
|
||||||
{
|
{
|
||||||
@@ -1116,11 +1117,7 @@ void ScreenGameplay::LoadNextSong()
|
|||||||
pi->m_pDifficultyIcon->PlayCommand( bReverse? "SetReverse":"SetNoReverse" );
|
pi->m_pDifficultyIcon->PlayCommand( bReverse? "SetReverse":"SetNoReverse" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_LyricDisplay.PlayCommand( bAllReverse? "SetReverse": bAtLeastOneReverse? "SetOneReverse": "SetNoReverse" );
|
||||||
/* XXX: We want to put the lyrics out of the way, but it's likely that one
|
|
||||||
* player is in reverse and the other isn't. What to do? */
|
|
||||||
m_LyricDisplay.SetName( ssprintf( "Lyrics%s", bAllReverse? "Reverse": (bAtLeastOneReverse? "OneReverse": "")) );
|
|
||||||
LOAD_ALL_COMMANDS_AND_SET_XY( m_LyricDisplay );
|
|
||||||
|
|
||||||
m_SongFinished.Reset();
|
m_SongFinished.Reset();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user