jak-project/decompiler/level_extractor
water111 0e31a9c407
[decompiler] Handle find-parent-method (#3018)
This change adds a few new features:
- Decompiler automatically knows the type of `find-parent-method` use in
jak 1 and jak2 when used in a method or virtual state handler.
- Decompiler inserts a call to `call-parent-method` or
`find-parent-state`
- Removed most casts related to these functions

There are still a few minor issues around this:
- There are still some casts needed when using `post` methods, as `post`
is just a `function`, and needs a cast to `(function none)` or similar.
It didn't seem easy to change the type of `post`, so I'm not going to
worry about it for this PR. It only shows up in like 3 places in jak 2.
(and 0 in jak 1)
- If "call the handler if it's not #f" logic should probably be another
macro.

Fixes #805
2023-09-30 11:06:09 -04:00
..
BspHeader.cpp [decompiler] Handle find-parent-method (#3018) 2023-09-30 11:06:09 -04:00
BspHeader.h [jak 2] Export the collision mesh (#2977) 2023-09-10 17:32:18 -04:00
common_formats.h [merc] Add merc extraction (#1356) 2022-05-11 22:53:53 -04:00
extract_actors.cpp Save entities to JSON, and make custom level building a little faster (#2973) 2023-09-09 17:06:39 -04:00
extract_actors.h Save entities to JSON, and make custom level building a little faster (#2973) 2023-09-09 17:06:39 -04:00
extract_collide_frags.cpp [jak2] fully implement collide mesh renderer (#3010) 2023-09-22 15:50:16 +01:00
extract_collide_frags.h [jak 2] Export the collision mesh (#2977) 2023-09-10 17:32:18 -04:00
extract_common.cpp lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
extract_common.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
extract_level.cpp [jak 2] Export the collision mesh (#2977) 2023-09-10 17:32:18 -04:00
extract_level.h custom levels: add support for packing models and textures into the FR3 file (#2936) 2023-08-27 22:34:46 +02:00
extract_merc.cpp cleanup our cmake and build warnings (#2876) 2023-08-08 20:53:16 -04:00
extract_merc.h [merc2] Support emerc (#2147) 2023-01-22 18:30:31 -05:00
extract_shrub.cpp [shrub] Fix bug with gs-prim settings (#2899) 2023-08-13 16:06:59 -04:00
extract_shrub.h [jak2] misc fixes to renderers (#2488) 2023-04-14 21:13:45 -04:00
extract_tfrag.cpp Save entities to JSON, and make custom level building a little faster (#2973) 2023-09-09 17:06:39 -04:00
extract_tfrag.h [jak2] fix atest flag in tfrag (#2381) 2023-03-21 20:40:29 -04:00
extract_tie.cpp handle texture of 0 in extract_tie (#2911) 2023-08-16 19:40:28 -04:00
extract_tie.h [decomp] Decompile some time-of-day stuff, support new style Jak 2 time of day (#1943) 2022-10-08 13:33:03 -04:00
fr3_to_gltf.cpp [jak1] Fix duplicated tie extract (#2972) 2023-09-09 11:56:18 -04:00
fr3_to_gltf.h Add a gltf level exporter (#1719) 2022-08-05 12:25:35 -04:00
MercData.cpp [jak2] Floating point blerc (#2715) 2023-06-11 12:35:08 -04:00
MercData.h [jak2] Floating point blerc (#2715) 2023-06-11 12:35:08 -04:00
notes.txt [graphics] tfrag3 renderer (#978) 2021-12-04 12:33:18 -05:00
tfrag_tie_fixup.cpp cleanup our cmake and build warnings (#2876) 2023-08-08 20:53:16 -04:00
tfrag_tie_fixup.h Add a gltf level exporter (#1719) 2022-08-05 12:25:35 -04:00