...fix ScreenHowToPlay not showing notes. Yes, I'm surprised as you are.
This commit is contained in:
@@ -8,6 +8,10 @@ ________________________________________________________________________________
|
|||||||
StepMania 5.0 ???? ?? | 20120???
|
StepMania 5.0 ???? ?? | 20120???
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
2012/07/03
|
||||||
|
----------
|
||||||
|
* [ScreenHowToPlay] Actually shows notes again. [AJ]
|
||||||
|
|
||||||
2012/07/02
|
2012/07/02
|
||||||
----------
|
----------
|
||||||
* [ScreenHowToPlay] Run InitCommand on Characters if enabled. [AJ]
|
* [ScreenHowToPlay] Run InitCommand on Characters if enabled. [AJ]
|
||||||
|
|||||||
@@ -128,9 +128,11 @@ void ScreenHowToPlay::Init()
|
|||||||
|
|
||||||
if( USE_PLAYER )
|
if( USE_PLAYER )
|
||||||
{
|
{
|
||||||
|
GAMESTATE->SetMasterPlayerNumber(PLAYER_1);
|
||||||
|
|
||||||
m_pLifeMeterBar = new LifeMeterBar;
|
m_pLifeMeterBar = new LifeMeterBar;
|
||||||
m_pLifeMeterBar->SetName("LifeMeterBar");
|
|
||||||
m_pLifeMeterBar->Load( GAMESTATE->m_pPlayerState[PLAYER_1], &STATSMAN->m_CurStageStats.m_player[PLAYER_1] );
|
m_pLifeMeterBar->Load( GAMESTATE->m_pPlayerState[PLAYER_1], &STATSMAN->m_CurStageStats.m_player[PLAYER_1] );
|
||||||
|
m_pLifeMeterBar->SetName("LifeMeterBar");
|
||||||
ActorUtil::LoadAllCommandsAndSetXY( m_pLifeMeterBar, m_sName );
|
ActorUtil::LoadAllCommandsAndSetXY( m_pLifeMeterBar, m_sName );
|
||||||
m_pLifeMeterBar->FillForHowToPlay( NUM_W2S, NUM_MISSES );
|
m_pLifeMeterBar->FillForHowToPlay( NUM_W2S, NUM_MISSES );
|
||||||
|
|
||||||
@@ -177,7 +179,6 @@ void ScreenHowToPlay::Init()
|
|||||||
|
|
||||||
// Don't show judgment
|
// Don't show judgment
|
||||||
PO_GROUP_ASSIGN( GAMESTATE->m_pPlayerState[PLAYER_1]->m_PlayerOptions, ModsLevel_Stage, m_fBlind, 1.0f );
|
PO_GROUP_ASSIGN( GAMESTATE->m_pPlayerState[PLAYER_1]->m_PlayerOptions, ModsLevel_Stage, m_fBlind, 1.0f );
|
||||||
GAMESTATE->SetMasterPlayerNumber(PLAYER_1);
|
|
||||||
GAMESTATE->m_bDemonstrationOrJukebox = true;
|
GAMESTATE->m_bDemonstrationOrJukebox = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -248,7 +249,8 @@ void ScreenHowToPlay::Update( float fDelta )
|
|||||||
{
|
{
|
||||||
if( GAMESTATE->m_pCurSong != NULL )
|
if( GAMESTATE->m_pCurSong != NULL )
|
||||||
{
|
{
|
||||||
GAMESTATE->UpdateSongPosition( m_fFakeSecondsIntoSong, GAMESTATE->m_pCurSong->m_SongTiming );
|
RageTimer tm;
|
||||||
|
GAMESTATE->UpdateSongPosition( m_fFakeSecondsIntoSong, GAMESTATE->m_pCurSong->m_SongTiming, tm, true );
|
||||||
m_fFakeSecondsIntoSong += fDelta;
|
m_fFakeSecondsIntoSong += fDelta;
|
||||||
|
|
||||||
static int iLastNoteRowCounted = 0;
|
static int iLastNoteRowCounted = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user