comment + cleanup
This commit is contained in:
@@ -82,6 +82,7 @@ void ScreenHowToPlay::Init()
|
|||||||
m_pmDancePad = new Model;
|
m_pmDancePad = new Model;
|
||||||
m_pmDancePad->SetName( "Pad" );
|
m_pmDancePad->SetName( "Pad" );
|
||||||
m_pmDancePad->LoadMilkshapeAscii( GetAnimPath(ANIM_DANCE_PAD) );
|
m_pmDancePad->LoadMilkshapeAscii( GetAnimPath(ANIM_DANCE_PAD) );
|
||||||
|
// xxx: hardcoded rotation -freem
|
||||||
m_pmDancePad->SetRotationX( 35 );
|
m_pmDancePad->SetRotationX( 35 );
|
||||||
LOAD_ALL_COMMANDS_AND_SET_XY_AND_ON_COMMAND( m_pmDancePad );
|
LOAD_ALL_COMMANDS_AND_SET_XY_AND_ON_COMMAND( m_pmDancePad );
|
||||||
}
|
}
|
||||||
@@ -110,6 +111,7 @@ void ScreenHowToPlay::Init()
|
|||||||
m_pmCharacter->SetDefaultAnimation( "rest" );
|
m_pmCharacter->SetDefaultAnimation( "rest" );
|
||||||
m_pmCharacter->PlayAnimation( "rest" ); // Stay bouncing after a step has finished animating.
|
m_pmCharacter->PlayAnimation( "rest" ); // Stay bouncing after a step has finished animating.
|
||||||
|
|
||||||
|
// xxx: hardcoded rotation -freem
|
||||||
m_pmCharacter->SetRotationX( 40 );
|
m_pmCharacter->SetRotationX( 40 );
|
||||||
m_pmCharacter->SetCullMode( CULL_NONE ); // many of the models floating around have the vertex order flipped
|
m_pmCharacter->SetCullMode( CULL_NONE ); // many of the models floating around have the vertex order flipped
|
||||||
LOAD_ALL_COMMANDS_AND_SET_XY_AND_ON_COMMAND( m_pmCharacter );
|
LOAD_ALL_COMMANDS_AND_SET_XY_AND_ON_COMMAND( m_pmCharacter );
|
||||||
@@ -126,7 +128,6 @@ void ScreenHowToPlay::Init()
|
|||||||
LOAD_ALL_COMMANDS_AND_SET_XY_AND_ON_COMMAND( m_pLifeMeterBar );
|
LOAD_ALL_COMMANDS_AND_SET_XY_AND_ON_COMMAND( m_pLifeMeterBar );
|
||||||
m_pLifeMeterBar->FillForHowToPlay( NUM_W2S, NUM_MISSES );
|
m_pLifeMeterBar->FillForHowToPlay( NUM_W2S, NUM_MISSES );
|
||||||
|
|
||||||
|
|
||||||
SMLoader::LoadFromSMFile( THEME->GetPathO(m_sName, "steps"), m_Song, false );
|
SMLoader::LoadFromSMFile( THEME->GetPathO(m_sName, "steps"), m_Song, false );
|
||||||
m_Song.AddAutoGenNotes();
|
m_Song.AddAutoGenNotes();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user