Tyler Wilding
e3473c1902
d/jak2: finish cty-guard-turret-button | race-h | height-map-h and a lot of rigid-body ( #1957 )
...
Also cleaned up `data_decompiler.cpp` to make it a lot less verbose to
add a special case for an array field.
2022-10-11 23:20:36 -04:00
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
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
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
Hat Kid
24590ec670
decomp: water-h, pilot-h, gun-h and board-h types ( #1801 )
...
* decomp: `water-h`, `pilot-h`, `gun-h` and `board-h` types
* update ref test
* fix arg type
* address changes
2022-08-26 14:57:32 -04:00
water111
f7bd0752f8
[decomp] Decompile first batch of files in engine ( #1787 )
...
* wip
* getting stuff set up so we can actually run test cases
* better handle block entry stuff
* types2 working on gstring
* comments
* math ref working
* up to first stack stuff
* stack fixes
* bounding box
* math stuff is working
* float fixes
* temp debug for (method 9 profile-array)
* stupid stupid bug
* debugging
* everything is broken
* some amount of type stuff works
* bitfield
* texture bitfields not working
* temp
* types
* more stuff
* type check
* temp
* float related fixes for light and res problems
* revisit broken files, fix bugs
* more types
* vector debug
* bug fixes for decompiler crashes in harder functions
* update goal_src
2022-08-24 00:29:51 -04:00