options cleanup

This commit is contained in:
Chris Danford
2003-04-21 23:43:51 +00:00
parent e0e5f18ca9
commit 15a54aee79
9 changed files with 61 additions and 22 deletions
-4
View File
@@ -33,7 +33,6 @@ void PlayerOptions::Init()
m_bTimingAssist = false;
m_fPerspectiveTilt = 0;
m_bTimeSpacing = false;
m_sPositioning = "";
}
void PlayerOptions::Approach( const PlayerOptions& other, float fDeltaSeconds )
@@ -127,7 +126,6 @@ CString PlayerOptions::GetString()
if( !m_bHoldNotes ) sReturn += "NoHolds, ";
if( m_bTimingAssist ) sReturn += "TimingAssist, ";
if( m_sPositioning != "" ) sReturn += m_sPositioning + ", ";
switch( (int)m_fPerspectiveTilt )
{
case -1: sReturn += "Incoming, "; break;
@@ -198,8 +196,6 @@ void PlayerOptions::FromString( CString sOptions )
else if( sBit == "timingassist")m_bTimingAssist = true;
else if( sBit == "incoming" ) m_fPerspectiveTilt = -1;
else if( sBit == "space" ) m_fPerspectiveTilt = +1;
else if( GAMESTATE->m_Position->IsValidModeForCurrentGame(sBit) )
m_sPositioning = sBit;
}
}