run ScreenOnCommand in BeginScreen

This commit is contained in:
Glenn Maynard
2005-08-03 00:39:21 +00:00
parent 162f3c8e04
commit 7102b1338b
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -57,6 +57,11 @@ void Screen::Init()
SCREENMAN->PersistantScreen( asList[i] );
}
void Screen::BeginScreen()
{
this->RunCommands( THEME->GetMetricA(m_sName, "ScreenOnCommand") );
}
void Screen::Update( float fDeltaTime )
{
ActorFrame::Update( fDeltaTime );
+1 -1
View File
@@ -42,7 +42,7 @@ public:
virtual void Init();
/* This is called immediately before the screen is used. */
virtual void BeginScreen() { }
virtual void BeginScreen();
virtual void Update( float fDeltaTime );
virtual bool OverlayInput( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );