Commit Graph

970 Commits

Author SHA1 Message Date
LagoLunatic cb8a9815b1 d_stage cleanup (#2392) 2025-04-13 20:54:57 -07:00
Arnaut Scholten 15248c85de d_a_obj_laundry Equivalent (#2387)
* Decompile first laundry methods

* Cleanup setNormalClothPos

* Fix rodata and implement more functions

* Full mapping

* Move create to inline method

* Cleanup

* Mark class as equivalent

* Change rodata padding

* Rename joint members

* More renames and cleanup

* Redefine mAttr

* Cleanup

* Update includes
2025-04-12 05:54:53 -07:00
hatal175 912bec802f Misc Matches using debug (#2388) 2025-04-11 14:54:08 -07:00
Niklas Bauer 04a3af66ec d_a_obj_crvgate Matching (#2385)
* d_a_obj_crvgate equivalent

* d_a_obj_crvgate matching

* d_a_obj_crvgate comments
2025-04-11 04:56:18 -07:00
hatal175 d2e615f431 Work on d_a_npc_taro (#2386) 2025-04-10 16:42:52 -07:00
YunataSavior 35bd1ba3a2 d_a_e_ym, d_a_e_oc, and d_a_npc_hanjo equivalent, d_a_npc_ashB work (#2368)
* d_a_e_ym, d_a_e_oc, and d_a_npc_hanjo equivalent, d_a_npc_ashB work

* Updates to PR based on feedback, plus fix debug build
2025-04-10 16:24:46 +03:00
LagoLunatic 44fda53986 JSystem work (#2384)
* object-id 100% on debug

Can't be linked due to .text alignment issues?

* J3DMaterialFactory and J3DMaterialFactory_v21 OK

* Match dKy_bg_MAxx_proc
2025-04-08 22:17:20 -07:00
Max Roncace f567f12906 d_a_bg_obj almost matching (#2382) 2025-04-08 18:20:21 -07:00
Carco_21 468a06d4a8 d_a_npc_zelR almost matching (#2380)
* Initial work

* Generak work

* Almost matching

* Pull request cleanup
2025-04-08 18:18:19 -07:00
Stbn-antier e96c0d018e d_a_obj_sekizoa Equivalent (#2379)
* Rough class structure, start of work

* First easy methods, 10% match

* Various progress, 27% match

* Progress on sekizoa, 43% match

* Progress on Sekizoa, need to pull SekiDoor changes

* First pass on all functions, 80% match

* 96% match, starting cleanup before last stretch

* Cleanup, 99% match

* Code formatting

* 100% match, builds on equivalent

* Adressed review comments
2025-04-08 00:26:01 -07:00
LagoLunatic 98083b30e1 JStudio object-actor OK (#2381)
* Fix debug build

* object-actor OK
2025-04-07 15:36:51 -07:00
hev7 cee078adf2 d_a_obj_lv6TogeRoll matching (#2377)
* d_a_obj_lv6TogeRoll almost matching

* Various improvements

* Matching

* unk rel data
2025-04-07 22:04:01 +03:00
LagoLunatic 4e30ad564a Debug JStudio fix + match one retail func (#2378)
* Fix debug build

* Minor fixes

* Match daAlink_c::getDemoLookActor

* Fix JStudio paths in ShieldD splits

* Fix JStudio not compiling on debug

* Fix JStudio not compiling on retail, add fake header
2025-04-06 17:57:52 -07:00
TakaRikka 98db9a297a GCN pal / jpn support, some debug work (#2375)
* d_save debug cleanup / d_s_menu debug

* gameinfo / kankyo struct debug fixes

* pal building ok

* jp building ok

* some tests with jp

* some more pal/jp tests
2025-04-06 21:08:25 +03:00
Vlad 3c8bf12e57 d_a_npc_shop0 matching (#2374)
* d_a_npc_shop0 matching

* d_a_npc_shop0 matching
2025-04-06 21:06:44 +03:00
Carco_21 91e4b53152 d_a_obj_lv8Lift almost matching (#2376)
* Initial Work

* General work

* d_a_obj_lv8Lift almost matching
2025-04-05 15:43:38 -07:00
Carco_21 3dcf7b5810 d_a_fr and d_a_obj_lp work (#2372)
* Initial d_a_fr work

* general d_a_fr work

* Pull request cleanup

* d_a_obj_lp almost matching

* Fixed compile error
2025-04-05 15:36:27 -07:00
Niklas Bauer 220b84f3d9 d_a_obj_ihasi Matching (#2373)
* d_a_obj_ihasi matching

* d_a_obj_ihasi cleanup

* d_a_obj_ihasi style
2025-04-04 02:09:52 -07:00
Carco_21 145af15aee d_a_npc_midp almost matching (#2371)
* d_a_npc_midp almost matching

* Pull request cleanup
2025-04-03 14:28:05 -07:00
TetrisGG 46e3dbf3a6 d_a_obj_maki matching (#2370)
* Matching daObj_Maki_HIO_c::daObj_Maki_HIO_c()

Matched daObj_Maki_HIO_c::daObj_Maki_HIO_c() and started work on daObj_Maki_HIO_c::~daObj_Maki_HIO_c()

* more work on d_a_obj_maki

More structures defined, work on all methods, some equivalent, just missing registers

* d_a_obj_maki Matching

Final work on maki to get it to Match 100%.

* d_a_obj_maki matching

d_a_obj_maki matching | * cleanup for PR
2025-04-02 17:12:00 -07:00
Caroline Madsen 03fafe3e15 d_camera work (#2369)
* bumpCheck matching

* checkGroundInfo matching

* chaseCamera matching

* lockonCamera attempted

* talktoCamera matching

* subjectCamera, magneCamera matching

* colosseumCamera close, plus various fixes

* towerCamera attempted

* hookshotCamera matching
2025-04-01 19:05:30 -07:00
Sam Chaturvedi 2976066aa6 d_a_obj_stopper matching (#2367)
* d_a_obj_stopper matching

* d_a_obj_stopper - address PR comments
2025-04-02 00:10:54 +03:00
Carco_21 cb73e7a1da Work on create functions of d_a_npc_midp and changed mpMatAnm to array (#2366)
* Work on create functions of d_a_npc_midp and changed mpMatAnm to array

* Pull request cleanup
2025-04-01 13:31:12 -07:00
Carco_21 8ac81be425 d_a_ep work (#2364)
* Started work on d_a_ep

* Work on daEp_Create

* daEp_Execute work and other smaller functions

* Work on execute function and started on move function

* Work on ep_move

* Data matching and pushed some functions to 100%

* Pull request cleanup
2025-04-01 13:29:46 -07:00
hatal175 4dfd9b9f3c d_a_npc_worm matching (#2365)
* d_a_npc_worm matching

* Rename a_this
2025-03-31 18:30:42 -07:00
TakaRikka e6b07b81e4 d_a_b_mgn equivalent (#2363) 2025-03-31 19:43:11 +03:00
Carco_21 2441910a1c d_a_npc_zant work (#2354)
* d_a_npc_zant create work

* d_a_npc_zant almost matching

* All functions matching except sinit. Pull request cleanup
2025-03-31 19:40:56 +03:00
Vlad 4f34496a2e d_a_obj_dust work, 90% matching (#2362)
* d_a_obj_dust work 90% matching

* d_a_obj_dust work 90% matching
2025-03-30 21:51:01 -07:00
Huitzi 726e27cf98 d_event_debug equivalent & modifications to dEvLib_callback_c (#2359)
* WIP d_event_debug
* Implemented most functions close to matching
* Removed erroneous comment in d_com_inf_game.h
* Implemented getEventP in dEvDtBase_c
* Retyped dEvLib_callback_c function returns from BOOL to bool
* Implemented getHeader, getEventList, and setDbgData in dEvent_manager_c
* Moved relevant dEvDb_* classes from d_event.h to d_event_debug.h and changed to structs
* Extended JORFile mFilename character array from 8 to 256 characters
* Implemented combo boxes and update slider functionalities in JORMContext
* Named field_0xC of JORProperyEvent as id, based on use of field in d_event_debug.cpp
* Corrected debug event tables and created missing table
* Debug tables explicitly pasted in d_event_debug.cpp to circumvent ShiftJIS not properly encoding tables via #include directive

* Change return types for implemented virtual functions of actors that inherit from dEvLib_callback_c

* Add const modifier to several d_com_inf_game functions called in d_event_debug, and change respective fields in dEvDb_bit & reg_c to be const

* d_event_debug Equivalent
* Changed configure.py entry to equivalent instead of matching
* Preliminary documentation

* Remove debug tables from d_event.cpp
2025-03-30 20:11:50 -07:00
LagoLunatic a87e831b18 Fix dPnt struct (#2361)
* Fix dPnt struct

* Fix Vec warning
2025-03-30 15:45:59 -07:00
LagoLunatic 7ac9c97e33 Debug build now takes .alf as input instead of .dol (#2360)
* Fix debug build

* Debug build now takes .alf as input instead of .dol

I had to manually remove the following line from symbols.txt for DTK to work:
```
.data = .sbss:0x8074C97C; // type:object size:0x4 scope:local data:byte
```
After that it built OK, and DTK automatically modified all other lines in symbols.txt.

* Fix pragma in header messing up debug optimization level
2025-03-30 15:43:44 -07:00
Trueffel 392c0f3181 d_a_e_kk equivalent (#2358)
* d_a_e_kk equivalent

* some docs
2025-03-29 21:24:51 +03:00
TakaRikka 64621f3ca3 e_th equivalent (#2357) 2025-03-29 17:41:13 +03:00
hatal175 803544b5df daPeru_c equivalent (#2356) 2025-03-28 23:55:32 -07:00
soruh 0e90acdb9f Name d_a_cow Animations (#2355)
* name d_a_cow animations

* name run type according to animation name
2025-03-27 20:12:13 -07:00
soruh 8e562847be d_a_cow Equivalent (#2353)
* decompile d_a_cow

* rescope enums to daCow_c class

* apply suggestions by TakaRikka

* fix JUT_ASSERT
2025-03-27 17:56:51 -07:00
Carco_21 31e63d5c02 Work on d_a_obj_timer (#2350)
* Work on d_a_obj_timer

* Cleanup for pull request
2025-03-27 15:46:01 -07:00
Carco_21 02f136235c d_a_b_mgn (Dark Beast Ganon) (#2348)
* Started work on d_a_b_mgn

* Finished some of the smaller functions

* A lot of work on the set_Effect methods

* Work on CreateHeap

* Work on calcBloodMove

* Work on setHideSmokeEffect and _delete

* damage_check at 50%

* demo_skip 94% matching

* Work on some execute functions and a couple others

* Worked on last few functions and general cleanup

* Cleanup for pull request

* Last few pr review comments addressed
2025-03-27 15:45:21 -07:00
TakaRikka 968b010023 d_a_e_th_ball done (#2352) 2025-03-27 11:44:40 +02:00
TakaRikka c5a73223bd fix debug build (#2345) 2025-03-27 00:45:52 -07:00
hatal175 74e25c68aa Work on d_a_npc_cdn3 (#2351) 2025-03-26 18:48:43 -07:00
Sam Chaturvedi d7d1bddb37 d_a_obj_sword matching (#2349)
* d_a_obj_sword matching

* d_a_obj_sword -- Addressed PR comments
2025-03-26 18:38:45 -07:00
Ttobas 08d7508fbf d_a_obj_shoe 91% (#2347)
* Basic structure done

* daNpcShoe_Param_c done, class cleaned a bit, ::Create matching, destructor matching

* WIP

* About 70% done

* Fix after merging main

* TU almost done, missing correct rodata ordering, constructor, setMotionAnim, __sinit not matching

* Fix: Apply suggestions

---------

Co-authored-by: Ttobas <anon@ym.ous>
2025-03-25 18:05:02 -07:00
Emma b83ffd4882 d_a_obj_flag 95% (#2341)
* Started work on d_a_obj_stick

* Lots of green

* Fixed mAcch vtable

* Only missing switch/if problem in create

* All green

* Set stick matching

* Cleanup

* Addressed PR comments

* Reset vscode config

* Started d_a_obj_flag

* More work on flag

* More work on flag

* Flag 60%

* Flag progress

* 80% done

* 87% done

* 95%

* Some more work

* Addressed PR comments

* Switched c for 99
2025-03-25 18:04:00 -07:00
Sam Chaturvedi db83cd5d28 d_a_obj_ganonwall matching (#2346)
* d_a_obj_ganonwall matching

* applied suggestions

* Rework l_idx into 2d array
2025-03-24 17:01:39 -07:00
Stbn-antier 48fcb9dc9d d_a_obj_sekidoor matching (#2344)
* Started work on d_a_obj_sekidoor, 38% match

* Filled functions, rough 70% match

* 76% method matching

* 84% match, only setPrtcls remaining

* Object 100% matching

* Cleanup, remove padding

* Adressed review comments

* Adressed review comment
2025-03-24 03:47:49 -07:00
Łukasz Starzyk f47f32cacc d_a_obj_amiShutter equivalent (#2342)
* init commit

* functions matching progress

* new inline function

added new inline function `OnRoofRegist` to cBgW class

* use of inline function

uses the inline function as in the debug version

* d_a_obj_amiShutter equivalent

* cleanup and field rename

* addressed PR comments
2025-03-23 22:29:10 +02:00
TakaRikka 90c07136bd b_gnd equivalent (#2340)
* b_gnd equivalent

* fix dEvt_info_c inlines

* fix some more inlines
2025-03-23 21:55:28 +02:00
LagoLunatic 0ff06d2974 Debug version now builds OK and all_source compiles (#2343)
* Fix missing arg to JUT_ASSERT

* Fix some MWCC version diff errors

* Compile m_Do_ext, d_demo, actor_mng

* Add VSCode task to quickly switch between versions

* Unlink magLift for debug

* Update the hash of the debug dol

The old cbea5fa... hash here was for the dol generated by the alf2dol.py script, which produces incorrect alignment.

The dol with the new hash can be obtained by using `dtk elf2dol` to convert the debug .alf file to a dol.

The DOL now builds OK.

* Fix all debug REL dtor splits

All RELs now also build OK, meaning `ninja build/ShieldD/ok` now succeeds.

* Add genMessage declarations to all HIO subclasses

* Fixing more compilation errors

* m_Do_mtx 100% on debug

Cannot be linked due to weak function name mangling?

* Improve various matches

* Fix all remaining compilation errors

* Fix new compilation errors from main

* Fix retail regression

* Link f_pc_profile_lst
2025-03-22 18:00:51 -07:00
Carco_21 7fb9310f43 d_a_mant almost done (#2335)
* d_a_mant Create almost equivalent

* Work on mant_move

* Remade d_a_mant branch

* d_a_mant ~76% matching

* daMant_packet_c::draw() 69% matching

* d_a_mant data matching and joint_control over 50% matching

* daMant_Execute looking better

* d_a_mant 92% equivalent

* Removed commented rodata
2025-03-22 02:16:25 -07:00