jak-project/game/system/hid
water111 4f537d4a71
[jak3] Set up ckernel (#3308)
This sets up the C Kernel for Jak 3, and makes it possible to build and
load code built with `goalc --jak3`.

There's not too much interesting here, other than they switched to a
system where symbol IDs (unique numbers less than 2^14) are generated at
compile time, and those get included in the object file itself.

This is kind of annoying, since it means all tools that produce a GOAL
object file need to work together to assign unique symbol IDs. And since
the symbol IDs can't conflict, and are only a number between 0 and 2^14,
you can't just hash and hope for no collisions.

We work around this by ignoring the IDs and re-assigning our own. I
think this is very similar to what the C Kernel did on early builds of
Jak 3 which supported loading old format level files, which didn't have
the IDs included.

As far as I can tell, this shouldn't cause any problems. It defeats all
of their fancy tricks to save memory by not storing the symbol string,
but we don't care.
2024-01-16 19:24:02 -05:00
..
devices game: Fix issues related to remapping with SDL axii's (ie. triggers) (#3294) 2024-01-09 16:50:58 -05:00
display_manager.cpp [jak2] add resolutions menu (#3238) 2023-12-03 08:11:18 +00:00
display_manager.h fix mouse mispositioning when letterboxed (#2818) 2023-07-08 23:05:03 +01:00
input_bindings.cpp [jak3] Set up ckernel (#3308) 2024-01-16 19:24:02 -05:00
input_bindings.h game: Fix issues related to remapping with SDL axii's (ie. triggers) (#3294) 2024-01-09 16:50:58 -05:00
input_manager.cpp game: Fix issues related to remapping with SDL axii's (ie. triggers) (#3294) 2024-01-09 16:50:58 -05:00
input_manager.h [jak2] Fix "Select controller" (#3191) 2023-12-02 15:20:26 -05:00
sdl_util.cpp game: Improve OpenGL version detection and make requirement errors more obvious to the user (#2787) 2023-06-30 21:05:58 -04:00
sdl_util.h game: Improve OpenGL version detection and make requirement errors more obvious to the user (#2787) 2023-06-30 21:05:58 -04:00