Commit Graph

1721 Commits

Author SHA1 Message Date
Max Roncace 9943a52a79
Move cBgS_GrpPassChk and cBgS_PolyPassChk to separate headers (#2861)
This is supported by RTTI ordering which only makes sense if these
classes are in separate headers from the dBgS_* classes.
2025-11-25 18:39:11 +02:00
Carco_21 f5e3e89512
d_a_mg_rod a little closer to matching (#2857)
* closer to matching

* build error fix

* PR cleanup
2025-11-25 18:36:25 +02:00
Carco_21 9e232b61fb
Small matches/improvements (#2844)
* j2dmatblock debug work

* J2DMaterialFactory matching

* J2DPictureEx matching

* tiny work

* fixed regressions

* PR cleanup

* build error fix
2025-11-25 18:34:19 +02:00
LagoLunatic 2f2f37a734
Misc fixes (#2860)
* Misc matches

* Remove more old dol2asm stuff

* Remove dCcS::SetMass-related fakematches

No longer necessary with the PCH for some reason.

* Use attention types enum in more places

* Remove more dol2asm stuff

* Clean up matDL_dis.py
2025-11-25 18:32:34 +02:00
hev7 cd3d634133
Link npc_guard (#2859) 2025-11-24 15:30:01 -08:00
LagoLunatic 97c60c9092
Match 5 d_bg_w_kcol funcs (#2856)
* dBgWKCol::CaptPoly equivalent

* dBgWKCol::CaptPoly OK

* Switch s32->int for the rest of the dBgW functions just in case

This doesn't immediately help any other functions besides CaptPoly, but I suspect it could help prevent issues in the future since it's more likely to be what the original devs did.

* Debug var fix

* Match 3 more kcol funcs

* Remove unused lits

* Update nonmatching comments

* Fix ChkShdwDrawThrough
2025-11-23 22:07:35 -08:00
roeming 178191908c
kcol progress (#2855) 2025-11-23 21:16:42 -08:00
YunataSavior 818bd2f0bf
Some npc_ks dbg work (#2854) 2025-11-23 21:14:20 -08:00
YunataSavior 0cc9ebd724
Link npc_zra (#2853) 2025-11-23 21:10:24 -08:00
hev7 6067c05f14
Link npc_doc (#2851)
* Link npc_doc

* Remove changes causing regression in debug
2025-11-23 21:09:19 -08:00
LagoLunatic 8d53f6dd59
Fix more nonmatchings (#2850)
* Fix GetPolyIndex and GetBgIndex, fixing a couple regallocs

* Match daNpcCd2_c::checkFearSituation and daNpcCd2_c::getAnmP

* Match daAlink_c::jointControll

* Clean up float class checks

* Move float constants to global.h
2025-11-23 15:23:44 -08:00
Trueffel eaf980174f
d_a_npc_guard all functions OK (#2849)
* guard about to match

* weak func order messes linking up

* improve executePath
2025-11-23 21:51:19 +02:00
Max Roncace f2ad303961
Link d_msg_class (all) and d_msg_unit (JP only), minor alink fix (#2846) 2025-11-21 21:45:29 -08:00
LagoLunatic e2fddadf32
Misc matches (#2845)
* Misc debug matches

* Fix d_map weak function order

* Remove old nonmatching comments

* d_menu_dmap and JASAudioThread OK, fix weak func order and rodata alignment

* More misc matches
2025-11-21 15:52:16 -08:00
Max Roncace 31621c3dac
Link d_name for GCN JPN (#2843) 2025-11-21 14:27:21 -08:00
TakaRikka 726d7e22c2
npc_doc almost (#2840)
* npc_doc almost

* pr
2025-11-21 13:57:35 +02:00
maimai0254 b24b9a798c
npc_grm OK (#2841)
* npc_grm OK

* uncomment debug stuff

* fix {
2025-11-21 01:47:47 -08:00
YunataSavior 03f8a804fc
Link e_hp (#2838) 2025-11-20 23:26:45 -08:00
Max Roncace e6a5d5c3dd
Miscellaneous retail+debug fixes, link several new TUs (#2836) 2025-11-20 23:09:21 -08:00
LagoLunatic 91011befd7
Remove fake matches, fix false equivalencies, and other small matches (#2837)
* Debug matches and remove fake matches

* Fix false equivalencies, regallocs, and vtable orders

* Fix PAL splits
2025-11-20 21:17:51 -08:00
roeming 6f7457a870
add debug functionality to d_a_horse, match almost all functions (#2834)
* add debug functinality to d_a_horse, match almost all functions

* fix some wii funcs

* fix wii build
2025-11-20 14:41:52 -08:00
Carco_21 248f57b257
npc_midna linked (#2835) 2025-11-20 11:53:19 -08:00
Carco_21 e7270bf7ab
d_a_kytag13 matching + small various work (#2826)
* kytag13 matching

* pr cleanup
2025-11-20 11:47:11 -08:00
YunataSavior 8815bd5da9
Link npc_shoe (#2833) 2025-11-19 22:49:08 -08:00
LagoLunatic 4cf2c7e37d
Misc fixes (#2830)
* Replace DANPCF_C_HACK with a better fakematch

* d_a_obj_item OK

* Fix ninja diff

* Misc debug/nonmatching fixes

* Fix ninja diff for PAL

* Fix bad PAL split
2025-11-19 14:10:03 -08:00
Max Roncace 8956be538e
d_a_npc_grs matching (#2827) 2025-11-19 13:27:28 -08:00
hev7 4373bba251
d_a_npc_soldierB matching (#2828) 2025-11-19 12:53:12 -08:00
hatal175 678c1a0e70
JSUOutputStream Matching for shield (#2825)
* JSUOutputStream Matching for shield

* Fix nonmatching in JAUSectionHeap
2025-11-19 10:17:26 -08:00
Carco_21 9d325bfb29
d_a_npc_pachi_taro and d_a_npc_pachi_maro matching (#2824)
* solid progress

* almost matching

* pachi_taro matching

* pachi_maro matching
2025-11-19 10:07:35 -08:00
Max Roncace 7f863c069b
d_a_npc_chin matching (#2822) 2025-11-18 21:10:04 -08:00
hev7 1b2fe5e2e3
d_a_npc_grd matching (#2821)
* d_a_npc_grd matching

* Fix regression

* Fix
2025-11-18 18:21:48 -08:00
hatal175 8a39ebfa8b
fvb Matching (#2820)
* fvb Matching

* J2DScreen debug work
2025-11-18 18:13:35 -08:00
hatal175 158899a16d
debug work on d_a_e_fb (#2819) 2025-11-18 01:34:52 -08:00
TakaRikka 638c0b968c
npc_gnd finished, movie_player almost done (#2818)
* movie_player mostly done

* d_a_npc_gnd done

* fix fshop debug match
2025-11-18 01:34:34 -08:00
LagoLunatic bd2def28db
d_a_demo00 OK (#2817)
* Misc small matches

* Add J3DFrameCtrl::EMode_NULL enum

* Improve weak bss fakematch and remove a functionvalue fakematch

* demo00 OK
2025-11-17 15:38:04 -08:00
Carco_21 4ab97e8f26
d_a_npc_tkc matching (#2816)
* initial work

* minor work

* almost done

* evcut work

* matching
2025-11-17 20:04:53 +02:00
TakaRikka 540217c31b
wii building OK / m_Do_graphic debug work (#2815)
* wii building OK + m_Do_graphic debug work

* d_meter_HIO debug cleanup

* wii m_Do_graphic stuff

* tag_attack_item OK, mirror_chain almost

* fix build

* mg_fshop matching
2025-11-17 20:01:03 +02:00
maimai0254 4350a38fe0
d_a_npc_sola OK (#2814)
* d_a_npc_sola OK

* delete NONMATCHING comment

* Fix: Add forgotten joint name
2025-11-16 17:17:43 -08:00
YunataSavior ca41270d36
Link kasi_hana, kasi_kyu. (#2813)
* kasi_mich and ashB equiv
2025-11-16 12:30:21 -08:00
YunataSavior 3fee8977c3
Link clerkb and clerkt (#2811) 2025-11-16 12:27:51 -08:00
YunataSavior d21e22f9ed
npc_kn almost matching + dbg work (#2802)
* npc_kn almost matching + dbg work

* more npc_kn dbg work

* fix npc_kn select action functions

* Z2AudioMgr dbg change for taka
2025-11-15 18:40:47 -08:00
hev7 e7a610c5e2
npc_clerka matching, npc_clerkb and npc_clerkt equivalent (#2810) 2025-11-16 04:22:42 +02:00
hev7 fad2f41e33
d_a_npc_kyury matching (#2808) 2025-11-15 04:04:45 -08:00
hev7 2387021347
d_a_npc_pouya matching (#2806)
* d_a_npc_pouya matching

* mItemPartnerId fix
2025-11-15 04:02:24 -08:00
Trueffel 9ea1b81288
d_a_e_tt OK & linked (#2803)
* class decomped

* two funcs missing

* done

* s32 to int

* improve

* remove old nonmatching comment
2025-11-14 16:40:11 -08:00
Carco_21 0573bc517d
d_a_npc_gro matching (#2805)
* initial work

* matching
2025-11-14 16:25:42 -08:00
roeming 977aee7c94
add debug functionality + close to linking hozelda (#2804) 2025-11-14 16:10:46 -08:00
Carco_21 d74c4dd66f
d_a_npc_shaman matching (#2800)
* almost matching

* Make npc_shaman matching

---------

Co-authored-by: YunataSavior <yunatasavior@gmail.com>
2025-11-14 16:04:18 -08:00
Carco_21 9b32b9394e
d_a_npc_theb matching (#2799)
* initial work

* almost matching

* matching

* merge stuff

* added comment about inline size
2025-11-14 16:00:15 -08:00
hev7 a0df17da2b
npc_yamis, npc_yamit matching (#2801) 2025-11-14 12:32:10 +02:00
TakaRikka 3ccdb41ea9
npc_drailsol done (#2798) 2025-11-13 16:49:36 +02:00
roeming a3c76c8a7e
rename variable in accordance with assert (#2797) 2025-11-12 16:45:53 -08:00
Carco_21 63093fea4a
d_a_npc_passer and d_a_npc_passer2 matching (#2796)
* passer matching and passer2 init work

* passer2 matching
2025-11-11 19:58:27 -08:00
YunataSavior 70272b88f5
npc_wrestler dbg work (#2795) 2025-11-10 19:52:59 -08:00
LagoLunatic 23a1c94063
Regalloc/debug/misc fixes (#2794)
* Fix "0" asserts

* More debug and regalloc fixes

* Fix PTMF syntax for compatibility with other compilers

* Fix some fakematches, link more TUs for J/P
2025-11-10 18:25:00 -08:00
Carco_21 a02f72d8f3
d_a_npc_post matching (#2792)
* initial work

* matching

* changed draw ifdef

* enums added

* enum change
2025-11-10 18:15:17 -08:00
YunataSavior b4a08a36d0
npc_impal equivalent (#2791) 2025-11-09 18:46:24 -08:00
YunataSavior 533755fdfa
Link npc_gra (#2790) 2025-11-09 15:57:00 -08:00
YunataSavior 87e651dcab
Link e_po (#2789) 2025-11-09 15:30:24 -08:00
roeming 5c298bc401
D a npc gra matching debug (#2788)
* match all d_a_npc_gra functions in debug

* update all offsets to match release

* rename parameters

* add ct hack for d_a_npc_gra

* add suggestions

* fix type

* use sound enums

* fix sinit and one regswap

* fix wrong variable usage
2025-11-09 15:17:04 -08:00
LagoLunatic ba7cdd4fe9
Debug work + some retail regalloc fixes (#2787)
* Debug work + some retail regalloc fixes

* Use AUDIO_INSTANCES in places it's missing, link d_a_e_bee

* Link m_Do_machine

* Fix clang putting other includes before the pchs

* Link some more debug TUs that already match
2025-11-09 11:43:14 -08:00
YunataSavior cefde2a42c
Debug myna work (#2786) 2025-11-09 11:32:48 -08:00
TakaRikka 4b5277295e
npcinko / myna2 done (#2780)
* npcinko done

* myna2 done

* Use sound enum

* Use FALSE instead of false when returning BOOL

* Use look mode enum

* TRUE instead of true when returning bool

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-11-09 11:20:51 +02:00
YunataSavior e49519229c
Link obj_web0, obj_picture, npc_zrz (#2784)
* Link obj_web0

* Link npc_zrz

* Link obj_picture
2025-11-09 11:20:24 +02:00
YunataSavior 72cb2950a0
e_oc dbg work and cleanup (#2783)
* e_oc dbg work and cleanup

* daE_OC_c::getVisionAngle arg rename
2025-11-09 11:19:04 +02:00
YunataSavior c9bc11d470
Link obj_gra2, obj_gm (#2781)
* obj_gra2 almost linkable

* Link obj_gra2

* Link obj_gm
2025-11-08 15:58:02 -08:00
hev7 e331c37001
d_a_npc_knj matching (#2779)
* d_a_npc_knj matching

* remove casts
2025-11-07 16:51:13 -08:00
Carco_21 3981a9d359
d_a_npc_soldierA matching (#2778)
* initial work

* matching
2025-11-07 13:50:45 -08:00
Carco_21 833530b249
d_a_npc_zanb matching (#2777)
* matching

* cleanup

* added correct constructor macro
2025-11-07 13:42:18 -08:00
Carco_21 3c2ed235b3
d_a_npc_fairy matching (#2776)
* initial work

* almost done

* matching

* added correct constructor macro
2025-11-07 13:39:26 -08:00
TakaRikka 1f701cd132
npc_hoz done (#2775)
* npc_hoz done

* pr

* remove include
2025-11-07 15:26:52 +02:00
hatal175 1704a3acba
d_a_obj_kuwagate OK (#2774) 2025-11-06 14:15:07 -08:00
YunataSavior 653ff8979c
Misc obj linkage (#2773) 2025-11-05 19:48:31 -08:00
Max Roncace c428403198
d_a_e_sh matching (#2772) 2025-11-05 19:16:06 -08:00
TakaRikka 226325284d
lv6togetrap, swpush2, tafence done (#2771)
* lv6togetrap, swpush2, tafence done

* fix jp/pal

* Use dEvtCnd_CANDEMO_e

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-11-06 03:19:01 +02:00
Carco_21 957a743742
d_a_e_yg matching (#2770)
* matching

* pr cleanup
2025-11-05 13:39:53 -08:00
Carco_21 2543ad18b6
d_a_npc_du matching (#2769)
* init work

* matching

* pr cleanup

* pr cleanup 2
2025-11-05 13:39:23 -08:00
Carco_21 936b7aa2e8
d_a_npc_bous equivalent (#2766)
* init work

* almost matching

* equivalent

* pr cleanup
2025-11-03 17:35:40 +02:00
TakaRikka 0b181f84d4
lv7bsgate, lv8udfloor, lv9swshutter done, lv7propellery almost (#2768)
* lv7bsgate, lv8udfloor, lv9swshutter done, lv7propellery almost

* fix builds

* obj_lv6egate done
2025-11-03 08:22:25 +02:00
Carco_21 453c8b9fbb
matching (#2767) 2025-11-01 15:19:23 -07:00
Max Roncace 1be8e6c6c8
d_a_e_hm matching (#2764) 2025-10-31 22:04:10 -07:00
Carco_21 68514b59f7
d_a_npc_bans almost matching (#2762)
* initial work

* almost matching

* enum work

* tiny work

* nonmatching fixes - thanks Yunata!

* PR cleanup
2025-10-31 21:11:28 -07:00
TakaRikka c9838e29fa
obj_lv8kekkaitrap / obj_nougu done, obj_lv7bridge almost (#2763)
* obj_lv8kekkaitrap / obj_nougu done, obj_lv7bridge almost

* kekkaitrap cleanup
2025-10-31 10:13:14 +02:00
TakaRikka 194282d2c2
obj_pdwall / obj_rw / obj_stopper2 done (#2760)
* obj_pdwall / obj_rw / obj_stopper2 done

* fix jp/pal

* Use NULL instead of 0

* Use dEvtCnd_CANDEMO_e

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-10-30 07:56:22 +02:00
TakaRikka 73927f50a9
kankyo / m_do_ext debug stuff (#2759)
* kankyo debug work

* finish draw packets
2025-10-28 05:55:46 +02:00
Carco_21 577747e228
d_a_obj_itamato & d_a_obj_kaisou matching (#2756)
* initial work

* itamato matching

* obj_kaisou matching

* pr cleanup

* fixed error

* error should actually be fixed now
2025-10-28 04:25:42 +02:00
Carco_21 54f989f16e
d_a_obj_hata & d_a_obj_hb matching (#2752)
* hata matching

* hb initial work

* obj_hb matching

* fixed error

* pr cleanup
2025-10-28 04:25:15 +02:00
hev7 a61d0272a6
NPC work, obj_szbridge matching (#2757)
* Some NPC work

* Fix impal

* Hopefully fix regressions in debug

* HIO work for more NPCs

* fix regressions

* obj_szbridge matching

* Fix literals
2025-10-26 13:03:16 +02:00
roeming 6bd013741b
link d_a_obj_lv6Tenbin (#2758)
* link d_a_obj_lv6Tenbin

* fix naming convention

* oops, actually fix naming
2025-10-26 06:54:57 +02:00
roeming 6ef3f87f06
link d_a_obj_lv6elevta (#2754)
* link d_a_obj_lv6elevta

* fix return

* use implicit construction
2025-10-24 04:20:04 +03:00
TakaRikka 70eefa53c7
d_a_obj_lv4CandleTag / d_a_obj_lv4EdShutter done, d_a_obj_picture almost (#2755) 2025-10-23 06:41:00 -06:00
Carco_21 9bebc819ab
obj_ikada and obj_ita matching (#2753) 2025-10-23 04:48:04 +03:00
Carco_21 4a5752fe52
d_a_obj_gm almost matching (#2750)
* linked some objs

* major work

* equivalent

* almost matching

* almost matching

* PR cleanup
2025-10-23 04:39:18 +03:00
Carco_21 d6711a18c8
d_a_obj_grz_rock and d_a_obj_h_saku matching (#2749)
* matching

* h_saku initial work

* h_saku matching

* PR cleanup

* fixed header padding
2025-10-23 04:38:51 +03:00
hev7 7d2e6ba444
d_a_npc_len matching (#2748)
* d_a_npc_len matching

* HIO

* more work on len

* d_a_midna work for PAL

* mg_rod PAL work
2025-10-21 21:37:13 +03:00
TakaRikka 9155add1f6
d_a_npc_blue_ns mostly done (#2747)
* d_a_npc_blue_ns mostly done

* d_a_obj_poCandle / d_a_obj_poTbox done
2025-10-21 21:33:59 +03:00
TakaRikka 850fae1aa3
m_Do_main / f_ap_game / f_op_actor debug work and misc (#2744)
* m_Do_main / f_ap_game debug stuff

* revolution sdk compatibility

* f_op_actor debug work

* rename fopAcM_SetupActor to fopAcM_ct

* fix build

* fix jp/pal splits
2025-10-19 20:30:49 +03:00
roeming 31c0f94a10
link d_a_obj_lv6FurikoTrap (#2745)
* link d_a_obj_lv6FurikoTrap.cpp

* name all fields
2025-10-19 05:13:43 +03:00
roeming c215366d9f
link d_a_obj_lv6swturn (#2743)
* link d_a_obj_lv6swturn

* fix pal and jp build

* fix suggestions
2025-10-17 19:56:17 -07:00
Luzagar 9e3d968435
Some henna documentation (#2739)
* henna minor cleanup

* rename light to kankyo

* more cleanup

* pos

* more cleanup

* fix build

* final fix
2025-10-17 15:11:34 -07:00
Carco_21 86895b23c2
d_a_obj_swchain matching (#2741)
* initial

* Little more work

* matching

* updated matching versions
2025-10-17 15:09:58 -07:00
roeming 071e69e78a
link d_a_obj_lv6SwGate (#2740)
* link d_a_obj_lv6SwGate

* retrigger build

* resolving suggestions
2025-10-17 18:27:09 +03:00
YunataSavior 43bf8abf48
npc_toby OK (#2733)
* npc_toby 68% done

* address ykm ykw regressions

* All npc_toby cut done + chkPassed1 fakematch

* npc_toby OK

* npc_toby some hio var rename

* npc_gnd cleanup

* npc_gnd CreateHeap and reset

* Add fakematch comment fo get_u16_Idx
2025-10-16 20:21:57 -07:00
Howard Luck da605fd792
d_a_obj_swchain WIP (#2737)
* checkpoint

* WIP

* clang format

* Missing new line

* Remove unnecessary nesting

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-10-15 04:38:32 +03:00
Carco_21 e5377068fc
d_a_e_sf matching (#2734)
* Almost matching

* matching

* cleanup and variable naming

* pr cleanup
2025-10-14 18:01:24 +03:00
hatal175 d3c3fd09de
d_a_obj_gadget OK (#2735) 2025-10-13 20:11:30 -07:00
YunataSavior 678fd4d8f5
obj_mirror_table OK (#2732) 2025-10-10 04:56:09 -07:00
roeming 774692fc3b
Make d_a_obj_thashi equivalent (#2731)
* Make d_a_obj_thashi equivalent

* Link d_a_obj_thashi

* Adding suggestions

* formatting

* fix return
2025-10-09 18:42:24 -07:00
Carco_21 8b48bb658f
d_a_e_st matching (#2730)
* initial work

* initial work

* almost matching

* action func done

* matching

* PR cleanup
2025-10-09 16:01:31 +03:00
TakaRikka 3077f6a971
knBullet / lv6Lblock done, lv6ChangeGate equivalent (#2729)
* knBullet / lv6Lblock done, lv6ChangeGate equivalent

* d_a_e_mm matching

* debug fix

* obj_kage matching
2025-10-08 18:35:58 +03:00
TakaRikka fc6c0fd88c
lv4bridge / lv4prwall done (#2728)
* lv4bridge / lv4prwall

* fix jp/pal
2025-10-07 20:42:10 +03:00
hatal175 8a99c051d1
d_a_e_yh OK (#2727) 2025-10-06 20:23:08 -07:00
TakaRikka 23a6cf91cd
start shield final config (#2726)
* checkpoint

* shield final half building
2025-10-06 12:48:39 +03:00
Carco_21 b3d30467bf
d_a_npc_chat matching (#2725)
* initial work

* tiny change

* over half done

* got to playMotion

* got to wait function

* matching
2025-10-05 18:32:14 -07:00
roeming 0c058d2a2c
link d_a_obj_hasu2 (#2722)
* link d_a_obj_hasu2

* fix suggestions

* move dtor to .h, move inline func to .h
2025-10-04 14:39:48 +03:00
YunataSavior db219f067f
NPC str cleanup and misc for 100% linkability (#2723)
* NPC str cleanup and misc for 100% linkability

* d_msg_object equiv
2025-10-03 01:10:14 -07:00
TakaRikka 009f08f2f3
e_mk_bo almost (#2721)
* d_a_e_mk_bo almost

* cleanup
2025-10-02 20:37:03 +03:00
YunataSavior 6bef300342
minor dol fixes for linkability (#2720) 2025-10-01 20:14:06 -07:00
Shane Goodrick b6aebfa81e
d_a_obj_inobone OK (#2716)
* d_a_obj_inobone OK

* Fix d_a_obj_inobone issues
2025-10-01 20:12:31 -07:00
YunataSavior 9f119e7b01
npc_moir HIO and debug cleanup (#2719) 2025-10-01 15:35:44 -07:00
YunataSavior 9a784744f2
npc_yamiD HIO and dbg cleanup (#2718) 2025-10-01 15:33:31 -07:00
YunataSavior 6dee0f28a8
d_a_obj_nagaisu OK (#2717) 2025-10-01 15:32:20 -07:00
YunataSavior c7703d1069
d_a_obj_pumpkin OK (#2715)
* Initial obj_pumpkin work

* pumpkin execute done

* d_a_obj_pumpkin OK

* Remove NONMATCHING in obj_pumpkin

* obj_pumpkin PR comments
2025-09-30 10:49:33 -06:00
TakaRikka 0520ce1757
obj_mato / obj_nagaisu (#2714) 2025-09-30 12:18:21 +03:00
TakaRikka 40e61bf913
rottrap / rotbridge done (#2713) 2025-09-28 18:40:58 -06:00
Howard Luck 143f19636b
d_a_obj_swLight OK (#2712)
* checkpoint

* d_a_obj_swLight OK

* fixup symbols and splits

* put static assert back

* fixes for taka
2025-09-28 17:35:50 -07:00
Trueffel 9a97d89256
d_a_e_ge OK and linked (#2707)
* match one func and remove old comments

* d_a_e_ge matching and linked

* format files

* some docs

* try pal and jpn too

* remove comments

* merge upstream
2025-09-28 16:13:39 -07:00
YunataSavior c3e67d6820
d_a_e_fb almost matching (#2709)
* d_a_e_fb almost matching

* remove dol2asm in e_fb

* e_fb PR fixes
2025-09-28 14:02:53 -07:00
LagoLunatic 9eea9289b1
Fix JUT_ASSERT and several other macros (#2711)
* Fix JUT_ASSERT to be a nested define

* Switch names that appear in asserts to be constants instead of defines

* Replace `0` in asserts with `NULL` or `FALSE`

* Fix fpclassify

* Fix ARRAY_SIZE

* Use G_CM3D_F_INF

* More fixes for fpclassify

* Remove FLOAT_LABEL

* Remove incorrect FLAG_ON macro

* Remove UNK_BSS macro

* Silence clangd unused header warning for PCH
2025-09-28 13:11:07 -07:00
TakaRikka e90d02ca5e
rafrel mostly done (#2702)
* rafrel mostly done

* npc_rafrel equivalent via fakematch (#3)

* pr fixes

---------

Co-authored-by: YunataSavior <58997725+YunataSavior@users.noreply.github.com>
2025-09-28 09:59:08 +03:00
Howard Luck 21bff2ba25
d_a_obj_ss_drink equivalent (#2708)
* d_a_obj_ss_drink equivalent

* SomeFunc -> ProcessFunc

* fixes for taka

* rm FLT_MIN

* G_CM3D_F_INF
2025-09-27 22:03:27 -07:00
LagoLunatic 5dc86158bc
Fix most vtable issues (#2706) 2025-09-27 15:35:11 -07:00
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