Separate styles for players. Notefields positioned between margins. Edit mode works for kickbox.
This commit is contained in:
@@ -16,6 +16,7 @@ PlayerState::PlayerState()
|
||||
|
||||
void PlayerState::Reset()
|
||||
{
|
||||
m_NotefieldZoom= 1.0f;
|
||||
m_PlayerOptions.Init();
|
||||
|
||||
m_fLastDrawnBeat = -100;
|
||||
@@ -96,6 +97,15 @@ void PlayerState::Update( float fDelta )
|
||||
m_fSecondsUntilAttacksPhasedOut = max( 0, m_fSecondsUntilAttacksPhasedOut - fDelta );
|
||||
}
|
||||
|
||||
void PlayerState::SetPlayerNumber(PlayerNumber pn)
|
||||
{
|
||||
m_PlayerNumber = pn;
|
||||
FOREACH_ENUM(ModsLevel, ml)
|
||||
{
|
||||
m_PlayerOptions.Get(ml).m_pn= pn;
|
||||
}
|
||||
}
|
||||
|
||||
void PlayerState::ResetToDefaultPlayerOptions( ModsLevel l )
|
||||
{
|
||||
PlayerOptions po;
|
||||
|
||||
Reference in New Issue
Block a user