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:
Michael Votaw
2025-02-11 19:39:03 -08:00
committed by teejusb
parent 36c4223a38
commit 212b99a4c5
9 changed files with 203 additions and 192 deletions
+4 -2
View File
@@ -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