Pass the param table along.
This commit is contained in:
@@ -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 )
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user