Pass the param table along.

This commit is contained in:
Steve Checkoway
2006-11-16 10:17:08 +00:00
parent c2313737b5
commit 02bfa44d0f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -66,12 +66,12 @@ bool Transition::EarlyAbortDraw() const
/* Our parent might send us OnCommand. We do that ourself, because /* Our parent might send us OnCommand. We do that ourself, because
* we sometimes want to know GetLengthSeconds before StartTransitioning. * we sometimes want to know GetLengthSeconds before StartTransitioning.
* Make sure we don't process OnCommand twice. */ * Make sure we don't process OnCommand twice. */
void Transition::PlayCommand( const RString &sCommandName ) void Transition::PlayCommand( const RString &sCommandName, const LuaReference *pParamTable )
{ {
if( sCommandName == "On" ) if( sCommandName == "On" )
return; return;
ActorFrame::PlayCommand( sCommandName ); ActorFrame::PlayCommand( sCommandName, pParamTable );
} }
void Transition::StartTransitioning( ScreenMessage send_when_done ) void Transition::StartTransitioning( ScreenMessage send_when_done )
+1 -1
View File
@@ -16,7 +16,7 @@ public:
void Load( RString sBGAniDir ); void Load( RString sBGAniDir );
virtual void UpdateInternal( float fDeltaTime ); virtual void UpdateInternal( float fDeltaTime );
virtual void PlayCommand( const RString &sCommandName ); virtual void PlayCommand( const RString &sCommandName, const LuaReference *pParamTable = NULL );
virtual void StartTransitioning( ScreenMessage send_when_done = SM_None ); virtual void StartTransitioning( ScreenMessage send_when_done = SM_None );
virtual bool EarlyAbortDraw() const; virtual bool EarlyAbortDraw() const;