Commit Graph

6559 Commits

Author SHA1 Message Date
hatal175 4583ec80a4 Add missing include to e_ww (#2626) 2025-09-03 00:39:44 -07:00
Max Roncace 30afae62d1 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
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 2fa0c3947a Work on e_ww (#2618) 2025-09-03 10:27:58 +03:00
Stbn-antier a11c22af67 Work on e_ww (#2618) 2025-09-03 10:27:58 +03:00
LagoLunatic 2c10c7c89d Update objdiff (#2624) 2025-09-02 15:19:08 -07:00
LagoLunatic ea82ed4931 Update objdiff (#2624) 2025-09-02 15:19:08 -07:00
Max Roncace 66763277c8 Add hacks to fix PCH .data causing fake mismatches with decompctx (#2606) 2025-08-30 20:57:35 -07: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 37fd33e575 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
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 e13c4b2c93 obj_geyer and obj_ktOnFire done (#2619)
* obj_geyer and obj_ktOnFire done

* pr
2025-08-31 01:10:43 +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 b17c29f4f5 d_a_e_ai done (#2617)
* d_a_e_ai done

* pr
2025-08-30 10:31:22 +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 40eb5cb1ca d_a_npc_ykw almost matching (#2613) 2025-08-30 10:30:51 +03:00
Max Roncace c1615cdfff d_a_npc_ykw almost matching (#2613) 2025-08-30 10:30:51 +03:00
Carco_21 589ad79dc4 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
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 874ec18845 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 f0b9e5f8fb251bb1b3a6acd13c0550bec2c9a310.
2025-08-29 04:33:35 -07: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 f0b9e5f8fb251bb1b3a6acd13c0550bec2c9a310.
2025-08-29 04:33:35 -07:00
TakaRikka f7febdde44 d_a_e_fk equivalent (#2614)
* d_a_e_fk equivalent

* pr
2025-08-29 01:25:36 +03:00
TakaRikka e8ea87e5c2 d_a_e_fk equivalent (#2614)
* d_a_e_fk equivalent

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

* fix shieldD

* pr fixes

* weak func fixes
2025-08-28 13:49:24 +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 aed8fe8cd3 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 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 561c9258f0 Fix ShieldD REL hash checks (#2611) 2025-08-27 20:52:40 +03:00
LagoLunatic e09f037fa3 Fix ShieldD REL hash checks (#2611) 2025-08-27 20:52:40 +03:00
LagoLunatic c23f046a13 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
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
LagoLunatic d8e60fe16c Fix all REL module names for ShieldD (#2607) 2025-08-25 18:46:46 -07:00
LagoLunatic a945ef4fb8 Fix all REL module names for ShieldD (#2607) 2025-08-25 18:46:46 -07:00
LagoLunatic 93f908ebff Add PAL, JPN, and Shield versions to CI, update dtk-template (#2605)
* Add ShieldD to GitHub CI build

* Update dtk-template, add support for CI caching

* Fix PAL and JPN not building on Linux due to case sensitive file paths

* Add PAL and JPN to GitHub CI build

* Fix bad copy paste
2025-08-25 17:45:28 -07:00
LagoLunatic ee6c527735 Add PAL, JPN, and Shield versions to CI, update dtk-template (#2605)
* Add ShieldD to GitHub CI build

* Update dtk-template, add support for CI caching

* Fix PAL and JPN not building on Linux due to case sensitive file paths

* Add PAL and JPN to GitHub CI build

* Fix bad copy paste
2025-08-25 17:45:28 -07:00
Max Roncace f07522aff1 Fix incorrect PCH being used in some framework objects (#2604) 2025-08-25 15:34:26 -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 ed392859d8 Miscellaneous improvements (#2603) 2025-08-25 15:33:44 -07:00
Max Roncace b309e0cf57 Miscellaneous improvements (#2603) 2025-08-25 15:33:44 -07:00
hatal175 cd8e6d8f42 d_a_obj_mie OK (#2602) 2025-08-25 01:34:08 -07:00
hatal175 19c8b6995e d_a_obj_mie OK (#2602) 2025-08-25 01:34:08 -07:00
Max Roncace 3e8509ce11 Several more TUs matching (#2601) 2025-08-24 20:56:20 +03:00
Max Roncace 46a11f2cd7 Several more TUs matching (#2601) 2025-08-24 20:56:20 +03:00
YunataSavior f4a3d3bf30 npc_maro Matching (#2600) 2025-08-24 11:48:55 +03:00
YunataSavior 0abe859c28 npc_maro Matching (#2600) 2025-08-24 11:48:55 +03:00
Max Roncace c897597fc1 Add a precompiled header for RELs (#2597) 2025-08-24 09:52:08 +03:00
Max Roncace 513816ce5c Add a precompiled header for RELs (#2597) 2025-08-24 09:52:08 +03:00
Carco_21 1b326306d3 equivalent (#2599) 2025-08-22 23:47:36 -07:00
Carco_21 8a30030dc7 equivalent (#2599) 2025-08-22 23:47:36 -07:00
TakaRikka b3b19d737a d_a_mg_rod mostly done (#2598)
* d_a_mg_rod mostly done

* pr
2025-08-23 08:58:29 +03:00