Commit Graph

1810 Commits

Author SHA1 Message Date
Caroline Madsen 3ad60c1b17
f_op_actor_mng matching (#2325) 2025-03-12 15:57:14 -07:00
hatal175 854e460a36
d_a_e_kg equivalent (#2322) 2025-03-09 16:53:31 -07:00
hatal175 763400c4c0
daObjNAN_c equivalent (#2320)
* daObjNAN_c equivalent

* Remove padding
2025-03-09 16:05:03 -07:00
YunataSavior 800049a811
d_a_e_kg equivalent except for action (#2321)
* Initial work on d_a_e_kg

* d_a_e_kg 57% matching

* d_a_e_kg 83% done with regalloc issue in action function

* d_a_e_kg equivalent except for action
2025-03-10 00:57:19 +02:00
hatal175 569344ccf6
Match daNpc_Jagar_c::chkToMotion (#2319) 2025-03-08 15:25:30 -08:00
YunataSavior a18a828463
Fixes and cleanup for d_a_npc_jagar to hit 99% matching (#2318) 2025-03-08 01:05:46 -08:00
YunataSavior 52b23ad73c
d_a_e_zs (a.k.a. Stallord's zombie soldiers) equivalent (#2313)
* Initial work for d_a_e_zs

* d_a_e_zs equivalent

* d_a_e_zs data fixes. Thanks Taka!

* Update d_a_e_zs based on Taka's comments
2025-03-08 01:04:31 -08:00
LagoLunatic fb45587923
c_m3d OK (#2317) 2025-03-07 16:01:38 -08:00
hatal175 0d3b4bf9de
A little work on daObjMasterSword_c (#2316) 2025-03-07 16:01:15 -08:00
Carco_21 0f141c2a9c
d_a_npc_jagar - ~94% (#2309)
* Began work on d_a_npc_jagar

* Major work on daNpc_Jagar_c::create()

* Jagar create() - 11%

* Continued work on daNpc_Jagar_c

* Jagar create() - 87%

* Continues work on Jagar

* Work on Jagar.checkChangeEvt()

* Working on Jagar.talk()

* Work on Jagar.changeBtp()

* Jagar.checkChangeJoint() & checkRemoveJoint()

* Jagar.chkAction() & setAction()

* Jagar.chkChuMotion()

* Jagar.chkSitMotion() & chkSitMotion2()

* Jagar.chkToMotion()

* Jagar.CreateHeap()

* Jagar.createHeapCallBack() & ctrlJointCallBack()

* Jagar.cuAnger()

* Jagar.cutClimbUp() - 92%

* Jagar.setAttnPos() - 85%

* Jagar.cutConversationWithBou() - 48%

* Jagar work and daNpcT_c::getActorDistance - 83%

* Jagar setParam work and daNpcT_c::getActorDistance - 85%

* Prep Jagar push to main

* little cleanup

* Fixed return type discrepancy

* Fixed *other* return type issues & variable names for Jagar

* Jagar talkWithBou work

* Work on Jagar talk

* Data & function cleanup

* I dont remember what i added this time lol

* Finished some functions

* Reworking Jagar talk()

* Finished some functions

* Attempting to rework cutNeedYourHelp

* Almost(ish) done with Jaggle

* Almost done with Jaggle

* Took out inline assembly in Jagar.chkToMotion()

* Cleanup

* Minor variable initialization change

* Small cleanup

* Hopefully fixed d_a_npc_bou compilation error
2025-03-07 19:41:36 +02:00
hatal175 53ae95cd95
Add -fdeclspec to clangd to avoid warning (#2315) 2025-03-03 18:00:57 -08:00
hatal175 294d104bc6
Minor work on octhashi/sekizoa I had lying around (#2314)
* Minor octhashi changes

* Minor work on sekizoa
2025-03-03 18:00:38 -08:00
TakaRikka 19e18654c9
tag_allmato almost, swhit0 treesh swball done, misc cleanup (#2312)
* d_a_tag_allmato almost done

* d_a_swhit0 done

* some SSystem cleanup

* treesh done

* swball done, some other rel cleanup
2025-03-01 14:48:49 +02:00
YunataSavior 9c3c07575a
d_a_e_ym (a.k.a. Twilight bugs) 99% equivalent (daE_YM_c::checkBeforeBg and daE_YM_c::create have regalloc issues) (#2311)
* checkWallCrash and checkWolfBark done for d_a_e_ym

* d_a_e_ym at 36 percent

* 46% completion for d_a_e_ym

* d_a_e_ym at 65% completion

* d_a_e_ym 83% complete

* d_a_e_ym 90% complete

* d_a_e_ym 99% decompiled. All done except for 2 functions with regalloc issues. Cleanup of mSound funcs in d_a_e_ym.

* Update d_a_e_ym based on Taka's feedback
2025-02-28 23:05:49 -08:00
Caroline Madsen 4453d0617e
d_a_npc_yelia equivalent (#2310) 2025-02-26 00:41:51 -08:00
Caroline Madsen e3d0b94122
d_a_npc work (#2306) 2025-02-23 14:43:25 -08:00
Caroline Madsen 531a6d6d68
d_a_e_dt, d_a_e_ot equivalent (#2305) 2025-02-20 22:44:54 -08:00
TakaRikka bbc7944e54
d_a_boomerang / d_a_grass mostly done, d_a_spinner done (#2304)
* d_a_boomerang mostly done

* d_a_grass mostly done

* d_a_spinner done
2025-02-19 18:43:26 -05:00
Clark Wakeland 376a5be6e3
ktOnFire setLight() (#2297)
* First commit to repo, basic light function

* various other functions

* Adding .h file

* Added mLight field to daKtOnFire, cleaned up implementation

* Function type fixes
2025-02-19 16:52:04 +02:00
YunataSavior c40e25577b
d_a_obj_Y_taihou equivalent (#2303)
* Transfer of Y_taihou work to cleaner and newer branch

* d_a_obj_Y_taihou nearly equivalent except for 2 functions

* Functionally correct d_a_obj_Y_taihou, but some issues remain

* d_a_obj_Y_taihou equivalent now; many thanks hatal!

* Update configure(dot)py and the config files for Y_taihou
2025-02-17 21:00:03 -08:00
YunataSavior 036b67cb7e
Alter every file that contains static void setMidnaBindEffect to link f_op_actor_enemy.h; this will improve percentage progress slightly and help out with rodata matching too. Also, some slight cleanup of d_a_e_ym (#2302) 2025-02-13 17:20:55 -08:00
TakaRikka 6e94efaefb
d_a_obj_carry mostly done (#2301)
* d_a_obj_carry mostly done

* cleanup some acch inlines
2025-02-13 10:37:46 -07:00
TakaRikka 2453c0e333
copy dolsdk2004 to tp / b_bh + e_mb done (#2299)
* move dolsdk2004 over

* cleanup some temp work

* finish and cleanup gf

* b_bh done

* d_a_e_mb done
2025-02-10 21:20:42 +02:00
YunataSavior 6c24ff1929
d_a_e_oc nearly equivalent except for regalloc issue in daE_OC_c::create function (#2298)
* d_a_e_oc initial work

* 2nd set of d_a_e_oc work

* More d_a_e_oc work

* 3rd set of d_a_e_oc work

* 4th set of work for d_a_e_oc including data/rodata/bss cleanup

* Lots of execute work for d_a_e_oc

* More d_a_e_oc work: cleanup, plus impl of executeAttack

* 7th set of d_a_e_oc work

* 90 percent of the way done for d_a_e_oc

* d_a_e_oc done except for regalloc issues
2025-02-05 17:42:29 -08:00
YunataSavior 34b21412c4
d_a_obj_TvCdlst matching (#2292)
* d_a_obj_TvCdlst matching

* d_a_obj_kwheel00, 01, & d_a_obj_klift00 Equivalent (weak func and/or vtable order) (#2291)

* d_a_obj_kwheel00, 01, & d_a_obj_klift00 Equivalent (weak func and/or vtable order)
* Three rels equivalent
* Basic documentation for the three rels
* Define explicit constructor for dMdl_obj_c (needed for proper array creation in d_a_obj_klift00)
* Modify d_a_obj_bky_rock to account for new explicit constructor of dMdl_obj_c
* Specify weak func and/or vtable orders for rels in config.py

* Cleanup includes and dol2asm artifacts

* * Fix debug build
* Restore incorrectly removed l_bmdidx

* Fix US retail equivalency

* d_a_obj_Turara equivalent (#2289)

* Initial d_a_obj_Turara work

* More d_a_obj_Turara work

* d_a_obj_Turara equivalent except for weak func order of dEvLib_callback_c dtor

* Updates to d_a_obj_Turara after feedback from Taka

* b_dre equivalent (#2290)

* Update d_a_obj_Turara to remove unnecessary comment based on hatal\'s request

---------

Co-authored-by: TakaRikka <38417346+TakaRikka@users.noreply.github.com>

* Fix spurious differences when using `ninja diff` (#2294)

* Fix spurious differences when using ninja diff

* Fix some clangd errors/warnings

* d_a_obj_waterGate matching + d_a_obj_lv3Water2 equivalent (#2293)

* d_a_obj_waterGate matching + d_a_obj_lv3Water2 equivalent
* Add simpleCalcMaterial implicit inline to J3DModelData (seen in debug)
* Basic documentation for both actors
* WIP debug build implementations (note TODOs)
* Update configure.py and note weak ordering issues for lv3Water2

* Actually add modified J3DModelData.h & explicitly note fake padding

* Add fopAcM_Register... macros (for debug build) (#2295)

* Update d_a_obj_Tvcdlst to use LIGHT_INFLUENCE after Taka gave feedback

---------

Co-authored-by: Huitzi <73550465+marwernerh@users.noreply.github.com>
Co-authored-by: TakaRikka <38417346+TakaRikka@users.noreply.github.com>
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-02-03 10:30:40 +02:00
LagoLunatic ca3e900835
Fix false pointer relocations in data breaking shiftability (#2296)
* Fix false pointer relocations in data breaking shiftability

* Update matDL_dis.py from tww

* remove debug prints from matDL build script
* matDL build rule: Allow specifying global/local scope

* Use asset extraction for ShieldD

* Set mode `+x` on executable Python scripts

* set `+x` on matDL_dis
2025-01-31 23:58:59 +02:00
Huitzi 6b0e392c13
Add fopAcM_Register... macros (for debug build) (#2295) 2025-01-28 06:51:59 +02:00
Huitzi 7c5006e446
d_a_obj_waterGate matching + d_a_obj_lv3Water2 equivalent (#2293)
* d_a_obj_waterGate matching + d_a_obj_lv3Water2 equivalent
* Add simpleCalcMaterial implicit inline to J3DModelData (seen in debug)
* Basic documentation for both actors
* WIP debug build implementations (note TODOs)
* Update configure.py and note weak ordering issues for lv3Water2

* Actually add modified J3DModelData.h & explicitly note fake padding
2025-01-27 11:55:55 -08:00
LagoLunatic bf4053fefa
Fix spurious differences when using `ninja diff` (#2294)
* Fix spurious differences when using ninja diff

* Fix some clangd errors/warnings
2025-01-26 22:01:05 -08:00
YunataSavior 5644936254
d_a_obj_Turara equivalent (#2289)
* Initial d_a_obj_Turara work

* More d_a_obj_Turara work

* d_a_obj_Turara equivalent except for weak func order of dEvLib_callback_c dtor

* Updates to d_a_obj_Turara after feedback from Taka

* b_dre equivalent (#2290)

* Update d_a_obj_Turara to remove unnecessary comment based on hatal\'s request

---------

Co-authored-by: TakaRikka <38417346+TakaRikka@users.noreply.github.com>
2025-01-23 12:42:27 -08:00
Huitzi c11cd855d5
d_a_obj_kwheel00, 01, & d_a_obj_klift00 Equivalent (weak func and/or vtable order) (#2291)
* d_a_obj_kwheel00, 01, & d_a_obj_klift00 Equivalent (weak func and/or vtable order)
* Three rels equivalent
* Basic documentation for the three rels
* Define explicit constructor for dMdl_obj_c (needed for proper array creation in d_a_obj_klift00)
* Modify d_a_obj_bky_rock to account for new explicit constructor of dMdl_obj_c
* Specify weak func and/or vtable orders for rels in config.py

* Cleanup includes and dol2asm artifacts

* * Fix debug build
* Restore incorrectly removed l_bmdidx

* Fix US retail equivalency
2025-01-23 21:48:23 +02:00
TakaRikka fa7821c4bb
b_dre equivalent (#2290) 2025-01-22 22:48:08 +02:00
TakaRikka e0824a1590
most of JHostIO / m_Do_hostIO done (#2288) 2025-01-19 22:05:53 -07:00
YunataSavior 7137f49bfc
d_a_obj_octhashi equivalent except for weak func ordering of cCcD_GStts dtor (#2287)
* Initial d_a_obj_octhashi work

* More d_a_obj_octhashi work

* d_a_obj_octhashi has 100% completion, but rodata doesn't match

* d_a_obj_octhashi equivalent. Would fully match except for cCcD_GStts dtor

* d_a_obj_octhashi update after feedback from Taka and hatal
2025-01-19 13:45:55 +02:00
YunataSavior 4996e91556
daMagLift_c matching (#2275)
* Initial work with daMagLift_c. Almost completely matching except for mode_proc

* mode_proc matching in d_a_obj_magLift.cpp

* First pass of polishing of d_a_obj_magLift

* Further d_a_obj_magLift updates to align with debug build
2025-01-16 18:50:04 -08:00
TakaRikka 9948a6371f
wip debug / pal building, b_gm mostly done (#2285)
* b_gm mostly done

* wip debug / pal building

* fix configure.py

* fix some debug macros / flags
2025-01-16 19:37:39 +02:00
LagoLunatic 2189777abf
Fix various issues in TUs marked `Equivalent` (#2286) 2025-01-14 22:47:29 -08:00
TakaRikka 36daa25884
d_a_horse mostly done (#2284)
* checkpoint

* d_a_horse mostly done

* some horse doc
2025-01-09 15:45:46 +02:00
hatal175 0cdacf4bff
daItemShield_c OK (#2283) 2025-01-06 01:59:48 -08:00
hatal175 523040331d
daObj_Roten_c OK (#2282) 2025-01-03 15:28:59 -08:00
Huitzi 960b08e88c
d_a_obj_waterPillar + d_a_obj_syRock Equivalent (weak ordering) (#2281)
* d_a_obj_waterPillar + d_a_obj_syRock Equivalent (weak ordering)
* Added fake struct padding
* Added fake Chk inlines to dBgS_Acch
* Added AT_TYPE_100 to cCcD_ObjAtType

* Addressed fakematch
* Deleted fake Chk inlines from dBgS_Acch
* Removed duplicated, but commented, static check for struct size
* Renamed two d_a_obj_waterPillar fields according to comments

* Removed explicit inline keywords & swapped use of PSMTX for debug-friendly MTX
2025-01-03 14:50:14 -08:00
hatal175 fac61aaf40
d_a_obj_rstair OK (#2280) 2025-01-02 11:43:05 -07:00
hatal175 c67489d3da
d_a_obj_riverrock OK (#2279) 2025-01-01 15:51:34 -07:00
hatal175 ad5b89f795
d_a_obj_swturn OK (#2278) 2025-01-01 11:56:04 -07:00
hatal175 477cbf1bf1
d_a_obj_swhang equivalent (#2277) 2024-12-30 19:20:31 -07:00
hatal175 593f1d1587
d_a_obj_smtile OK (#2276) 2024-12-29 16:45:47 -07:00
hatal175 36300580c4
Remove duplicate GXNormal1x16 (#2273) 2024-12-29 15:58:43 -07:00
Trueffel 78d206c1a3
d_stage linked and one function in m_do_ext matched (#2272) 2024-12-29 17:56:25 +02:00
TakaRikka 0e281cb975
various matches / cleanup (#2271)
* cleanup various TUs

* checkpoint

* d_attention doc
2024-12-29 17:53:54 +02:00
hatal175 c429ce21eb
d_a_obj_cwall almost matching (#2270)
* d_a_obj_cwall almost matching

* d_a_obj_pdoor OK
2024-12-27 19:16:59 -08:00