Param table.

This commit is contained in:
Steve Checkoway
2006-11-17 17:18:35 +00:00
parent 1ea6837c02
commit db89c28b25
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -40,11 +40,11 @@ void ScoreDisplayAliveTime::Update( float fDelta )
BitmapText::Update( 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 // TODO: Add handling of GoalComplete message
BitmapText::PlayCommand( sCommandName ); BitmapText::PlayCommand( sCommandName, pParamTable );
} }
void ScoreDisplayAliveTime::UpdateNumber() void ScoreDisplayAliveTime::UpdateNumber()
+1 -1
View File
@@ -19,7 +19,7 @@ public:
void LoadFromNode( const XNode* pNode ); void LoadFromNode( const XNode* pNode );
virtual ScoreDisplayAliveTime *Copy() const; virtual ScoreDisplayAliveTime *Copy() const;
void PlayCommand( const RString &sCommandName ); void PlayCommand( const RString &sCommandName, const LuaReference *pParamTable );
void UpdateNumber(); void UpdateNumber();
+2 -2
View File
@@ -49,14 +49,14 @@ void ScoreDisplayCalories::Update( float fDelta )
RollingNumbers::Update( fDelta ); RollingNumbers::Update( fDelta );
} }
void ScoreDisplayCalories::PlayCommand( const RString &sCommandName ) void ScoreDisplayCalories::PlayCommand( const RString &sCommandName, const LuaReference *pParamTable )
{ {
if( sCommandName == m_sMessageOnStep ) if( sCommandName == m_sMessageOnStep )
{ {
UpdateNumber(); UpdateNumber();
} }
RollingNumbers::PlayCommand( sCommandName ); RollingNumbers::PlayCommand( sCommandName, pParamTable );
} }
void ScoreDisplayCalories::UpdateNumber() void ScoreDisplayCalories::UpdateNumber()
+1 -1
View File
@@ -18,7 +18,7 @@ public:
void LoadFromNode( const XNode* pNode ); void LoadFromNode( const XNode* pNode );
virtual ScoreDisplayCalories *Copy() const; virtual ScoreDisplayCalories *Copy() const;
void PlayCommand( const RString &sCommandName ); void PlayCommand( const RString &sCommandName, const LuaReference *pParamTable = NULL );
void UpdateNumber(); void UpdateNumber();