d/jak2: get script decompiling, no ref tests yet (#1877)

Has boxed array accessing that prevents me from adding anything to ref
tests (the entire file is lambdas so the access pattern that i would
like to ignore happens at the top-level, can't ignore it.

This code actually already has quite a bit of original docstrings so
it's not too bad in that regard considering a `script-context` can have
16 arbitrary objects. It seems they rarely put more than a single object
in the context and the types are usually obvious / are actually type
checked!
This commit is contained in:
Tyler Wilding
2022-09-14 19:37:12 -04:00
committed by GitHub
parent 8117ed3bc7
commit 82e0517275
34 changed files with 635 additions and 2973 deletions
@@ -771,6 +771,11 @@
"(method 10 editable-face)": [[16, ["inline-array", "vector", 6]]],
"(method 11 editable)": [[16, "collide-query"]],
"(method 10 editable-plane)": [[16, "matrix"]],
"(method 9 script-context)": [[16, "script-context"]],
"(anon-function 32 script)": [
[16, "vector"],
[32, "vector"]
],
// placeholder
"placeholder-do-not-add-below": []
}