mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
4fd0a57046
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))` |
||
---|---|---|
.. | ||
build | ||
dgos | ||
engine | ||
examples | ||
kernel | ||
levels | ||
lib | ||
pc | ||
tools | ||
compiler-setup.gc | ||
game.gp | ||
kernel-defs.gc |