New NoteDataUtil to count hold ticks in a NoteData. Significant overhaul to make PossibleDancePoints consider hold ticks, using said function.

This commit is contained in:
Ben "root" Anderson
2013-12-19 23:46:01 -06:00
parent 53d80a8ceb
commit 6dcc227327
5 changed files with 75 additions and 40 deletions
+5
View File
@@ -9,6 +9,7 @@ struct RadarValues;
class NoteData;
class Song;
struct AttackArray;
class TimingData;
/** @brief A limited selection of the RadarValues. */
struct RadarStats
@@ -196,6 +197,10 @@ namespace NoteDataUtil
bool GetPrevEditorPosition( const NoteData& in, int &rowInOut );
void SetHopoPossibleFlags( const Song *pSong, NoteData& ndInOut );
/** @brief Count the number of hold ticks that will fire, assuming that tickholds are on.
* @param td The TimingData from the relevant Steps. */
unsigned int GetTotalHoldTicks( NoteData* nd, const TimingData* td );
};
#endif