Commit Graph

10 Commits

Author SHA1 Message Date
sukibaby ab6d2ff3d0 columnCount -> columnCount_
Resolves MSVC compiler warning C4458 by renaming the class variables to columnCount_.
https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4458
2025-04-29 21:40:54 -07:00
Michael Votaw 9fd4c38efd Keep a temporary State object around instead of allocating and deleting one nearly every time initResultState is called 2025-02-11 19:39:03 -08:00
Michael Votaw 46c3442018 non-void functions should return values! 2025-02-11 19:39:03 -08:00
Michael Votaw 6a7dd95212 Removed ASSERTs. StepParityGenerator::analyzeNoteData() now returns a boolean to indicate whether it succeeded at analyzing the note data.
Fixed issue where getFootPlacementPermutations would return no permutations in some circumstances
2025-02-11 19:39:03 -08:00
Michael Votaw 4e7432a5a0 Several "structural" changes, and some memory optimizations:
- Replaced use of bare '-1' values with StepParity::INVALID_COLUMN
- Removed StepParityGraph object, moved its responsibilities to StepParityGenerator
- Removed some unnecessary data from State object, added 'combinedColumns' and 'whatNoteTheFootIsHitting'
- Created stateCache to allow reuse of state objects
- Fixed a very small bug with TechCounts (missing 'previousPreviousHeel != INVALID_COLUMN')
2025-02-11 19:39:03 -08:00
Michael Votaw 61ee3bc329 Replaced costs array with just a single cost value 2025-02-11 19:39:03 -08:00
teejusb 49263f3c3e Mostly stylistic changes 2025-02-11 19:39:03 -08:00
Michael Votaw c7af0a4436 Integrated noteCount, whereTheFeetAre, and columns into Row object (makes tech counts a little cleaner) 2025-02-11 19:39:03 -08:00
Michael Votaw 212b99a4c5 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
2025-02-11 19:39:03 -08:00
Michael Votaw 6109105f97 Added TechCounts and all of the StepParity classes 2025-02-11 19:39:03 -08:00