jak-project/goal_src
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
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
user repl: separate history by game version (#2805) 2023-07-05 20:15:46 +02:00
goal-lib.gc jak1: Adjust sprite positioning or hide them where appropriate when using non-standard aspect ratios (#3596) 2024-07-26 23:15:51 -04:00
goos-lib.gs REPL related improvements and fixes (#3545) 2024-06-03 00:14:52 -04:00