run ScreenOnCommand in BeginScreen
This commit is contained in:
@@ -57,6 +57,11 @@ void Screen::Init()
|
|||||||
SCREENMAN->PersistantScreen( asList[i] );
|
SCREENMAN->PersistantScreen( asList[i] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Screen::BeginScreen()
|
||||||
|
{
|
||||||
|
this->RunCommands( THEME->GetMetricA(m_sName, "ScreenOnCommand") );
|
||||||
|
}
|
||||||
|
|
||||||
void Screen::Update( float fDeltaTime )
|
void Screen::Update( float fDeltaTime )
|
||||||
{
|
{
|
||||||
ActorFrame::Update( fDeltaTime );
|
ActorFrame::Update( fDeltaTime );
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ public:
|
|||||||
virtual void Init();
|
virtual void Init();
|
||||||
|
|
||||||
/* This is called immediately before the screen is used. */
|
/* This is called immediately before the screen is used. */
|
||||||
virtual void BeginScreen() { }
|
virtual void BeginScreen();
|
||||||
|
|
||||||
virtual void Update( float fDeltaTime );
|
virtual void Update( float fDeltaTime );
|
||||||
virtual bool OverlayInput( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
|
virtual bool OverlayInput( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
|
||||||
|
|||||||
Reference in New Issue
Block a user