add Course::Info::GetAttackArray

This commit is contained in:
Glenn Maynard
2003-10-25 22:55:11 +00:00
parent e550d16195
commit 3471ad3f53
2 changed files with 14 additions and 0 deletions
+11
View File
@@ -934,3 +934,14 @@ void Course::UpdateCourseStats()
this->m_sName.c_str(),
SortOrder_TotalDifficulty );
}
void Course::Info::GetAttackArray( AttackArray &out ) const
{
Attack a;
a.fStartSecond = -1;
a.fSecsRemaining = 10000; /* whole song */
a.level = ATTACK_LEVEL_1;
a.sModifier = Modifiers;
out.push_back( a );
}