jak-project/goal_src/jak2/engine/ps2
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
..
memcard-h.gc deftype and defmethod syntax major changes (#3094) 2023-10-30 03:20:02 +00:00
pad.gc Create abutton-idx enum, replace magic numbers across codebase (#3646) 2024-09-01 09:29:23 -04:00
rpc-h.gc more debug information when RPC buffers exhaust (#3490) 2024-04-29 16:37:04 +01:00
timer-h.gc deftype and defmethod syntax major changes (#3094) 2023-10-30 03:20:02 +00:00
timer.gc Decompile joint, collide-func, clean up joint decompression code for all games (#3369) 2024-02-11 09:50:07 -05:00
vif-h.gc deftype and defmethod syntax major changes (#3094) 2023-10-30 03:20:02 +00:00
vu1-macros.gc docs: fix method docstrings and grab @file comment blocks to use as a file description (#2289) 2023-02-27 18:58:01 -05:00