add basic survival gameplay

This commit is contained in:
Chris Danford
2005-04-21 04:27:13 +00:00
parent 1b33a59c2c
commit f8904f3b92
12 changed files with 117 additions and 13 deletions
+4
View File
@@ -32,6 +32,9 @@ CString SongOptions::GetString() const
case LIFE_BATTERY:
sReturn += ssprintf( "%dLives, ", m_iBatteryLives );
break;
case LIFE_TIME:
sReturn += "LifeTime, ";
break;
default: ASSERT(0);
}
@@ -136,6 +139,7 @@ void SongOptions::FromString( CString sOptions )
else if( sBit == "savescore" ) m_bSaveScore = on;
else if( sBit == "bar" ) m_LifeType = LIFE_BAR;
else if( sBit == "battery" ) m_LifeType = LIFE_BATTERY;
else if( sBit == "lifetime" ) m_LifeType = LIFE_TIME;
}
}