Commit Graph

98 Commits

Author SHA1 Message Date
LagoLunatic ac9a361676
Match JFWSystem::init (#2972)
Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>
2025-12-19 17:25:09 -08:00
Jcw87 2c62444df1
m_Do_main debug (#2965) 2025-12-19 21:22:03 +02:00
LagoLunatic 9771ae6879
JASAiCtrl OK (#2967) 2025-12-18 13:38:20 -08:00
roeming 93067110f6
Use consistent s32/u32 (#2964)
* cleanup long usage

* fix regression
2025-12-18 13:31:44 -08:00
kipcode66 d7facf5956
Resource (#2939)
* matching Do_destroy from resource.cpp

* add missing constants from `float.c`

* add numeric_limits for double

* set TObject::reset for each version in stb.cpp

* improve debug matching
2025-12-15 17:00:16 -08:00
LagoLunatic 1b8ea3206d
J3D debug work (#2949)
* J3D debug work

* Clean up JSystem GXColor ctors, remove a couple fakematches

* Update symbols.txt

* Fix res include syntax

* Remove fakematch that isn't necessary anymore

* Fix some Shield regressions
2025-12-12 21:04:03 -08:00
roeming 2481e184fb
Link J2DWindowEX (#2946)
* Add debug for J2DWindowEx, link GCN version

* locking non-const copy ctor behind GCN check

* fix typo for define

* fix another define typo

* update bugged ctor and leave a comment
2025-12-11 15:41:44 -08:00
Max Roncace 8ad2d661a2
Clean up conditional compilation a bit (#2943) 2025-12-11 15:34:16 -08:00
Jcw87 ae4ad9f477
fix functions not returning values (#2942)
* fix functions not returning values

* implement functions that should return values
2025-12-11 15:31:44 -08:00
LagoLunatic 50f0876194
Fakematch JASTrack::TList::seqMain (#2940)
* Fakematch JASTrack::TList::seqMain

* Add debug ifdef
2025-12-10 21:54:25 +02:00
LagoLunatic 26f4c5a0fe
JASAramStream OK (#2937) 2025-12-09 14:52:31 -07:00
hatal175 cfded01caa
Match resource.cpp with a small fake match (#2936) 2025-12-09 13:44:27 -08:00
kipcode66 3b26aae532
Improving standard compiler compatibility (#2926)
* Adding explicit dolphin/ prefix & fix characters

* Rename ShiftJIS to SJIS

* Separate JASSeqReader read methods implementation between compilers.

* Fix pointer.h

* fix d_item_data typo

* fix gcn matching issue
2025-12-08 20:31:22 -08:00
LagoLunatic a3d6bafcdd
Match JASTaskThread::run (#2934) 2025-12-08 22:12:42 +02:00
LagoLunatic 7820b4590e
Match JStudio_JStage::TAdaptor_light::adaptor_do_begin (#2932) 2025-12-08 22:11:03 +02:00
LagoLunatic 251d49c6f1
JASBNKParser OK, Z2Audience OK (#2929) 2025-12-07 21:49:42 -08:00
LagoLunatic cd94afafa0
Match Z2SceneMgr::sceneBgmStart (#2923) 2025-12-06 21:09:16 -08:00
kipcode66 fc31053cb6
Improving compatibility with standard cpp compiler (#2920)
* Improving compatibility with standard cpp compiler

* Add __REGISTER macro for non mwcc compatibility

* Fix for PR comments

* fix missing define for revolution

* Simplifying cSAngle conversion
2025-12-06 21:08:05 -08:00
LagoLunatic 7ac2c38caf
Fix const loop invariant issues (#2921)
* Fix const loop invariant issues by defining explicit operator= for structs

* Fix J2DMatBlock weak func order
2025-12-06 14:19:09 -08:00
Max Roncace a30e617e5a
Various debug conditional compilation cleanup (#2915)
* Global: Define DEBUG as 0 if not already defined

* Clean up DEBUG-guarded code
2025-12-06 13:34:47 -08:00
Niklas Bauer 4d3f25d34e
Resolve all "illegal jump past declaration/initializer" warnings (#2911)
* resolve illegal jump past declaration/initializer

* pr comments
2025-12-04 14:57:33 +02:00
LagoLunatic f97d334732
Debug+retail matches and clean up some fakematches (#2910)
* Debug matches

* Match daAlink_c::procGrassWhistleWait

* Match JASAramStream::channelProc

* More debug matches

* Match JAUStreamStaticAramMgr_::deleteStreamAram and bitset inlines

* Fix some fakematches

* Fix gameinfo player info not being a struct

* Update bug comments

* Fix procids in alink

* d_a_scene_exit OK
2025-12-03 15:09:56 -08:00
LagoLunatic cabc703969
J3DShapeDraw and J3DSkinDeform OK (#2908) 2025-12-02 15:38:12 -08:00
robojumper 6a5397e847
JStudio debug improvements (#2902) 2025-12-01 16:33:32 -08:00
TakaRikka a6e76c0841
project cleanup (#2895)
* some wii OS fixes

* remove old dol2asm comments

* remove dol2asm.h

* remove function address comments

* normalize ATTRIBUTE_ALIGN usage

* DECL_WEAK macro

* fix gcc attribute weak macro

* wrap more mwcc specific things in ifdefs

* fixes

* fix revo sdk version flags

* fixes
2025-11-30 15:23:42 -07:00
LagoLunatic 434415337d
J3DSkinDeform work (#2896)
* Match four inline asm functions with manual regalloc

* J3DSkinDeform::changeFastSkinDL: Clean up var names, slightly improve match

* Syntax

* More var names
2025-11-30 23:39:56 +02:00
Howard Luck 20e9957356
d_a_alink_HIO work (#2852)
* daAlink_c::jointControll OK

* daalink debug work

* checkpoint

* fix casting

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* remaining functions + fixes round 1

* fixes round 2

* fixes round 3

* fixes round 4

* revert getNeckAimAngle for now
2025-11-30 22:26:50 +02:00
LagoLunatic 7abe8d4a40
JASHeapCtrl OK (#2893) 2025-11-29 21:30:50 -08:00
LagoLunatic 9f7a71a70f
J2DScreen OK (#2889)
* J2DScreen OK

* Fix clangd errors

* Remove nonmatching comment
2025-11-28 18:15:10 -08:00
LagoLunatic 59d0f49309
J3DMtxBuffer OK (#2888) 2025-11-28 18:13:17 -08:00
LagoLunatic 4fb3af91b8
Various small matches (#2879)
* Misc debug matches

* Fix JASBasicWaveBank weak func order

* Remove more dol2asm stuff, fix missing includes

* Some data fixes

* Update comments

* d_file_sel_warning is already OK

* Fix Z2 splits

* Fix movebox namespace

* Fix inlining issue in m_Do_ext

* Fix Z2 splits for P and J
2025-11-27 21:34:18 -08:00
TakaRikka 6f96e66518
various Z2Audio / JAudio debug cleanup (#2876)
* some JAudio work

* audio cleanup checkpoint

* checkpoint more audio cleanup

* fix symbols

* more z2 cleanup

* fix regression

* fix build

* some fixes
2025-11-27 21:19:33 -08:00
Max Roncace 2bff9b49b5
d_particle equivalent (#2869) 2025-11-25 20:55:01 -08:00
Carco_21 9e232b61fb
Small matches/improvements (#2844)
* j2dmatblock debug work

* J2DMaterialFactory matching

* J2DPictureEx matching

* tiny work

* fixed regressions

* PR cleanup

* build error fix
2025-11-25 18:34:19 +02:00
LagoLunatic 2f2f37a734
Misc fixes (#2860)
* Misc matches

* Remove more old dol2asm stuff

* Remove dCcS::SetMass-related fakematches

No longer necessary with the PCH for some reason.

* Use attention types enum in more places

* Remove more dol2asm stuff

* Clean up matDL_dis.py
2025-11-25 18:32:34 +02:00
LagoLunatic 8d53f6dd59
Fix more nonmatchings (#2850)
* Fix GetPolyIndex and GetBgIndex, fixing a couple regallocs

* Match daNpcCd2_c::checkFearSituation and daNpcCd2_c::getAnmP

* Match daAlink_c::jointControll

* Clean up float class checks

* Move float constants to global.h
2025-11-23 15:23:44 -08:00
LagoLunatic e2fddadf32
Misc matches (#2845)
* Misc debug matches

* Fix d_map weak function order

* Remove old nonmatching comments

* d_menu_dmap and JASAudioThread OK, fix weak func order and rodata alignment

* More misc matches
2025-11-21 15:52:16 -08:00
Max Roncace e6a5d5c3dd
Miscellaneous retail+debug fixes, link several new TUs (#2836) 2025-11-20 23:09:21 -08:00
LagoLunatic 91011befd7
Remove fake matches, fix false equivalencies, and other small matches (#2837)
* Debug matches and remove fake matches

* Fix false equivalencies, regallocs, and vtable orders

* Fix PAL splits
2025-11-20 21:17:51 -08:00
LagoLunatic 4cf2c7e37d
Misc fixes (#2830)
* Replace DANPCF_C_HACK with a better fakematch

* d_a_obj_item OK

* Fix ninja diff

* Misc debug/nonmatching fixes

* Fix ninja diff for PAL

* Fix bad PAL split
2025-11-19 14:10:03 -08:00
hatal175 678c1a0e70
JSUOutputStream Matching for shield (#2825)
* JSUOutputStream Matching for shield

* Fix nonmatching in JAUSectionHeap
2025-11-19 10:17:26 -08:00
hatal175 8a39ebfa8b
fvb Matching (#2820)
* fvb Matching

* J2DScreen debug work
2025-11-18 18:13:35 -08:00
LagoLunatic bd2def28db
d_a_demo00 OK (#2817)
* Misc small matches

* Add J3DFrameCtrl::EMode_NULL enum

* Improve weak bss fakematch and remove a functionvalue fakematch

* demo00 OK
2025-11-17 15:38:04 -08:00
TakaRikka 540217c31b
wii building OK / m_Do_graphic debug work (#2815)
* wii building OK + m_Do_graphic debug work

* d_meter_HIO debug cleanup

* wii m_Do_graphic stuff

* tag_attack_item OK, mirror_chain almost

* fix build

* mg_fshop matching
2025-11-17 20:01:03 +02:00
LagoLunatic ba7cdd4fe9
Debug work + some retail regalloc fixes (#2787)
* Debug work + some retail regalloc fixes

* Use AUDIO_INSTANCES in places it's missing, link d_a_e_bee

* Link m_Do_machine

* Fix clang putting other includes before the pchs

* Link some more debug TUs that already match
2025-11-09 11:43:14 -08:00
LagoLunatic 9eea9289b1
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 54d8839d91
Remove unnecessary externs (#2705) 2025-09-27 15:30:54 -07:00
LagoLunatic 6242aa6e84
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
hatal175 169c7ae4a2
JHOSTIO almost comletely linked (#2689) 2025-09-23 20:27:24 -06:00
hatal175 e82806047b
d_a_obj_kznkarm OK (#2678)
* d_a_obj_kznkarm OK

* d_a_title GZ2P01 Matching

* More GZ2P01 Matches

* d_s_name matching for PAL

* d_msg_scrn_light Matching for PAL

* d_menu_fishing Matches on PAL

* d_file_sel_info Matches on PAL

* d_a_npc_cd Matching on PAL

* d_error_msg Matches on PAL

* d_cam_param matches as is on PAL

* Fix PAL JSystem and Z2AudioLib splits/symbols

* Aligning the rest of TUs to compile on all GC versions
2025-09-21 13:26:34 -06:00