jak-project/common
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
..
audio decomp: handle dumping jak 2 VAG file assets (#2969) 2023-09-09 10:33:41 -04:00
cross_os_debug Make all project targets compile on Intel MacOS (#2780) 2023-07-01 13:30:11 -04:00
cross_sockets cleanup our cmake and build warnings (#2876) 2023-08-08 20:53:16 -04:00
custom_data [jak2] More texture animations (#2831) 2023-07-16 13:02:53 -04:00
dma [jak2] Work-in-progress texture animations (#2819) 2023-07-14 18:17:54 -04:00
formatter [decompiler] Handle find-parent-method (#3018) 2023-09-30 11:06:09 -04:00
global_profiler jak2: overlord rework (#2544) 2023-04-29 16:13:57 -04:00
goos [extractor] fix territory being set to wrong value (#2946) 2023-08-30 18:36:10 +01:00
log [decompiler] Handle find-parent-method (#3018) 2023-09-30 11:06:09 -04:00
math [jak 2] Clouds V2, Clean up texture animator (#2921) 2023-08-19 12:50:59 -04:00
repl cleanup our cmake and build warnings (#2876) 2023-08-08 20:53:16 -04:00
serialization [jak2] Work-in-progress texture animations (#2819) 2023-07-14 18:17:54 -04:00
sqlite [jak2] Work-in-progress texture animations (#2819) 2023-07-14 18:17:54 -04:00
texture [jak2] Toxic Slime texture animations (#2922) 2023-08-19 14:22:30 -04:00
type_system improve decomp of state handlers and art groups (#3014) 2023-09-23 09:53:50 -04:00
util g/j2: Fill out game options menu (#3003) 2023-09-23 15:08:13 -04:00
versions formatter: add tree-sitter dependency and commit early draft work on a proper code formatter (#2536) 2023-04-24 23:46:55 -04:00
CMakeLists.txt formatter: support formatting bindings, for example in a let (#2883) 2023-08-05 15:23:09 -04:00
common_types.h support c++ tools on macos (#2063) 2022-12-22 17:12:05 -05:00
goal_constants.h game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00
link_types.h [goalc] compile/run code for jak2 ckernel, set up dummy KERNEL.CGO (#1625) 2022-07-08 19:23:49 -04:00
listener_common.h Typo fix LTT_MSG_INSEPCT (#2778) 2023-06-29 16:45:53 -04:00
symbols.h game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00