jak-project/goalc/compiler
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
..
compilation [decompiler] Handle find-parent-method (#3018) 2023-09-30 11:06:09 -04:00
docs LSP: OpenGOAL Feature Support - Part 1 (#2668) 2023-05-21 17:24:23 -04:00
CodeGenerator.cpp [goalc] reduce compiler memory usage (#2247) 2023-02-24 18:32:30 -05:00
CodeGenerator.h game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00
Compiler.cpp [jak2] fully implement collide mesh renderer (#3010) 2023-09-22 15:50:16 +01:00
Compiler.h [decompiler] Handle find-parent-method (#3018) 2023-09-30 11:06:09 -04:00
CompilerException.h split new pc features in some files into their own code files + address some old issues + ripple graphics improvements (#2216) 2023-02-13 21:39:14 +00:00
CompilerSettings.cpp [jak2] support for multiple out/ directories (#1585) 2022-06-30 21:11:58 -04:00
CompilerSettings.h [jak2] support for multiple out/ directories (#1585) 2022-06-30 21:11:58 -04:00
ConstantValue.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
Env.cpp [opengoal] make none a child of object (#3001) 2023-09-22 10:54:49 +01:00
Env.h [decompiler] Handle find-parent-method (#3018) 2023-09-30 11:06:09 -04:00
IR.cpp misc low hanging fruit fixes (#3034) 2023-09-27 00:59:07 +01:00
IR.h [jak2] GOAL side texture animation stuff (#2766) 2023-06-24 10:11:47 -04:00
Label.h Add #pragma once to all headers 2020-09-13 21:36:35 -04:00
Lambda.h [goalc] reduce compiler memory usage (#2247) 2023-02-24 18:32:30 -05:00
StaticObject.cpp lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
StaticObject.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
SymbolInfo.h docs: Automatically generate documentation from goal_src code (#2214) 2023-02-20 19:49:37 -05:00
Util.cpp [decompiler] Handle find-parent-method (#3018) 2023-09-30 11:06:09 -04:00
Val.cpp [jak 2] fix boot, increase level heap sizes (#2252) 2023-02-25 15:20:17 -05:00
Val.h [goalc] default to non-immediate lambdas if not requested (#2604) 2023-04-30 19:00:27 -04:00