This commit is contained in:
AJ Kelly
2011-03-02 16:55:34 -06:00
parent 1aff384afe
commit a6953e09b2
2 changed files with 8 additions and 5 deletions
+7 -2
View File
@@ -5,6 +5,7 @@
#include "RageLog.h"
#include "RadarValues.h"
#include "Steps.h"
//#include "NoteSkinManager.h" // not needed yet, but will be soon -aj
PlayerState::PlayerState()
{
@@ -28,6 +29,9 @@ void PlayerState::Reset()
m_iCpuSkill = 5;
m_iNoteSkinColSpacing = 0;
m_iNoteSkinArrowSize = 0;
m_iLastPositiveSumOfAttackLevels = 0;
m_fSecondsUntilAttacksPhasedOut = 0;
m_bAttackBeganThisUpdate = false;
@@ -189,9 +193,10 @@ int PlayerState::GetSumOfActiveAttackLevels() const
return iSum;
}
/*
void PlayerState::LoadNoteSkinMetrics()
{
/*
// Read metrics from current noteskin for setting row/col spacing and
// arrow size (originally from StepMania AMX)
@@ -206,8 +211,8 @@ void PlayerState::LoadNoteSkinMetrics()
// todo: allow per-column spacing values? -aj
m_iNoteSkinColSpacing = NOTESKIN->GetMetricI( m_sNoteSkin, sStepsType, "ColSpacing" );
m_iNoteSkinArrowSize = NOTESKIN->GetMetricI( m_sNoteSkin, sStepsType, "ArrowSize" );
*/
}
*/
// lua start
#include "LuaBinding.h"