jak-project/goal_src/jak2/engine
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
..
ai [jak2] implement statistics tracker (#3288) 2024-01-11 22:49:41 +00:00
ambient decomp: Copy over new docstrings back to jak 2's common code, write some scripts to help automate this (#3366) 2024-02-04 13:53:06 -05:00
anim [joint] fix missing matrix interpolation (#3394) 2024-03-03 15:15:37 -05:00
camera Create abutton-idx enum, replace magic numbers across codebase (#3646) 2024-09-01 09:29:23 -04:00
collide deftype and defmethod syntax major changes (#3094) 2023-10-30 03:20:02 +00:00
common_objs [jak2] fix shadow origin using wrong joint (#3271) 2023-12-22 16:52:53 +00:00
data rename joint node and art element macros (#3111) 2023-11-01 23:16:00 +00:00
debug Jak 2: Finnish translations (#3533) 2024-08-11 13:01:06 -04:00
dma deftype and defmethod syntax major changes (#3094) 2023-10-30 03:20:02 +00:00
draw jak2/3: re-implement screenshot system through goal (#3482) 2024-04-25 01:46:18 +01:00
engine deftype and defmethod syntax major changes (#3094) 2023-10-30 03:20:02 +00:00
entity jak3 pc: math-camera, letterbox, led and auto-save (#3479) 2024-04-22 22:57:09 +01:00
game Create abutton-idx enum, replace magic numbers across codebase (#3646) 2024-09-01 09:29:23 -04:00
geometry deftype and defmethod syntax major changes (#3094) 2023-10-30 03:20:02 +00:00
gfx jak2: support mirror mode (#3616) 2024-07-30 23:30:53 -04:00
level use only the real level name in the Loader (#3495) 2024-04-30 17:12:57 +01:00
load deftype and defmethod syntax major changes (#3094) 2023-10-30 03:20:02 +00:00
math Decompile joint, collide-func, clean up joint decompression code for all games (#3369) 2024-02-11 09:50:07 -05:00
nav [jak2] implement statistics tracker (#3288) 2024-01-11 22:49:41 +00:00
physics deftype and defmethod syntax major changes (#3094) 2023-10-30 03:20:02 +00:00
process-drawable decomp3: more engine stuff, fix ja macro detection for jak 2/3, unmerged let matcher, part-tracker-spawn macro (#3436) 2024-03-30 10:28:02 -04:00
ps2 Create abutton-idx enum, replace magic numbers across codebase (#3646) 2024-09-01 09:29:23 -04:00
scene [jak2] adjust progress generic item sizes + add scrolling effect (#3231) 2023-11-29 18:27:02 +00:00
sound jak2: support mirror mode (#3616) 2024-07-30 23:30:53 -04:00
spatial-hash deftype and defmethod syntax major changes (#3094) 2023-10-30 03:20:02 +00:00
target Create abutton-idx enum, replace magic numbers across codebase (#3646) 2024-09-01 09:29:23 -04:00
ui Jak 2: Finnish translations (#3533) 2024-08-11 13:01:06 -04:00
util jak2/3: re-implement screenshot system through goal (#3482) 2024-04-25 01:46:18 +01:00