jak-project/goal_src/jak2/engine/physics
Hat Kid 67d4eda169
decomp: hover-* files, wasp, crimson-guard-hover, flamer, target-turret, drill-turret, jellyfish (#2198)
Manual patches:

- `drill-turret`: The static data for `*turret-13-path*`,
`*turret-14-path*` and `*turret-15-path*` was decompiled by hand and the
integers in the `set-speed-mult` events have been replaced with boxed
integer arrays that contain only that integer in order to make the
compiler happy. To that effect, the event handler in `target-turret` was
changed to access that array instead of just accessing the int.
- `hover-nav-control`: In `hover-nav-control::10`, `arg2` is usually a
`vector`, but there are some places where it is called with `#t` as
`arg2` and, subsequently, crashes the game because it tries to access
the `quad` of `arg2` if `arg2` is truthy. To mitigate this, the
condition `arg2` has been replaced with `(and (!= arg2 #t) arg2)` (in
this case, it would jump to the `else` that just resets the `dest-vel`
and `transv` `quad`s)
- `drill-baron`: The static data for `*drill-ship-turret-speed-event*`
has been decompiled by hand.

TODOs:
- Jellyfish crash the game
- Destroying the metalhead eggs that are on the breakable wall crashes
the game (already happened with the Peacemaker before)
- Figure out why static data of type `turret-path-event` doesn't
decompile

The docs for all the hover-nav and nav-network code could use some love
in the future, I'm not smart enough to figure out what any of that code
actually means, but it seems to work...

Also threw in the fix for the ▲ that was accidentally left commented
out.
2023-02-09 18:22:56 -05:00
..
chain-physics-h.gc decomp: hover-* files, wasp, crimson-guard-hover, flamer, target-turret, drill-turret, jellyfish (#2198) 2023-02-09 18:22:56 -05:00
chain-physics.gc decomp: hover-* files, wasp, crimson-guard-hover, flamer, target-turret, drill-turret, jellyfish (#2198) 2023-02-09 18:22:56 -05:00
dynamics-h.gc [decomp] Decompile first batch of files in engine (#1787) 2022-08-24 00:29:51 -04:00
gravity-h.gc [decomp] Decompile first batch of files in engine (#1787) 2022-08-24 00:29:51 -04:00
rigid-body-h.gc [decomp] finish up nav-graph, traffic-engine, traffic-manager, height-map (#2191) 2023-02-05 18:16:58 -05:00
rigid-body-queue.gc d/jak2: cleaning up the remainder of unblocked / unclaimed files (#2171) 2023-01-31 18:32:50 -05:00
rigid-body.gc [decomp] finish up nav-graph, traffic-engine, traffic-manager, height-map (#2191) 2023-02-05 18:16:58 -05:00
trajectory-h.gc decomp: finish target-[util|darkjak|swim|gun] | water | water-anim | crates | dark-eco-pool, fix skelgroup detection, add failed store/load warnings and clean up jak 3 config (#1958) 2022-10-14 19:35:57 -04:00
trajectory.gc W/nav debugging (#2077) 2023-01-01 12:11:18 -05:00