jak-project/goal_src/jak2
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
..
build [opengoal] make none a child of object (#3001) 2023-09-22 10:54:49 +01:00
dgos Dependency graph work - Part 1 - Preliminary work (#3505) 2024-05-12 12:37:59 -04:00
engine Create abutton-idx enum, replace magic numbers across codebase (#3646) 2024-09-01 09:29:23 -04:00
examples docs: fix method docstrings and grab @file comment blocks to use as a file description (#2289) 2023-02-27 18:58:01 -05:00
kernel Dependency graph work - Part 1 - Preliminary work (#3505) 2024-05-12 12:37:59 -04:00
levels Create abutton-idx enum, replace magic numbers across codebase (#3646) 2024-09-01 09:29:23 -04:00
lib [wip] build actor tool (#3266) 2024-05-18 18:18:25 +02:00
pc Add more autosplit points for Jak 2 Any% (#3639) 2024-08-21 22:57:11 -04:00
tools g/j2: Some more work on the SQL editor - dump and seed light data (#2954) 2023-09-08 21:21:02 -04:00
compiler-setup.gc [goalc] compile/run code for jak2 ckernel, set up dummy KERNEL.CGO (#1625) 2022-07-08 19:23:49 -04:00
game.gp [wip] build actor tool (#3266) 2024-05-18 18:18:25 +02:00
kernel-defs.gc Jak 2: Finnish translations (#3533) 2024-08-11 13:01:06 -04:00