EZ2dancer Theme Update
This commit is contained in:
@@ -23,7 +23,9 @@ DifficultyRating::DifficultyRating()
|
||||
pNewSprite->Load( THEME->GetPathToG("Select Music DifficultyRatingIcon") );
|
||||
m_apSprites.push_back( pNewSprite );
|
||||
m_apSprites[i]->SetDiffuse( RageColor(1,1,1,0) );
|
||||
// this->AddChild(m_apSprites[i]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
DifficultyRating::~DifficultyRating()
|
||||
@@ -56,6 +58,14 @@ void DifficultyRating::SetDifficulty(int Difficulty)
|
||||
|
||||
}
|
||||
|
||||
void DifficultyRating::Update(float fDeltaTime)
|
||||
{
|
||||
for(int i=0; i<iMaxElements; i++)
|
||||
{
|
||||
m_apSprites[i]->Update(fDeltaTime);
|
||||
}
|
||||
}
|
||||
|
||||
void DifficultyRating::SetOrientation(int Orientation)
|
||||
{
|
||||
if(Orientation == ORIENTATION_LEFT)
|
||||
|
||||
@@ -24,6 +24,7 @@ public:
|
||||
void SetDifficulty(int Difficulty);
|
||||
void SetOrientation(int Orientation);
|
||||
virtual void DrawPrimitives();
|
||||
virtual void Update(float fDeltaTime);
|
||||
private:
|
||||
int iMaxElements;
|
||||
int iOrientation;
|
||||
|
||||
@@ -481,6 +481,8 @@ void ScreenEz2SelectMusic::MenuStart( PlayerNumber pn )
|
||||
|
||||
void ScreenEz2SelectMusic::Update( float fDeltaTime )
|
||||
{
|
||||
m_DifficultyRating.Update(fDeltaTime);
|
||||
|
||||
if(i_SkipAheadOffset > 0 && RageTimer::GetTimeSinceStart() - LastInputTime < 0.5)
|
||||
{
|
||||
m_MusicBannerWheel.SetScanMode(true);
|
||||
|
||||
Reference in New Issue
Block a user