Commit Graph

842 Commits

Author SHA1 Message Date
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