remove no-op
This commit is contained in:
@@ -89,22 +89,6 @@ void CourseContentsList::SetFromGameState()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CourseContentsList::TweenInAfterChangedCourse()
|
|
||||||
{
|
|
||||||
/*
|
|
||||||
for( int i=0; i<m_fItemAtPosition0InList; i++ )
|
|
||||||
{
|
|
||||||
CourseEntryDisplay& display = m_CourseContentDisplays[i];
|
|
||||||
|
|
||||||
display.StopTweening();
|
|
||||||
display.SetXY( 0, -((MAX_VISIBLE_CONTENTS-1)/2) * float(CONTENTS_BAR_HEIGHT) );
|
|
||||||
display.BeginTweening( i*0.1f );
|
|
||||||
display.SetY( (-(MAX_VISIBLE_CONTENTS-1)/2 + i) * float(CONTENTS_BAR_HEIGHT) );
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// lua start
|
// lua start
|
||||||
#include "LuaBinding.h"
|
#include "LuaBinding.h"
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ public:
|
|||||||
void LoadFromNode( const RString& sDir, const XNode* pNode );
|
void LoadFromNode( const RString& sDir, const XNode* pNode );
|
||||||
|
|
||||||
void SetFromGameState();
|
void SetFromGameState();
|
||||||
void TweenInAfterChangedCourse();
|
|
||||||
|
|
||||||
// Lua
|
// Lua
|
||||||
void PushSelf( lua_State *L );
|
void PushSelf( lua_State *L );
|
||||||
|
|||||||
@@ -1236,10 +1236,7 @@ void ScreenSelectMusic::AfterTrailChange( const vector<PlayerNumber> &vpns )
|
|||||||
/* Update the trail list, but don't actually start the tween; only do that when
|
/* Update the trail list, but don't actually start the tween; only do that when
|
||||||
* the actual course changes (AfterMusicChange). */
|
* the actual course changes (AfterMusicChange). */
|
||||||
if( SHOW_COURSE_CONTENTS )
|
if( SHOW_COURSE_CONTENTS )
|
||||||
{
|
|
||||||
m_CourseContents.SetFromGameState();
|
m_CourseContents.SetFromGameState();
|
||||||
// m_CourseContents.TweenInAfterChangedCourse();
|
|
||||||
}
|
|
||||||
|
|
||||||
m_DifficultyMeter[pn].SetFromGameState( pn );
|
m_DifficultyMeter[pn].SetFromGameState( pn );
|
||||||
m_GrooveRadar.SetEmpty( pn );
|
m_GrooveRadar.SetEmpty( pn );
|
||||||
@@ -1605,14 +1602,6 @@ void ScreenSelectMusic::AfterMusicChange()
|
|||||||
AfterTrailChange( vpns );
|
AfterTrailChange( vpns );
|
||||||
else
|
else
|
||||||
AfterStepsChange( vpns );
|
AfterStepsChange( vpns );
|
||||||
|
|
||||||
switch( m_MusicWheel.GetSelectedType() )
|
|
||||||
{
|
|
||||||
case TYPE_COURSE:
|
|
||||||
if( SHOW_COURSE_CONTENTS )
|
|
||||||
m_CourseContents.TweenInAfterChangedCourse();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// lua start
|
// lua start
|
||||||
|
|||||||
Reference in New Issue
Block a user