jak-project/test/decompiler/reference/jak3/engine/collide
water111 2a4d3d7a4a
[decompiler] More inline vector functions (#3861)
This adds more recognition for inlined vector functions to the
decompiler, which can clean up a bunch of ugly looking code/`rlet`s.


![image](https://github.com/user-attachments/assets/1f7b4627-81bd-481b-b828-76b9f7ba13b3)

Unfortunately, this changes the numbering of ops in the decomp, since
all the vector instructions get combined in a single "operation" by the
decompiler. I really tried to avoid having this ever happen in the
decompiler and this is one of the few cases where it has. So I had to
update a bunch of type casts.

For that reason I haven't turned this on in Jak 2 yet, although I am
planning to do that at some point. (probably at the same time as porting
back a bunch of jak 3 improvements to jak 2)

---------

Co-authored-by: water111 <awaterford1111445@gmail.com>
2025-02-16 15:59:17 -05:00
..
collide-cache-h_REF.gc jak3: fix some collide decomp + fix projectiles aiming at intangible objects (#3485) 2024-04-26 16:22:26 +01:00
collide-cache_REF.gc [decompiler] More inline vector functions (#3861) 2025-02-16 15:59:17 -05:00
collide-debug_REF.gc [decompiler] Update vector ops, reduce casts (#3849) 2025-01-20 16:32:58 -05:00
collide-edge-grab-h_REF.gc decomp3: spawn `target`, add merc and particle buckets and some temporary hacks (#3445) 2024-04-05 00:07:39 -04:00
collide-edge-grab_REF.gc [decompiler] More inline vector functions (#3861) 2025-02-16 15:59:17 -05:00
collide-frag-h_REF.gc [jak3] More headers again (#3352) 2024-02-01 18:46:54 -05:00
collide-frag_REF.gc decomp3: spawn `target`, add merc and particle buckets and some temporary hacks (#3445) 2024-04-05 00:07:39 -04:00
collide-func-h_REF.gc decomp3: more misc files (#3349) 2024-01-31 18:25:06 -05:00
collide-h_REF.gc decomp3: spawn `target`, add merc and particle buckets and some temporary hacks (#3445) 2024-04-05 00:07:39 -04:00
collide-mesh-h_REF.gc decomp3: spawn `target`, add merc and particle buckets and some temporary hacks (#3445) 2024-04-05 00:07:39 -04:00
collide-mesh_REF.gc [decompiler] Update vector ops, reduce casts (#3849) 2025-01-20 16:32:58 -05:00
collide-shape-h_REF.gc [decompiler] Cleanup for Jak 3 (#3845) 2025-01-20 10:31:29 -05:00
collide-shape-rider_REF.gc [decompiler] Update vector ops, reduce casts (#3849) 2025-01-20 16:32:58 -05:00
collide-shape_REF.gc [decompiler] More inline vector functions (#3861) 2025-02-16 15:59:17 -05:00
collide-target-h_REF.gc [decompiler] Cleanup for Jak 3 (#3845) 2025-01-20 10:31:29 -05:00
collide-touch-h_REF.gc decomp3: spawn `target`, add merc and particle buckets and some temporary hacks (#3445) 2024-04-05 00:07:39 -04:00
collide-touch_REF.gc [decompiler] Update vector ops, reduce casts (#3849) 2025-01-20 16:32:58 -05:00
collide_REF.gc decomp3: spawn `target`, add merc and particle buckets and some temporary hacks (#3445) 2024-04-05 00:07:39 -04:00
find-nearest_REF.gc [decompiler] `as-type` and font method support (#3855) 2025-02-01 21:23:11 -05:00
los-control-h_REF.gc 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
los-control_REF.gc [decompiler] `as-type` and font method support (#3855) 2025-02-01 21:23:11 -05:00
main-collide_REF.gc [decompiler] Update vector ops, reduce casts (#3849) 2025-01-20 16:32:58 -05:00
pat-h_REF.gc decomp3: more misc files (#3349) 2024-01-31 18:25:06 -05:00