jak-project/decompiler/config/jak1
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
..
jp d/config: re-organize decompiler/config and eliminate most of the duplication (#2185) 2023-03-08 20:07:26 -05:00
ntsc_v1 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
pal [jak1] deduplicate jak1_pal label_types entries (#2435) 2023-03-29 18:25:28 -04:00
all-types.gc Create abutton-idx enum, replace magic numbers across codebase (#3646) 2024-09-01 09:29:23 -04:00
jak1_config.jsonc 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