jak-project/test/decompiler/reference/jak3/engine/camera
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
..
cam-combiner_REF.gc [decompiler] Update vector ops, reduce casts (#3849) 2025-01-20 16:32:58 -05:00
cam-debug-h_REF.gc decomp3: more headers (again) (#3362) 2024-02-03 11:39:29 -05:00
cam-interface-h_REF.gc decomp3: more headers (again) (#3362) 2024-02-03 11:39:29 -05:00
cam-interface_REF.gc [decompiler] `as-type` and font method support (#3855) 2025-02-01 21:23:11 -05:00
cam-layout_REF.gc [decompiler] Cleanup for Jak 3 (#3845) 2025-01-20 10:31:29 -05:00
cam-master_REF.gc [decompiler] More inline vector functions (#3861) 2025-02-16 15:59:17 -05:00
cam-start_REF.gc decomp3: more engine files, `get-texture` macro, use `print` method in autogenerated inspect, fix bitfield float print (#3432) 2024-03-23 09:25:11 -04:00
cam-states-dbg_REF.gc [decompiler] More inline vector functions (#3861) 2025-02-16 15:59:17 -05:00
cam-states_REF.gc [decompiler] `as-type` and font method support (#3855) 2025-02-01 21:23:11 -05:00
cam-update-h_REF.gc decomp3: more engine stuff, support boxed stack arrays in compiler (#3424) 2024-03-15 20:28:26 -04:00
cam-update_REF.gc [decompiler] Update vector ops, reduce casts (#3849) 2025-01-20 16:32:58 -05:00
camera-defs-h_REF.gc decomp3: `font-h`, `display`, `profile`, `settings-h`, `camera-defs-h`, `text-h` (#3335) 2024-01-27 11:27:34 -05:00
camera-h_REF.gc [decompiler] Cleanup for Jak 3 (#3845) 2025-01-20 10:31:29 -05:00
camera_REF.gc [decompiler] Update vector ops, reduce casts (#3849) 2025-01-20 16:32:58 -05:00
pov-camera-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
pov-camera_REF.gc [decompiler] `as-type` and font method support (#3855) 2025-02-01 21:23:11 -05:00