cleanup
This commit is contained in:
@@ -80,15 +80,6 @@ ScreenDemonstration::ScreenDemonstration( CString sName ) : ScreenJukebox( sName
|
|||||||
this->PostScreenMessage( SM_BeginFadingOut, SECONDS_TO_SHOW );
|
this->PostScreenMessage( SM_BeginFadingOut, SECONDS_TO_SHOW );
|
||||||
}
|
}
|
||||||
|
|
||||||
ScreenDemonstration::~ScreenDemonstration()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void ScreenDemonstration::Update( float fDeltaTime )
|
|
||||||
{
|
|
||||||
ScreenGameplay::Update( fDeltaTime );
|
|
||||||
}
|
|
||||||
|
|
||||||
void ScreenDemonstration::HandleScreenMessage( const ScreenMessage SM )
|
void ScreenDemonstration::HandleScreenMessage( const ScreenMessage SM )
|
||||||
{
|
{
|
||||||
switch( SM )
|
switch( SM )
|
||||||
@@ -105,7 +96,6 @@ void ScreenDemonstration::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case SM_LoseFocus:
|
case SM_LoseFocus:
|
||||||
LOG->Trace("XXX: lose foc");
|
|
||||||
SOUNDMAN->SetPrefs( PREFSMAN->m_fSoundVolume ); // turn volume back on
|
SOUNDMAN->SetPrefs( PREFSMAN->m_fSoundVolume ); // turn volume back on
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,7 @@ class ScreenDemonstration : public ScreenJukebox
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ScreenDemonstration( CString sName );
|
ScreenDemonstration( CString sName );
|
||||||
~ScreenDemonstration();
|
|
||||||
|
|
||||||
virtual void Update( float fDeltaTime );
|
|
||||||
virtual void HandleScreenMessage( const ScreenMessage SM );
|
virtual void HandleScreenMessage( const ScreenMessage SM );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
@@ -160,15 +160,6 @@ ScreenJukebox::ScreenJukebox( CString sName, bool bDemonstration ) : ScreenGamep
|
|||||||
m_DancingState = STATE_DANCING;
|
m_DancingState = STATE_DANCING;
|
||||||
}
|
}
|
||||||
|
|
||||||
ScreenJukebox::~ScreenJukebox()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void ScreenJukebox::Update( float fDeltaTime )
|
|
||||||
{
|
|
||||||
ScreenGameplay::Update( fDeltaTime );
|
|
||||||
}
|
|
||||||
|
|
||||||
void ScreenJukebox::Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI )
|
void ScreenJukebox::Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI )
|
||||||
{
|
{
|
||||||
//LOG->Trace( "ScreenJukebox::Input()" );
|
//LOG->Trace( "ScreenJukebox::Input()" );
|
||||||
|
|||||||
@@ -19,9 +19,7 @@ class ScreenJukebox : public ScreenGameplay
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ScreenJukebox( CString sName, bool bDemonstration = false );
|
ScreenJukebox( CString sName, bool bDemonstration = false );
|
||||||
~ScreenJukebox();
|
|
||||||
|
|
||||||
virtual void Update( float fDeltaTime );
|
|
||||||
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
|
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
|
||||||
virtual void HandleScreenMessage( const ScreenMessage SM );
|
virtual void HandleScreenMessage( const ScreenMessage SM );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user