Commit Graph

485 Commits

Author SHA1 Message Date
YunataSavior 3b21ff855f minor dol fixes for linkability (#2720) 2025-10-01 20:14:06 -07:00
LagoLunatic 6ec6fce8cb Fix JUT_ASSERT and several other macros (#2711)
* Fix JUT_ASSERT to be a nested define

* Switch names that appear in asserts to be constants instead of defines

* Replace `0` in asserts with `NULL` or `FALSE`

* Fix fpclassify

* Fix ARRAY_SIZE

* Use G_CM3D_F_INF

* More fixes for fpclassify

* Remove FLOAT_LABEL

* Remove incorrect FLAG_ON macro

* Remove UNK_BSS macro

* Silence clangd unused header warning for PCH
2025-09-28 13:11:07 -07:00
LagoLunatic e657d4bff4 Fix most vtable issues (#2706) 2025-09-27 15:35:11 -07:00
LagoLunatic 4a029d7c16 Remove unnecessary externs (#2705) 2025-09-27 15:30:54 -07:00
LagoLunatic d11c4ac8a9 Misc matches and fixes (#2703)
* Match mDoExt_morf_c::getPlayMode

* Misc cleanup

* Fix actor cull spheres

* Match daPy_py_c::getLastSceneSwordAtUpTime, JUTGamePad::testTrigger

* Fix improper demangling of dBgS_SphChk::SetCallback

* Fix d_camera rangef weak func order

* Match more alink_wolf funcs
2025-09-26 18:50:46 -07:00
LagoLunatic b142c9493b Use composition instead of inheritance for most f_op classes (#2700) 2025-09-25 12:57:15 -07:00
TakaRikka b841290afa d_debug_camera mostly done (#2695)
* d_debug_camera mostly done

* update some alink demo stuff

* some misc debug stuff
2025-09-25 18:20:46 +03:00
hatal175 6cb5b98768 JHOSTIO almost comletely linked (#2689) 2025-09-23 20:27:24 -06:00
Carco_21 91fbe6e853 d_a_e_gm matching (#2669)
* initial work

* Almost matching

* missed formatting changes

* matching

* changed to equivalent

* PR cleanup, now matching
2025-09-20 03:44:42 +03:00
TakaRikka e90826bef3 swpush5 / bhashi done (#2663)
* swpush5 done

* bhashi done

* gptaru done
2025-09-16 17:31:37 +03:00
Max Roncace 7dcbea4798 Miscellaneous TU fixes (#2662) 2025-09-15 02:53:53 -07:00
Max Roncace 41315ee2ce Minor JSystem/Z2Audio fixes (#2650) 2025-09-11 23:39:23 -07:00
Max Roncace 93d3b2af3b Add PCH for JSystem (#2645) 2025-09-11 13:20:45 -07:00
Max Roncace f28c8efc08 Minor d_a_alink improvements (#2646) 2025-09-10 21:10:04 -07:00
TakaRikka 5fce8ea1e1 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
TakaRikka 87069235c0 some J3D/misc cleanup (#2628)
* some j3d cleanup

* begin using uintptr_t

* j3dgraphbase cleanup

* j3dgraphanimator cleanup
2025-09-04 17:56:59 +03:00
Max Roncace 66763277c8 Add hacks to fix PCH .data causing fake mismatches with decompctx (#2606) 2025-08-30 20:57:35 -07: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 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
Max Roncace ed392859d8 Miscellaneous improvements (#2603) 2025-08-25 15:33:44 -07:00
Max Roncace c897597fc1 Add a precompiled header for RELs (#2597) 2025-08-24 09:52:08 +03:00
hatal175 3f399388b3 d_a_obj_gomikabe OK (#2580)
* d_a_obj_gomikabe OK

* Remove unneeded include
2025-08-11 17:18:42 -07:00
Max Roncace 13f063b383 Misc framework fixes (#2578) 2025-08-10 23:22:28 -07:00
Max Roncace dc8cd6d42a Misc. J3D improvements (#2570) 2025-08-08 12:56:18 +03:00
Max Roncace b150337f7c Misc. framework/d/ improvements (#2572) 2025-08-06 21:46:07 -07:00
hatal175 6af73124b4 d_a_obj_fallobj OK (#2568)
* d_a_obj_fallobj OK

* J3DMatBlock equivalent
2025-08-05 18:10:43 -07:00
hatal175 e9348e07f8 d_a_obj_tobyhouse equivalent (#2546) 2025-07-20 16:57:50 -07:00
Max Roncace 12e6780c19 Minor d_a_alink fixes (#2534) 2025-07-15 23:00:01 +03:00
YunataSavior 93d75a6af9 Major npc wrestler cleanup (#2531) 2025-07-13 18:08:32 +03:00
Carco_21 8288203bed d_a_demo00 work (#2525)
* Initial work

* Got to ke_control

* draw function

* tiny execute work

* all functions worked on

* PR cleanup

* Took out static keyword for dDemo_setDemoData
2025-07-11 02:16:30 +03:00
YunataSavior 4f976cba4d d_a_npc_besu equivalent (#2510)
* beautify_anm_data v2.0

* d_a_npc_besu 50% done

* d_a_npc_besu 70% done

* d_a_npc_besu until wait + indent fix

* d_a_npc_besu equivalent!

* Mark d_a_npc_besu as equiv in configure py
2025-07-06 03:07:33 -07:00
TakaRikka 100dfc70a2 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
hatal175 8534b4ff46 Improve some J2DPictureEx matches (#2493)
* Improve some J2DPictureEx matches

+ other minor debug improvements

* Fix JASTrack::channelStart
2025-06-21 03:47:24 -07:00
LagoLunatic e9a96dde05 Add more J3D_ASSERTs (#2491)
* Fix debug build

* Add more J3D_ASSERTs

* Move J3DShapeMtx to correct header for assert

* Add VSCode task for ninja changes_all
2025-06-19 23:41:43 -07:00
LagoLunatic fb33d7cfc4 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
Carco_21 f770d6c230 d_a_obj_gra2 work (#2482)
* Tiny start on d_a_obj_gra2

* Initial work

* Solid work done

* More work

* work on some rolling functions and deme camera

* Almost all functions worked on

* All functions worked on

* Fixed some BaseNpc functions I broke

* PR Cleanup

* PR cleanup part 2
2025-06-16 16:40:16 +03:00
hatal175 3563211c09 Work on d_a_obj_flag3 (#2485)
* Work on d_a_obj_flag3

* Fix JASBasicWaveBank::incWaveTable

* Match JASBNKParser::Ver0::createBasicBank
2025-06-15 15:38:08 -07:00
TakaRikka bf8a906790 cleanup/doc JMessage / d_msg_class (#2484)
* jmessage cleanup pass

* more JMessage cleanup

* d_msg_class cleanup
2025-06-13 15:33:33 +03:00
Max Roncace 8efb2e6375 d_a_e_dk matching (#2476) 2025-06-06 08:16:44 +03:00
TakaRikka 3af421d7b6 cleanup d_meter2_info / little JMessage work (#2460)
* d_meter2_info cleanup

* parseBlock_next matching
2025-05-28 14:04:30 +03:00
robojumper b567ccba87 jstudio-object OK (#2427)
* jstudio-object checkpoint

* jstudio-object OK

* Small debug improvements
2025-05-08 18:06:38 +03:00
YunataSavior 3956da466d d_a_b_ds and d_a_e_vt equivalent (#2424) 2025-05-07 20:06:19 +03:00
TakaRikka 1b39cbd089 e_md / coach2D done (#2418)
* e_md / coach2D done

* Update d_a_e_md.cpp

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-05-04 17:52:18 +03:00
hatal175 938adba459 d_menu_letter equivalent (#2407) 2025-04-23 11:39:12 -07:00
hatal175 d68b7fc862 d_msg_class mostly equivalent (#2403) 2025-04-20 17:46:09 -07:00
hatal175 d5b277bbc5 Daswc (#2398)
* swball cleanup

* daSwc00_c OK

* Revert change in configure - we'll handle rel/dol changes in seperate PR
2025-04-17 16:23:05 -07:00
hatal175 0e556795f6 A Little j3d work (#2396) 2025-04-15 14:09:31 -07:00
hatal175 efc781e892 Various alignments to debug + matching TUs (#2391) 2025-04-13 11:55:52 -07:00
LagoLunatic c0a458d52a functionvalue 100% (#2389)
* functionvalue 100%

* Fix ninja always thinking the build is dirty due to nonexistent dependent file
2025-04-12 09:12:27 +03:00
hatal175 912bec802f Misc Matches using debug (#2388) 2025-04-11 14:54:08 -07:00