jak-project/scripts
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
..
batch [jak2] get new cheats working (#2885) 2023-08-07 00:15:53 +01:00
ci CI: check for removed goal_src code that we want or need to perserve (#2987) 2023-09-14 01:31:08 -04:00
cpp formatter: add tree-sitter dependency and commit early draft work on a proper code formatter (#2536) 2023-04-24 23:46:55 -04:00
docs docs: fix method docstrings and grab @file comment blocks to use as a file description (#2289) 2023-02-27 18:58:01 -05:00
emacs [goalc] add a build system (#704) 2021-07-15 21:37:15 -04:00
examples scripts: Add a (hopefully) better goal_src updating script (#1769) 2022-08-19 11:30:07 -04:00
gsrc scripts: remove unused code_retention script code (#3019) 2023-09-23 16:05:29 -04:00
shell [decompiler] Handle find-parent-method (#3018) 2023-09-30 11:06:09 -04:00
sublime_text [decomp] load boundaries (#922) 2021-10-20 19:49:32 -04:00
tasks formatter: support comments better (including block comments) and constant pair formatting (#2745) 2023-06-18 17:19:35 -04:00
analyze_build_time.py Try to speed up the build (#106) 2020-10-29 21:27:52 -04:00
combine_all_imports.py [jak2] use art constants (#2097) 2023-01-07 10:32:03 -05:00
decomp_progress.py [decomp] Decompile some time-of-day stuff, support new style Jak 2 time of day (#1943) 2022-10-08 13:33:03 -04:00
gen-dgo-txt.py jak2: add .gd files and level info for some ps3 test levels (#2776) 2023-06-27 23:52:19 +02:00
gen-test-cases.py Improved test namings for multi-operations, added new ones, still a few failures (#190) 2021-01-10 15:46:46 -05:00
memory-dump-p2s.py random fixes + support clang-cl on visual studio (#1129) 2022-02-07 19:15:37 -05:00
setup_art_group_imports.py [decomp] add import statements for art groups (#1372) 2022-05-23 18:53:02 -04:00
subtitle2_gen.py Jak 2 pc subtitle support (#2672) 2023-06-08 01:04:16 +01:00
update_decomp_reference.py [decomp] fix up debug menu rendering, add a few others (#1892) 2022-09-16 20:42:33 -04:00