working towards finishing issue 24: http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=24
This commit is contained in:
+7
-2
@@ -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"
|
||||
|
||||
+1
-3
@@ -46,12 +46,10 @@ public:
|
||||
/** @brief The PlayerOptions presently in use by the Player. */
|
||||
ModsGroup<PlayerOptions> m_PlayerOptions;
|
||||
|
||||
// Metricable noteskin things
|
||||
/*
|
||||
// Metricable noteskin stuff
|
||||
void LoadNoteSkinMetrics();
|
||||
int m_iNoteSkinColSpacing;
|
||||
int m_iNoteSkinArrowSize;
|
||||
*/
|
||||
// not sure I want to let noteskins change row spacing, as that changes how
|
||||
// the speed mods work... -aj
|
||||
//int m_iNoteSkinRowSpacing;
|
||||
|
||||
Reference in New Issue
Block a user