src\NoteDisplay.cpp

This commit is contained in:
AJ Kelly
2011-03-02 16:37:20 -06:00
parent 387bb95745
commit d750f2a1e8
3 changed files with 49 additions and 46 deletions
+7 -2
View File
@@ -5,6 +5,7 @@
#include "RageLog.h"
#include "RadarValues.h"
#include "Steps.h"
#include "NoteSkinManager.h"
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"