jak-project/goalc
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
..
build_level Save entities to JSON, and make custom level building a little faster (#2973) 2023-09-09 17:06:39 -04:00
compiler [decompiler] Handle find-parent-method (#3018) 2023-09-30 11:06:09 -04:00
data_compiler various subtitle editor fixes (#2941) 2023-08-28 17:51:09 +01:00
debugger game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00
emitter Get the project compiling on Apple Silicon macOS natively (arm64) (#2827) 2023-07-16 11:13:48 -04:00
listener game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00
make [extractor] fix territory being set to wrong value (#2946) 2023-08-30 18:36:10 +01:00
regalloc [goalc] reduce compiler memory usage (#2247) 2023-02-24 18:32:30 -05:00
CMakeLists.txt custom levels: add support for packing models and textures into the FR3 file (#2936) 2023-08-27 22:34:46 +02:00
main.cpp log: rotate log files with timestamps and add flag to disable ANSI colors (#2886) 2023-08-08 17:59:37 +01:00
simple_main.cpp game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00