Changed StageLayout into a struct and consolidated layout math functions into it.
Added convenience methods for determining if a given column is an up, down, or side arrow. Added explicit tech counts for up footswitches and down footswitches
This commit is contained in:
+4
-2
@@ -12,7 +12,9 @@ class NoteData;
|
||||
enum TechCountsCategory
|
||||
{
|
||||
TechCountsCategory_Crossovers = 0,
|
||||
TechCountsCategory_Footswitches,
|
||||
TechCountsCategory_TotalFootswitches,
|
||||
TechCountsCategory_UpFootswitches,
|
||||
TechCountsCategory_DownFootswitches,
|
||||
TechCountsCategory_Sideswitches,
|
||||
TechCountsCategory_Jacks,
|
||||
TechCountsCategory_Brackets,
|
||||
@@ -77,7 +79,7 @@ public:
|
||||
void FromString( RString sValues );
|
||||
|
||||
void PushSelf( lua_State *L );
|
||||
static void CalculateTechCountsFromRows(const std::vector<StepParity::Row> &rows, TechCounts &out);
|
||||
static void CalculateTechCountsFromRows(const std::vector<StepParity::Row> &rows, StepParity::StageLayout & layout, TechCounts &out);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user