water111
3d4dfb2077
[decomp] Decompile some time-of-day stuff, support new style Jak 2 time of day ( #1943 )
...
- Add "tfrag-water" tfrag tree support (may just be the same as Jak 1's
'dirt' for the settings)
- Add "tfrag-trans" tfrag tree support, reusing "trans-tfrag" from jak
1.
- Add a hack to `LinkedObjectFileCreation` to handle `oracle`, which is
accidentally multiply defined as a type leftover from jak 1 (an entity
in village1), and level info for jak 2.
- Add `VI1.DGO`
- add `time-of-day.gc`, and a few other stub functions so it works
- Set up some time of day stuff in GOAL for jak 2/PC renderers
- Clean up time of day in c++ renderers, support the more complicated
weight system used by jak 2 (backward compatible with jak 1, thankfully)
The mood functions now run, so this could cause problems if they rely on
stuff we don't have yet. But it seems fine for ctysluma and prison for
now.








2022-10-08 13:33:03 -04:00
Tyler Wilding
be1e40a041
d/jak2: decompile conveyor | elevator | plat | bouncer | basebutton | base-plat | most of sampler | simple-nav-sphere | simple-focus | elec-gate and blocking-plane ( #1942 )
...
Most of these have been atleast partially documented / named / cleaned
up as well.
Co-authored-by: water <awaterford111445@gmail.com >
2022-10-08 12:42:52 -04:00
ManDude
4e48ba21c1
[decompiler] make (not (logtest? work ( #1934 )
2022-09-30 18:26:52 -04:00
ManDude
9351bf782e
[decomp2] game-info, game-task and task-control ( #1884 )
...
And everything else needed for them!
A couple functions are bad currently.
- fixes #1929 - untested on linux
- fixes #1924 - now you need to type `,` before a lambda you want to put
in a pair.
- fix debugger symbol table in jak 2
- made the decompiler output `(meters 2)` instead of `(meters 2.0)`
- fixed a bug with the bitfield enum special -1 case
- made bad game text decomp not exit the decompiler
- added `editable-player` and `script`
2022-09-27 19:44:20 -04:00
water111
e3a4627eeb
[decompiler] recognize jak 2 vector-float*!, fix some vector inline casting bugs ( #1926 )
2022-09-26 20:57:44 -04:00
water111
5c7a3384e5
[jak2] static sound macro ( #1919 )
...
eg
```
(set! (-> obj sound-pre-open) (static-sound-spec "airlock-slider"))
```
it is the same as jak 1, but the `fo-curve` option is set to 1
sometimes.
2022-09-25 16:19:06 -04:00
Hat Kid
a53c06fe2b
decomp: target, target-board, board-states ( #1915 )
...
Just missing `target-board-handler` because it errored with `Bad delay
slot in clean_up_cond_no_else_final` and I wasn't able to figure out
where the asm branch was.
Commented out `target-board-clone-anim` because it crashes even after
adding `clone-anim` and `clone-anim-once`.
2022-09-25 12:07:37 -04:00
Tyler Wilding
017070525a
d/jak2: finish vol | cam-layout | menu | default-menu and start working on nav code ( #1867 )
...
I also added font-color names since this PR adds quite a few:

2022-09-11 13:42:46 -04:00
Tyler Wilding
81b6d5fe08
d/jak2: finish find-nearest | trajectory | editable-h and most of editable and editable-player ( #1847 )
...
Also made a first-pass of their SQL schema in preparation for getting
that working.
2022-09-10 18:03:17 -04:00
Hat Kid
bb777e4bac
decomp: logic-target ( #1861 )
...
Also adds all names for `focus-status`.
Closes #1859 and updates ref tests for Jak 1 for this edge case.
2022-09-08 18:26:33 -04:00
Tyler Wilding
44d59e6b33
d/jak2: finish mood-funcs | mood-funcs2 | almost all of mood and airlock ( #1842 )
2022-09-06 20:35:00 -04:00
ManDude
f1f18e7e05
[decomp2] joint-mod, chain-physics, loader ( #1816 )
...
* prep
* Update repo-settings-mark.bat
* Update repo-settings-unmark.bat
* decomp `joint-mod`
* add `joint-mod-ik-callback` to ref exceptions
* `chain-physics`
* Update jak2_ntsc_v1.jsonc
* update bat scripts
* `loader`
* pretty
* refs
* support `process->handle` (and `ppointer->handle`?)
* refs
* source and fixes
* fix `ja` detect
* `ja` macro implement
* fix a method
* update source
* merge fixes
* annoying fixes
* format
* arg
* hack
* fix test
2022-09-02 18:13:38 -04:00
Hat Kid
52bb1c4915
decomp: board-h, board-util, gun-util, darkjak-h ( #1817 )
...
* decomp: `board-util`, `gun-util`, `darkjak-h`
* address changes and decompile `board-h`
* fix `board-util`
* remove `_type_` from `projectile` method
* fix `gun-h.gc`
* Update gun-h.gc
2022-09-01 18:25:42 -04:00