Commit Graph

1489 Commits

Author SHA1 Message Date
LagoLunatic 54d8839d91
Remove unnecessary externs (#2705) 2025-09-27 15:30:54 -07:00
LagoLunatic 6242aa6e84
Misc matches and fixes (#2703)
* Match mDoExt_morf_c::getPlayMode

* Misc cleanup

* Fix actor cull spheres

* Match daPy_py_c::getLastSceneSwordAtUpTime, JUTGamePad::testTrigger

* Fix improper demangling of dBgS_SphChk::SetCallback

* Fix d_camera rangef weak func order

* Match more alink_wolf funcs
2025-09-26 18:50:46 -07:00
YunataSavior 30fafe135d
d_a_npc_moir almost matching (#2701) 2025-09-26 12:53:57 +03:00
YunataSavior 083cea4770
npc_seira, npc_seira2, b_gnd, ni, npc_ne OK (#2697)
* npc_seira 44% done

* npc_seira 73% done

* npc_seira matching

* npc_seira2 OK

* b_gnd OK

* d_a_ni OK

* npc_ne OK

* daAlink_c::setSyncHorse OK
* Thanks robojumper!

* Update daNpc_Seira_c::getType
2025-09-25 17:47:58 -07:00
Howard Luck 80626def07
d_a_obj_spinLift OK (#2696)
* d_a_obj_spinLift equivalent

* fixes
2025-09-25 17:43:56 -07:00
LagoLunatic dbf6abeb90
Use composition instead of inheritance for most f_op classes (#2700) 2025-09-25 12:57:15 -07:00
TakaRikka 9a2df2162b
d_debug_camera mostly done (#2695)
* d_debug_camera mostly done

* update some alink demo stuff

* some misc debug stuff
2025-09-25 18:20:46 +03:00
hev7 4635fcb666
d_a_npc_lud matching (#2694)
* d_a_npc_lud matching

* Fixes
2025-09-25 18:20:14 +03:00
Carco_21 749de8e36d
d_a_npc_gwolf matching (#2693)
* almost matching

* matching

* PR cleanup
2025-09-24 19:51:23 +03:00
Howard Luck f932405784
d_a_obj_smgdoor OK (#2692)
* d_a_obj_smgdoor OK

* symbols

* dEvtCnd_CANDOOR_e

* remove else
2025-09-24 19:51:01 +03:00
Trueffel 46b1f0ee71
d_a_e_hz (Tile Worm) OK and linked (#2691)
* all funcs matched

* TU linked and some docs

* apply enums
2025-09-24 19:50:36 +03:00
hatal175 169c7ae4a2
JHOSTIO almost comletely linked (#2689) 2025-09-23 20:27:24 -06:00
Carco_21 68b4af5eab
d_a_npc_pachi_besu matching (#2690)
* initial work

* matching. still need to finish enums

* cleanup
2025-09-23 21:20:25 +03:00
Carco_21 aecc7c8420
d_a_npc_ins equivalent (#2685)
* initial work

* over half done

* almostish done

* equivalent

* PR cleanup
2025-09-23 06:13:36 -07:00
TakaRikka 125f2325a5
cleanup event stuff (#2688)
* cleanup event stuff

* fix debug
2025-09-23 14:20:38 +03:00
Howard Luck 47abdf82fa
d_a_obj_crvlh_up OK (#2687)
* d_a_obj_crvlh OK

* rm padding

* rm test.cpp
2025-09-22 19:16:21 -07:00
Carco_21 7bc5a82a39
matching (#2686) 2025-09-22 22:53:03 +03:00
Howard Luck c51868e48b
d_a_obj_crvlh_down OK (#2683)
* d_a_obj_crvlh_down OK

* symbols

* Minor fixes

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-09-22 14:45:02 +03:00
YunataSavior 59a5da9180
d_a_npc_coach & obj_crope OK (#2684)
* d_a_npc_coach OK

Closes #758

* Revert "d_a_npc_coach OK"

This reverts commit fef808621f.

* d_a_npc_coach OK

Closes #758

* d_a_obj_crope OK

Closes #903
2025-09-22 14:44:43 +03:00
YunataSavior c756345026
d_a_e_zh OK (#2682)
Closes #584
2025-09-22 03:30:25 +03:00
Howard Luck d78a8571d1
d_a_obj_ndoor OK (#2681)
* d_a_obj_ndoor matching

* fixes for taka
2025-09-22 03:29:25 +03:00
hatal175 e82806047b
d_a_obj_kznkarm OK (#2678)
* d_a_obj_kznkarm OK

* d_a_title GZ2P01 Matching

* More GZ2P01 Matches

* d_s_name matching for PAL

* d_msg_scrn_light Matching for PAL

* d_menu_fishing Matches on PAL

* d_file_sel_info Matches on PAL

* d_a_npc_cd Matching on PAL

* d_error_msg Matches on PAL

* d_cam_param matches as is on PAL

* Fix PAL JSystem and Z2AudioLib splits/symbols

* Aligning the rest of TUs to compile on all GC versions
2025-09-21 13:26:34 -06:00
Howard Luck 9a19ec0c13
d_a_obj_bemos equivalent (#2679)
* checkpoint

* e_wb changes

* checkpoint

* small fix

* d_a_obj_bemos equivalent

* add comment, fix other version symbols

* fixes for hatal
2025-09-21 19:00:19 +03:00
Carco_21 5f70650ba2
d_a_e_gm matching (#2669)
* initial work

* Almost matching

* missed formatting changes

* matching

* changed to equivalent

* PR cleanup, now matching
2025-09-20 03:44:42 +03:00
Carco_21 7089e1893d
d_a_npc_grz matching (#2664)
* initial work

* Over half done

* equivalent

* not sure what the issue is?

* matching

* PR cleanup
2025-09-19 21:48:19 +03:00
Carco_21 2c39c2105f
Various regalloc fixes and linking (#2673)
* some d_a_b TUs matching

* reworked d_a_b_ob enums

* d_a_b_oh seems to be linking fine

* d_a_b_oh actually not good (i think), but npc_zrc matching

* d_a_b_oh is indeed matching!

* d_a_cam_param linked

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-09-19 21:38:54 +03:00
YunataSavior 9306edbec6
d_a_obj_lv6bemos2 OK (#2672)
* d_a_obj_lv6bemos2 OK

* Forgot to remove NONMATCHING comment

* Link d_a_obj_lv6bemos2 for JP

---------

Co-authored-by: Max Roncace <me@caseif.net>
2025-09-19 21:32:38 +03:00
Max Roncace 11ebeb3fe0
Link all oustanding US-matched TUs for JP (#2671) 2025-09-19 21:32:05 +03:00
hatal175 1aeb2a0c54
d_a_e_wb equivalent (#2667)
* Some work d_a_e_wb

* Match more in e_wb

* d_a_e_wb equivalent
2025-09-17 18:09:59 -06:00
Max Roncace fe5e8aff98
More miscellaneous TU improvements (#2665) 2025-09-17 15:01:59 +03:00
Carco_21 2106c56f60
d_a_npc_aru matching (#2660)
* foundational work

* lots of work

* matching

* cleanup

* fixed error with status enum

* PR cleanup
2025-09-16 14:54:08 -07:00
TakaRikka e931b1fb79
swpush5 / bhashi done (#2663)
* swpush5 done

* bhashi done

* gptaru done
2025-09-16 17:31:37 +03:00
Max Roncace a8136496c7
Miscellaneous TU fixes (#2662) 2025-09-15 02:53:53 -07:00
YunataSavior 9fd28c507f
d_a_obj_kago OK (#2661)
* d_a_obj_kago OK

* Mark d_a_obj_kago as matching for JP

---------

Co-authored-by: Max Roncace <me@caseif.net>
2025-09-15 02:49:35 -07:00
Carco_21 e3353f2c56
d_a_npc_zelro matching and some npct's linked (#2649)
* npc_zero matching and some other npcts cleaned and linked

* debug fix

* okay actual debug fix... i hope

* this isnt funny anymore

* please

* this should fix things

* added JP matching to zelR and zelRo

* added attention flag enum
2025-09-15 02:44:07 -07:00
Carco_21 9b4b9003c4
d_a_npc_raca matching (#2648)
* initial work

* most functions matching

* matching

* PR cleanup
2025-09-15 02:40:19 -07:00
LagoLunatic ae6f4242b3
Finish renaming subtype to argument (#2659) 2025-09-14 13:17:54 -07:00
Trueffel 5e71d98324
d_a_obj_stairBlock OK (#2656) 2025-09-14 10:56:51 +03:00
TakaRikka e0c9d16332
npc_kkri done (#2655) 2025-09-14 10:55:16 +03:00
Max Roncace dbbd102db5
Improve several almost-matching TUs (#2653) 2025-09-13 23:02:28 +03:00
YunataSavior 4c9ce97f3e
d_a_e_gb and d_a_obj_bosswarp OK (#2652)
* d_a_e_gb and d_a_obj_bosswarp OK

* fix e_gb and obj_bosswarp symbols

* mark e_gb and obj_bosswarp as OK for JPN

* Remove nonmatching comment

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-09-13 14:11:05 +03:00
TakaRikka f91257cc62
npc_kakashi done (#2651) 2025-09-13 00:29:20 +03:00
TakaRikka 8a3a6d2997
npc_tkj done (#2647) 2025-09-12 15:03:17 +03:00
Max Roncace 8420c94854
Minor JSystem/Z2Audio fixes (#2650) 2025-09-11 23:39:23 -07:00
Max Roncace a6c3c20b23
Add PCH for JSystem (#2645) 2025-09-11 13:20:45 -07:00
Max Roncace 4b729b0f65
Minor d_a_alink improvements (#2646) 2025-09-10 21:10:04 -07:00
hatal175 84eed3ea68
Some work on d_a_e_wb (#2639)
* Some work d_a_e_wb

* Match more in e_wb
2025-09-09 21:45:07 -07:00
Carco_21 bfeb1c048b
d_a_e_zm matching (#2638)
* initial work

* a little more work

* matching

* pr cleanup

* changed 'subtype' to 'argument'

* fixed debug error
2025-09-10 01:53:13 +03:00
Carco_21 8cbe4a2b5c
d_a_obj_ornament_cloth matching (#2643)
* initial work

* More work. Also just realized I pushed TU work to my main fork lol

* about halfway through

* matching
2025-09-10 01:36:38 +03:00
Carco_21 e9c8ce0665
d_a_obj_kshutter matching (#2635)
* fixed branch issue

* matching

* fixed debug error

* pr cleanup
2025-09-09 19:51:44 +03:00
TakaRikka e7477b5048
Lv4railwall / lv4sand / lv4slidewall done. fix wii build (#2637)
* lv4railwall / lv4sand / lv4slidewall done and wii build fix

* fix Mtx** parameters

* add some notes about wii compiler version

* Remove dol2asm include

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-09-09 17:30:32 +03:00
Max Roncace 54f5a36264
d_camera almost matching (equivalent) (#2633) 2025-09-08 14:41:07 +03:00
TakaRikka 52aa5f677f
scannon / scannon_crs / scannon_ten done (#2632)
* scannon done

* scannon_crs done

* scannon_ten done

* pr

* attention debug stuff

* attn flags

* fix build
2025-09-08 12:01:20 +03:00
Carco_21 cbe5aaca8f
d_a_obj_kag matching + some weak order fixes (#2631)
* obj_kag matching. Also fixed weak func order in e_ww and e_sm

* adding matching for JP
2025-09-06 11:59:41 +03:00
Carco_21 c612bfbca8
d_a_e_ww equivalent (#2629)
* equivalent

* cleanup
2025-09-05 14:07:02 +03:00
Carco_21 f8a6d0df95
d_a_e_sm equivalent (#2627)
* solid work

* equivalent

* tiny work

* fixed error

* include fix

* fixed debug build
2025-09-05 14:00:56 +03:00
TakaRikka b45a089e15
some J3D/misc cleanup (#2628)
* some j3d cleanup

* begin using uintptr_t

* j3dgraphbase cleanup

* j3dgraphanimator cleanup
2025-09-04 17:56:59 +03:00
Carco_21 ee8b843996
d_a_obj_crvfence matching (#2622)
* equivalent

* kasi_mng_c work

* class work and create function work

* kasi_mng_c is matching

* little more work

* almost matching

* enums defined

* kasi_hana almost matching

* more mich work

* mich almost matching

* kyu almost matching

* potentially fixed issue

* Now maybe good?

* Should be fixed now

* PR Cleanup

* Over 50% done

* matching

* pr cleanup
2025-09-03 22:23:46 +03:00
Carco_21 0adb35db8d
d_a_npc_tks almost matching (#2616)
* initial work

* one more demo func left

* almost matching

* almost matching

* pr cleanup
2025-09-03 22:23:04 +03:00
Max Roncace adb62e947b
d_camera improvements (part 1) (#2623)
* Rename several dCamera_c fields

* Refactor mWork to generic buffer instead of union

* d_camera match improvements

* Implement several dCamera_c functions

* Remove d_camera.h from PCH

The symbol names in d_camera indicate that this header wasn't
included in the PCH (as they're compiled directly in d_camera.cpp).
2025-09-03 10:32:02 +03:00
Stbn-antier a11c22af67
Work on e_ww (#2618) 2025-09-03 10:27:58 +03:00
Max Roncace 8c94dc8608
Add hacks to fix PCH .data causing fake mismatches with decompctx (#2606) 2025-08-30 20:57:35 -07:00
Howard Luck abf5f59f0c
d_a_obj_beamos / d_a_e_wb WIP (#2620)
* WIP

* daE_WB_Draw

* checkpoint

* more matches

* checkpoint

* fixes

* fix debug build

* fix daObjBm_c alignment

* fixes for luz

* fixes for hatal

* manual spacing changes

* run clang-format

* move header back
2025-08-31 01:11:52 +03:00
TakaRikka 2036d9c34f
obj_geyer and obj_ktOnFire done (#2619)
* obj_geyer and obj_ktOnFire done

* pr
2025-08-31 01:10:43 +03:00
TakaRikka 5d46f1fc22
d_a_e_ai done (#2617)
* d_a_e_ai done

* pr
2025-08-30 10:31:22 +03:00
Max Roncace c1615cdfff
d_a_npc_ykw almost matching (#2613) 2025-08-30 10:30:51 +03:00
Carco_21 179189c758
d_a_npc_kasi_hana, mich, and kyu work (#2610)
* equivalent

* kasi_mng_c work

* class work and create function work

* kasi_mng_c is matching

* little more work

* almost matching

* enums defined

* kasi_hana almost matching

* more mich work

* mich almost matching

* kyu almost matching

* potentially fixed issue

* Now maybe good?

* Should be fixed now

* PR Cleanup
2025-08-29 22:40:14 +03:00
hatal175 6313a96d49
d_a_obj_kbox matching (#2615)
* Align dKy_darkworld_check with debug return type

* d_a_obj_kbox matching

* Revert "Align dKy_darkworld_check with debug return type"

This reverts commit f0b9e5f8fb.
2025-08-29 04:33:35 -07:00
TakaRikka e8ea87e5c2
d_a_e_fk equivalent (#2614)
* d_a_e_fk equivalent

* pr
2025-08-29 01:25:36 +03:00
TakaRikka 5ce5bf20cc
npc_kn mostly done (#2609)
* npc_kn mostly done

* fix shieldD

* pr fixes

* weak func fixes
2025-08-28 13:49:24 +03:00
LagoLunatic 956e84b0e7
Start linking some TUs on debug and PAL (#2612)
* Fix clang union handling (affects all TUs including d_camera.h)

Union members with non-trivial ctors/dtors is undefined behavior and clangd normally throws a fit and refuses to parse the whole union, but it seems to be possible to ifdef the problematic ctors out for non-mwerks compilers and explicitly tell modern compilers to use the defaults instead. Thanks to encounter for this fix.

* Link all TUs that already match on debug

In order to link TUs for debug, most functions seem to need to have their alignment set to 16 in symbols.txt. There are a few hundred functions that seem to be the exception and break when their alignment is set to 16, but I don't know the reason for this.

* Remove some fakematches (nosyminline/sym off) for weak func order in retail

* Fix clang not knowing that MSL_C++ is C++

* Link more debug TUs

* Fix missing PAL split

* Fix wrong slashes being used in includes

* RZDE01_00: Fix incorrect capitalization in config.yml

* Add RZDE01_00 to configure task

* Revert configure.py to use MatchingFor

* Fix PAL splits and symbols, link matching PAL TUs
2025-08-27 17:37:31 -07:00
LagoLunatic 0579f4acef
Fix d_a_ykgr retail regalloc and mostly match on debug (#2608)
* d_a_ykgr OK

* Fix sqrtf for shield

* Fix pch caps
2025-08-27 01:40:48 -07:00
Max Roncace 22573bf7a6
Fix incorrect PCH being used in some framework objects (#2604) 2025-08-25 15:34:26 -07:00
Max Roncace b309e0cf57
Miscellaneous improvements (#2603) 2025-08-25 15:33:44 -07:00
hatal175 19c8b6995e
d_a_obj_mie OK (#2602) 2025-08-25 01:34:08 -07:00
Max Roncace 46a11f2cd7
Several more TUs matching (#2601) 2025-08-24 20:56:20 +03:00
YunataSavior 0abe859c28
npc_maro Matching (#2600) 2025-08-24 11:48:55 +03:00
Max Roncace 513816ce5c
Add a precompiled header for RELs (#2597) 2025-08-24 09:52:08 +03:00
Carco_21 8a30030dc7
equivalent (#2599) 2025-08-22 23:47:36 -07:00
TakaRikka 0a8679f92e
d_a_mg_rod mostly done (#2598)
* d_a_mg_rod mostly done

* pr
2025-08-23 08:58:29 +03:00
Carco_21 aec2c0987d
d_a_npc_grmc equivalent (#2596)
* initial work

* cleanup

* added anm enums

* added joint enum

* updated configure.py

* Indentation

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-08-22 11:49:23 +03:00
Carco_21 15d0094170
d_a_npc_fguard equivalent (#2595)
* almost matching

* Still have inline issue

* equivalent

* updated configure.py

* fixed broken match
2025-08-22 11:29:44 +03:00
Carco_21 731d8be59e
d_a_npc_grc equivalent (#2594)
* initial work

* d_a_npc_grc equivalent

* Fixed configure.py change

* pr cleanup
2025-08-22 10:52:59 +03:00
hatal175 ef75333735
d_a_obj_msima OK (#2593) 2025-08-21 04:07:41 -07:00
Carco_21 7a87b3132f
d_a_e_bi & d_a_obj_fw equivalent (#2592)
* initial work

* d_a_obj_fw equivalent

* d_a_e_bi equivalent

* Update d_a_obj_fw.cpp

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-08-19 18:48:40 +03:00
Max Roncace aaa9cb22ef
d_a_e_yr equivalent (#2591) 2025-08-19 09:19:01 +03:00
hatal175 a23984e74d
d_a_obj_lv4chandelier equivalent (#2590) 2025-08-17 19:06:17 -07:00
Carco_21 b0d08c5188
d_a_obj_swpush equivalent (#2589)
* initial work

* Create method done

* tiny work

* more work

* swpush equivalent
2025-08-17 19:00:03 -07:00
Carco_21 39ed9ff5d9
d_a_npc_tkj2 equivalent (#2588)
* initial work

* Small work

* tkj2 equivalent

* cleanup

* PR cleanup
2025-08-17 23:09:19 +03:00
Carco_21 712025f67a
d_a_e_dd equivalent (#2587)
* initial work

* took out unneeded nonmatching comment

* d_a_e_dd equivalent

* pr cleanup
2025-08-15 22:37:19 +03:00
Carco_21 0e8d06c29f
d_a_npc_doorboy equivalent (#2581)
* initial work

* doorboy equivalent

* Update d_a_npc_doorboy.h

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-08-15 13:01:44 +03:00
Max Roncace 41c72dc6d9
d_a_e_hp almost matching (#2585) 2025-08-15 12:50:49 +03:00
TakaRikka a6802bf7a2
e_db equivalent (#2586)
* e_db equivalent

* pr fix
2025-08-15 09:26:09 +03:00
hatal175 8b93a8761f
d_a_obj_kita OK (#2582)
* d_a_obj_kita OK

* Remote ctor and dtor
2025-08-13 12:53:43 -07:00
TakaRikka c724824c5c
d_a_obj_key / d_a_obj_keyhole / d_a_obj_smallkey (#2584)
* obj_key equivalent

* obj_keyhole done

* obj_smallkey done

* use macro
2025-08-13 22:47:18 +03:00
Carco_21 3de1f91acb
d_a_obj_ito work (#2583)
* All functions worked on

* padding cleanup
2025-08-13 11:57:56 +03:00
Carco_21 4ade12fd64
d_a_npc_coach work (#2579)
* data and class member work

* inline work

* got to SetCoachBlazing

* work on some calc functions

* all functions worked on

* pr cleanup

* more pr cleanup

* coach header cleanup
2025-08-12 20:54:06 +03:00
hatal175 58a6d8d793
d_a_obj_gomikabe OK (#2580)
* d_a_obj_gomikabe OK

* Remove unneeded include
2025-08-11 17:18:42 -07:00
Max Roncace ddf4fc0677
Misc framework fixes (#2578) 2025-08-10 23:22:28 -07:00
TakaRikka 8785882261
e_hb equivalent / some pal work (#2577)
* some pal work

* e_hb equivalent

* update config
2025-08-10 10:27:45 -06:00