cache common metrics

This commit is contained in:
Chris Danford
2005-02-12 21:03:39 +00:00
parent 790f06aa16
commit 40c9e8fbe7
14 changed files with 90 additions and 38 deletions
+2 -1
View File
@@ -8,6 +8,7 @@
#include "ThemeManager.h"
#include "StageStats.h"
#include "PlayerState.h"
#include "CommonMetrics.h"
ScoreDisplayOni::ScoreDisplayOni()
@@ -30,7 +31,7 @@ void ScoreDisplayOni::Init( const PlayerState* pPlayerState )
// TODO: Remove use of PlayerNumber.
PlayerNumber pn = pPlayerState->m_PlayerNumber;
m_text.SetDiffuse( PlayerToColor(pn) );
m_text.SetDiffuse( PLAYER_COLOR.GetValue(pn) );
}