From db89c28b25749132f0aec349ae60d03c57febe47 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Fri, 17 Nov 2006 17:18:35 +0000 Subject: [PATCH] Param table. --- stepmania/src/ScoreDisplayAliveTime.cpp | 4 ++-- stepmania/src/ScoreDisplayAliveTime.h | 2 +- stepmania/src/ScoreDisplayCalories.cpp | 4 ++-- stepmania/src/ScoreDisplayCalories.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/stepmania/src/ScoreDisplayAliveTime.cpp b/stepmania/src/ScoreDisplayAliveTime.cpp index 4aebd0b6f9..aa5613b47b 100644 --- a/stepmania/src/ScoreDisplayAliveTime.cpp +++ b/stepmania/src/ScoreDisplayAliveTime.cpp @@ -40,11 +40,11 @@ void ScoreDisplayAliveTime::Update( float fDelta ) BitmapText::Update( fDelta ); } -void ScoreDisplayAliveTime::PlayCommand( const RString &sCommandName ) +void ScoreDisplayAliveTime::PlayCommand( const RString &sCommandName, const LuaReference *pParamTable ) { // TODO: Add handling of GoalComplete message - BitmapText::PlayCommand( sCommandName ); + BitmapText::PlayCommand( sCommandName, pParamTable ); } void ScoreDisplayAliveTime::UpdateNumber() diff --git a/stepmania/src/ScoreDisplayAliveTime.h b/stepmania/src/ScoreDisplayAliveTime.h index 15cc72d98f..bb09326a4e 100644 --- a/stepmania/src/ScoreDisplayAliveTime.h +++ b/stepmania/src/ScoreDisplayAliveTime.h @@ -19,7 +19,7 @@ public: void LoadFromNode( const XNode* pNode ); virtual ScoreDisplayAliveTime *Copy() const; - void PlayCommand( const RString &sCommandName ); + void PlayCommand( const RString &sCommandName, const LuaReference *pParamTable ); void UpdateNumber(); diff --git a/stepmania/src/ScoreDisplayCalories.cpp b/stepmania/src/ScoreDisplayCalories.cpp index 670e02bbbf..61536d38df 100644 --- a/stepmania/src/ScoreDisplayCalories.cpp +++ b/stepmania/src/ScoreDisplayCalories.cpp @@ -49,14 +49,14 @@ void ScoreDisplayCalories::Update( float fDelta ) RollingNumbers::Update( fDelta ); } -void ScoreDisplayCalories::PlayCommand( const RString &sCommandName ) +void ScoreDisplayCalories::PlayCommand( const RString &sCommandName, const LuaReference *pParamTable ) { if( sCommandName == m_sMessageOnStep ) { UpdateNumber(); } - RollingNumbers::PlayCommand( sCommandName ); + RollingNumbers::PlayCommand( sCommandName, pParamTable ); } void ScoreDisplayCalories::UpdateNumber() diff --git a/stepmania/src/ScoreDisplayCalories.h b/stepmania/src/ScoreDisplayCalories.h index 438b27698e..c950b0b15b 100644 --- a/stepmania/src/ScoreDisplayCalories.h +++ b/stepmania/src/ScoreDisplayCalories.h @@ -18,7 +18,7 @@ public: void LoadFromNode( const XNode* pNode ); virtual ScoreDisplayCalories *Copy() const; - void PlayCommand( const RString &sCommandName ); + void PlayCommand( const RString &sCommandName, const LuaReference *pParamTable = NULL ); void UpdateNumber();