Commit Graph

109 Commits

Author SHA1 Message Date
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
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 e09f037fa3
Fix ShieldD REL hash checks (#2611) 2025-08-27 20:52:40 +03: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 a945ef4fb8
Fix all REL module names for ShieldD (#2607) 2025-08-25 18:46:46 -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
hatal175 19c8b6995e
d_a_obj_mie OK (#2602) 2025-08-25 01:34:08 -07:00
hatal175 ef75333735
d_a_obj_msima OK (#2593) 2025-08-21 04:07:41 -07:00
hatal175 a23984e74d
d_a_obj_lv4chandelier equivalent (#2590) 2025-08-17 19:06:17 -07:00
Max Roncace 41c72dc6d9
d_a_e_hp almost matching (#2585) 2025-08-15 12:50:49 +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
hatal175 58a6d8d793
d_a_obj_gomikabe OK (#2580)
* d_a_obj_gomikabe OK

* Remove unneeded include
2025-08-11 17:18:42 -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
Max Roncace 57c9d64308
Misc. framework/d/ improvements (#2572) 2025-08-06 21:46:07 -07:00
hatal175 ee608ceaac
d_a_obj_fallobj OK (#2568)
* d_a_obj_fallobj OK

* J3DMatBlock equivalent
2025-08-05 18:10:43 -07:00
Max Roncace d629cc383b
d_a_e_bg matching (#2567) 2025-08-05 11:37:09 +03:00
hatal175 418e39356d
daObjBATTA Equivalent (#2563) 2025-07-31 02:17:20 -07:00
Stbn-antier c32789eb60
d_a_bd Matching (#2560)
* Matching daPoFire

* Adressed comments

* Matching text

* Some cleanup

* Adressed review comments, added CUT_TYPE_NONE in cut type enum
2025-07-30 20:27:05 +03:00
YunataSavior ec9e4cf268
d_a_e_sb Matching (#2559)
* d_a_e_sb 50% complete

* d_a_e_sb 71% done

* d_a_e_sb matching

* address PR comments
2025-07-30 20:26:19 +03:00
hatal175 a1b63ae940
d_a_obj_thdoor,d_a_obj_zra_rock OK (#2557)
* d_a_obj_thdoor,d_a_obj_zra_rock OK

* Remove ;
2025-07-26 12:34:45 -07:00
hatal175 70a1741977
d_a_obj_twGate Matching (#2555)
* d_a_obj_twGate Matching

* d_a_obj_volcbom OK
2025-07-25 17:44:23 -07:00
hatal175 aae19575bf
Work on d_a_obj_toby (#2552)
* Work on d_a_obj_toby

* d_a_obj_tatigi matching

* Deleted automatic ctor and dtor
2025-07-24 12:19:48 -07:00
Max Roncace d528862dd0
d_a_obj_tobyhouse equivalent (#2546) (#2543)
Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-07-22 15:22:58 +03:00
hatal175 69aaeeeda6
d_a_obj_tobyhouse equivalent (#2546) 2025-07-20 16:57:50 -07:00
hatal175 d9ac8d7e3f
d_a_obj_togeTrap OK (#2545)
* d_a_ibj_togeTrap OK

* Fix broken matches
2025-07-20 01:45:51 -07:00
Max Roncace c4ec1a5402
d_a_kago almost matching (#2541) 2025-07-19 18:12:27 +03:00
hatal175 9f65aa92a7
d_a_obj_tombo OK (#2537) 2025-07-18 14:41:46 -07:00
YunataSavior 6bc4faa5f7
d_a_obj_brg matching (#2539) 2025-07-18 10:53:45 +03:00
Stbn-antier 522f06458d
d_a_e_po 99% Matching (#2517)
* anm_init and nodeCallBack, need to review nodeCallBack as weird code

* First pass on class, 86% match

* Cleanup for PR, still work to do

* Solve error after pull

* Clangd format

* Adressing PR comments

* Update l_HIOInit

* Fix debug building, 60% match on debug :')
2025-07-15 23:35:50 +03:00
Max Roncace 5c86d6d26f
Minor d_a_alink fixes (#2534) 2025-07-15 23:00:01 +03:00
hatal175 aeeaf91054
d_a_ppolamp OK (#2535)
* d_a_ppolamp OK

* Remove include

* d_a_tag_Lv6Gate OK
2025-07-15 01:28:47 -07:00
hatal175 cd99fa788c
d_a_obj_wooden_statue OK (#2532) 2025-07-13 19:38:49 -07:00
hatal175 d4768a864e
Various cleanups and matches (#2530) 2025-07-12 13:57:59 -07:00
hatal175 b83ff69589
Improve various partially matched TUs (#2526) 2025-07-11 01:11:21 -07:00
YunataSavior 2a8e8ebbfc
d_a_obj_magLiftRot matching (#2519)
* beautify_anm_data v2.0

* d_a_obj_magLiftRot matching
2025-07-06 03:14:00 -07:00
hatal175 9d8f4dc719
d_meter2_info equivalent (#2514)
* d_meter2_info equivalent

* Match daMP_Reader

* d_a_e_fs equivalent
2025-07-01 18:29:51 -07:00
hatal175 5b86769442
d_a_arrow matching (#2513)
* d_a_arrow matching

* d_a_demo_item Matching

* Change e_ba_class class to hold fopEn_enemy_c
2025-06-30 15:24:21 -07:00
TakaRikka 79c56b2548
add wii usa rev0 support (#2505)
* wii usa rev0 dol building ok

* wii dol cleanup

* some wii tests

* most rels building
2025-06-27 13:14:58 +03:00
TakaRikka 0a899a404e
fix GC JPN dol splits / d_a_npc_prayer mostly done (#2488)
* jmessage cleanup pass

* more JMessage cleanup

* d_msg_class cleanup

* fix a bunch of gc jpn dol splits

* d_a_npc_prayer pretty much equivalent
2025-06-18 11:05:44 +03:00
LagoLunatic 23cba4d117
getDemoIDData matched, fix up various inlines and template classes (#2489)
* Fix debug build

* getDemoIDData matched, fix up various inlines and template classes

* Remove nonmatching comments
2025-06-17 22:11:53 -07:00
Max Roncace 9b50fd55c2
d_a_npc_tk equivalent (#2483) 2025-06-13 16:40:18 +03:00
Howard Luck 5ec7e42c2d
d_a_npc_kn work (#2274)
* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* fixups

* check

* fixes 2

* fixes 3

* fixes 4

* fixes 5

---------

Co-authored-by: pheenoh <pheenoh@macmini.local>
Co-authored-by: pheenoh <pheenoh@macmini.lan>
2025-06-08 21:01:18 +03:00
Max Roncace 12ee8c9fb7
d_a_npc_henna equivalent (#2473) 2025-06-03 23:31:22 +03:00
hatal175 5272152efa
d_a_obj_sakuita Matching (#2472) 2025-06-02 21:13:17 -07:00
hatal175 588b20679d
Sakuita rope Matching (#2470)
* Change dComIfGp_getAttention to return a pointer

* d_a_obj_sakuita_rope Matching
2025-06-01 20:36:19 -07:00
Hyenate 6fd5560738
d_a_obj_magne_arm Matching (#2462)
* d_a_obj_magne_arm Matching

* Formatting
2025-05-30 13:43:59 +03:00
LagoLunatic 0212d1d18e
Update dtk-template (#2453)
* Update dtk-template

* Fix debug build

* Fix d_event_debug includes

* Progress reports: Enable function relocation diffing (data_value)

* Fix some diffs

* Fix a few more diffs

* More fixes
2025-05-22 22:25:06 -07:00
Max Roncace 3c2a99e701
d_a_mg_fish matching (#2450) 2025-05-22 16:22:16 +03:00
TakaRikka 657ea58023
d_a_bg mostly matching. update version symbols / add platform macros (#2410)
* d_a_bg mostly matching

* update version symbols from new dtk

* add version platform macros

* small fix
2025-04-25 20:53:30 +03:00
TakaRikka 556bfc958c
d_menu_dmap_map equivalent / update dtk-template (#2409)
* d_menu_dmap_map equivalent

* update dtk-template
2025-04-23 10:08:13 +03:00