jak-project/decompiler/config
Matt Dallmeyer 4fd0a57046
Create abutton-idx enum, replace magic numbers across codebase (#3646)
Found out the hard way that the `abutton` array for pressure sensitivity
uses a different order than the `pad-buttons` enum, so I created a new
enum for abutton indexing.

I replaced any magic numbers across the codebase where it made sense,
e.g.
`(-> *cpad-list* cpads (-> self control unknown-cpad-info00 number)
abutton 6)`
becomes
`(-> *cpad-list* cpads (-> self control unknown-cpad-info00 number)
abutton (abutton-idx x))`
2024-09-01 09:29:23 -04:00
..
jak1 Create abutton-idx enum, replace magic numbers across codebase (#3646) 2024-09-01 09:29:23 -04:00
jak1_demo decompiler: Cleanup duplication in extractor/decompiler and make it easier to enable streamed audio ripping from CLI (#3560) 2024-06-29 01:18:39 -04:00
jak2 Create abutton-idx enum, replace magic numbers across codebase (#3646) 2024-09-01 09:29:23 -04:00
jak3 Create abutton-idx enum, replace magic numbers across codebase (#3646) 2024-09-01 09:29:23 -04:00