[loading window] Note to self: check if it compiles before commiting.
This commit is contained in:
@@ -56,12 +56,12 @@ void ScreenReloadSongs::Init()
|
|||||||
m_Loading.SetXY( SCREEN_CENTER_X, SCREEN_CENTER_Y );
|
m_Loading.SetXY( SCREEN_CENTER_X, SCREEN_CENTER_Y );
|
||||||
this->AddChild( &m_Loading );
|
this->AddChild( &m_Loading );
|
||||||
|
|
||||||
m_LoadingWindow = new ScreenReloadSongsLoadingWindow( m_Loading );
|
pLoadingWindow = new ScreenReloadSongsLoadingWindow( m_Loading );
|
||||||
}
|
}
|
||||||
|
|
||||||
ScreenReloadSongs::~ScreenReloadSongs()
|
ScreenReloadSongs::~ScreenReloadSongs()
|
||||||
{
|
{
|
||||||
delete m_LoadingWindow;
|
delete pLoadingWindow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ void ScreenReloadSongs::Update( float fDeltaTime )
|
|||||||
return;
|
return;
|
||||||
ASSERT( !IsFirstUpdate() );
|
ASSERT( !IsFirstUpdate() );
|
||||||
|
|
||||||
SONGMAN->Reload( false, m_LoadingWindow );
|
SONGMAN->Reload( false );
|
||||||
|
|
||||||
SCREENMAN->PostMessageToTopScreen( SM_GoToNextScreen, 0 );
|
SCREENMAN->PostMessageToTopScreen( SM_GoToNextScreen, 0 );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
int m_iUpdates;
|
int m_iUpdates;
|
||||||
LoadingWindow *m_LoadingWindow;
|
|
||||||
BitmapText m_Loading;
|
BitmapText m_Loading;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user