Max Roncace
8a333fc7c9
More debug fixes for 99% TUs ( #3122 )
...
* d_a_e_hp debug code 100%
* d_a_npc_chin debug improvements
* d_a_npc_du debug code 100%
* d_a_npc_cdn3 debug code 100%
* d_a_e_rdy GCN symbol fixes
* d_a_kago debug code 100%
* d_a_e_oc debug code 100%
* d_a_e_yr debug code almost matching
* d_a_e_bg debug code 100%
* d_a_ykgr debug code 100%
* d_a_tag_hjump debug data fixes
* d_a_tag_attack_item debug data fixes
* d_a_e_df debug code 100%
* d_a_e_sh debug code 100%
* d_a_L7op_demo_dr debug code 100%
* d_a_L7low_dr debug code 100%
* d_a_e_sm2 debug code 100%
* d_a_movie_player debug code 100%
* d_a_e_st debug code 100%
* d_a_npc_aru debug code 100%
* d_a_e_yg debug code 100%
* d_a_door_spiral debug code 100%
* d_a_bg debug code 100% (still has .data issues)
* d_a_e_dn debug code 100%
* d_a_tag_attention debug code 100%
* d_a_e_bd debug code 100%
* d_a_tag_camera debug .rodata fix
* d_a_obj_movebox debug code 100% (array dtors are mismapped)
* d_a_mg_rod debug improvements
* d_a_e_rd debug symbol fixes
2026-03-11 03:07:19 -07:00
Luke Street
9649319ec4
Reorganize library code into libs/ ( #3119 )
...
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}
* Update configure.py and project.py for new libs structure
* Refactor `#include <dolphin/x.h>` -> `<x.h>`
* Remove `__REVOLUTION_SDK__` forwards from dolphin
* Fix dolphin/ references in revolution
* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`
* Always build TRK against dolphin headers
* Resolve revolution SDK header resolution issues
2026-03-01 14:35:36 -08:00
TakaRikka
6e149819e1
d_s_logo / d_s_play debug work, d_a_kago cleanup, misc cleanup ( #3116 )
...
* d_a_kago cleanup
* d_s_logo wii/shield work
* d_s_logo / d_s_play debug work
* fix missing profile class sizeof's
* fix phase->id values
* build fixes
* fix dCamera_c and camera profile
2026-03-01 13:19:48 -08:00
Luke Street
c900a043b8
Some GCC compilation fixes ( #3114 )
...
* Fix 6-byte multichar literals
* Add `struct` to `e_ga_class::ga_s`
* Fix remaining wrong forward declares (struct/class)
* Replace `#include <string>` with `#include <cstring>`
* Guard FLT_EPSILON define to prevent redefinition
* Add missing `#include <cstring>` for direct cstring function usage
2026-02-28 12:11:00 -08:00
Pieter-Jan Briers
f54661f878
Fix MORE wrong forward declares (struct/class) ( #3110 )
2026-02-24 14:20:45 -08:00
Pieter-Jan Briers
59fd9f387a
Fix incorrect forward declare keywords ( #3107 )
...
Mixups of class/struct keyword in forward declares. Doesn't seem to matter on MWCC, but causes name mangling mismatching on modern platforms.
2026-02-23 11:13:00 -08:00
Max Roncace
a790efafc5
d_cursor_mng mostly matching ( #3101 )
2026-02-17 22:58:52 -08:00
Max Roncace
1273e633f2
m_Re_controller_pad mostly matching ( #3099 )
...
* Move m_Re_controller_pad to m_Re/
* m_Re_controller_pad mostly matching
2026-02-13 15:15:42 -08:00
Jcw87
d8a4157b9f
d_jnt_col debug ( #3088 )
2026-02-11 00:05:16 -08:00
Jcw87
21de544196
d_com_inf_game debug ( #3075 )
...
* d_com_inf_game debug
* inline sorting
2026-01-29 18:58:59 -08:00
TakaRikka
5867eaf68b
general cleanup, d_menu_quit / d_a_obj_testcube mostly done, d_msg_scrn_explain debug ( #3065 )
...
* typedef for cPhs_Step
* make sdk includes consistent
* d_menu_quit / d_msg_scrn_explain debug
* d_a_obj_testcube mostly done
* d_debug_pad mostly done
* jstudio tool library headers
* some JStudioCameraEditor headers
* d_jcam_editor mostly done
* try fixing some shield regressions
* d_bg_parts mostly done
* fix merge errors
* debug fix
2026-01-24 23:36:23 -08:00
Jcw87
87a3705039
m_Do debug ( #3052 )
...
* m_Do debug
* m_Do wii data
2026-01-18 17:59:57 -08:00
TakaRikka
b1f44ce532
d_a_alink cleanup / debug work ( #3045 )
...
* start d_a_alink debug cleanup
* d_a_alink_damage debug
* d_a_alink_guard debug
* d_a_alink_bow debug
* d_a_alink_boom debug
* d_a_alink_copyrod debug
* d_a_alink_hvyboots debug
* d_a_alink_grab debug
* d_a_alink_sumou debug
* d_a_alink_horse debug
* d_a_alink_canoe debug
* d_a_alink_crawl / d_a_alink_hang debug
* d_a_alink_swim debug
* d_a_alink_hook / d_a_alink_iceleaf debug
* d_a_alink_bottle debug
* d_a_alink_whistle / d_a_alink_kandelaar / d_a_alink_ironball debug
* d_a_alink_demo debug
* d_a_alink_effect debug
* d_a_alink_wolf debug
* d_a_alink debug / cleanup
* cleanup button status enums
2026-01-17 15:44:37 +02:00
roeming
562f4d0d65
first round of constants cleanup ( #3021 )
...
* first round of constants cleanup
* move m_PI_D definition
* remove compatibility comment
* add future version of angle subtracting with/without cast
* whitespace change to run builds again
2026-01-10 23:38:04 +02:00
Max Roncace
fd863582d6
f_pc mostly linked for Wii/Shield ( #3015 )
2026-01-06 04:45:15 -08:00
kipcode66
1d2a0d9568
Add guards around std library headers ( #3013 )
...
* Last fix for standard compiler error
* adding define guards around headers
* rename cmath.h and climits.h to cmath and climits respectively
* renaming cstdarg.h to cstdarg
* renaming cstdlib.h to cstdlib
* renaming cstring.h to cstring
* renaming cstdio.h to cstdio
* renaming cmath locale ctype
* renaming stdarg string and va_list
* renaming cstddef
* renaming stdio stddef stdlib
* renaming algorithm, functional, iterator, memory, and utility
* renaming bitset, cstdint, limits, and stdint
* renaming new and type_traits
* update quote includes for standard library headers to angle bracket includes
2026-01-05 03:50:45 -08:00
Jcw87
b897ed3ec9
m_Do debug ( #3017 )
...
* m_Do debug
* d_particle fix
2026-01-05 02:19:14 -08:00
Max Roncace
b72be3074a
m_Do_ext retail linked + debug improvements ( #3009 )
2026-01-04 17:20:35 -08:00
Max Roncace
7cf1038865
d_particle debug improvements ( #3010 )
2026-01-02 08:24:40 -08:00
Niklas Bauer
c3213e0c67
f_op work ( #3008 )
...
* f_op debug 1
* f_op debug 2
* f_op debug 3
* f_op debug 4
* f_op debug 5
* f_op_debug fix build
* f_op linking
* remove goto in fopac_create
* fix regressions
* fix regressions
* pr comments
* f_op debug 6
* f_op debug 7
* f_op debug 8
* f_op debug 9
* f_op debug 10
* f_op work, linking, symbols, heap
* regressions 1
* regressions 2
* pr comments
2025-12-30 14:22:38 +02:00
hatal175
e77f841d35
Work on d_cc_d debug ( #3002 )
2025-12-29 04:12:01 -08:00
Niklas Bauer
67b576ad9a
f_op debug work ( #2991 )
...
* f_op debug 1
* f_op debug 2
* f_op debug 3
* f_op debug 4
* f_op debug 5
* f_op_debug fix build
* f_op linking
* remove goto in fopac_create
* fix regressions
* fix regressions
* pr comments
2025-12-26 13:17:51 -08:00
LagoLunatic
877889c510
Clean up code, remove fakematches, add UNUSED, enable warnings ( #2992 )
...
* Remove NDEBUG_DEFINED fakematch, clean up getName temps
* Fix ifdef
* Fix bad JSystem pch ifdef breaking decomp.me
* Remove Acch Chk fakematches
* Private Acch fields
* Fix some clangd errors in headers
* Add UNUSED macro for matching debug parameters
* Enable clangd unused-parameter warning
* Remove extern from initializers
Probably added by dol2asm?
* Fix process profile definitions
* Remove leftover dol2asm address comments
* Remove some unnecessary double casts
* Enable some more clangd warnings
* Fix missing usages of fopAcM_ct
* Fix wrong enum usage
* Fix more fakematches
2025-12-23 15:53:10 -08:00
Jcw87
f156a2a413
JAHostIO, JAWExtSystem debug ( #2985 )
2025-12-22 12:27:31 -08:00
TakaRikka
bd0c601a52
m_Do_MemCard/d_file_select wii/debug work ( #2976 )
...
* m_Do_MemCard/d_file_select wii/debug work
* fix builds
2025-12-20 18:30:04 -08:00
Jcw87
2c62444df1
m_Do_main debug ( #2965 )
2025-12-19 21:22:03 +02:00
TakaRikka
8185d87f85
copy homebuttonLib from oot-vc ( #2960 )
...
* initial copy of hbm from sdk_2009-12-11
* some more nw4hbm cleanup
* nw4hbm db mostly done
* nw4hbm snd copied from oot-vc
* nw4hbm ut copied
* nw4hbm lyt copied
* nw4hbm copied, mostly matching usa 1.0
* setup nw4hbm debug define
* fix HBMDataInfo struct
* add rvl sdk card lib
2025-12-16 16:55:07 +02:00
Carco_21
87732304d1
d_particle debug work ( #2944 )
...
* misc work
* more work
* fixed error
* more work
* PR cleanup
* missed cleanup
* error fix
* wii fix
2025-12-12 20:54:42 -08:00
Max Roncace
8ad2d661a2
Clean up conditional compilation a bit ( #2943 )
2025-12-11 15:34:16 -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
LagoLunatic
ae9fa8922a
Work on weak function ordering ( #2917 )
...
* Fix functionvalue weak func order
* Add script to help diffing weak function order
* Improve alink weak func order (44 -> 15)
* Improve m_Do_ext weak order (12 -> 7)
* Remove old hack
* Fix d_a_tbox weak func order
* Fix d_a_npc_ks weak func order
* Fix error when trying to diff weak func order for ShieldD due to hidden function alignment gap symbols
2025-12-05 18:46:58 -08: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
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
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
Max Roncace
9f76ba2f69
d_a_npc debug work ( #2863 )
...
* Remove d_a_npc3.cpp
This file appears to not actually be real and the asserts in its
functions all reference d_a_npc2.cpp instead.
* d_a_npc debug almost matching
2025-11-25 22:32:01 +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
roeming
6f7457a870
add debug functionality to d_a_horse, match almost all functions ( #2834 )
...
* add debug functinality to d_a_horse, match almost all functions
* fix some wii funcs
* fix wii build
2025-11-20 14:41:52 -08:00
TakaRikka
638c0b968c
npc_gnd finished, movie_player almost done ( #2818 )
...
* movie_player mostly done
* d_a_npc_gnd done
* fix fshop debug match
2025-11-18 01:34:34 -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
hev7
2387021347
d_a_npc_pouya matching ( #2806 )
...
* d_a_npc_pouya matching
* mItemPartnerId fix
2025-11-15 04:02:24 -08:00
Carco_21
a02f72d8f3
d_a_npc_post matching ( #2792 )
...
* initial work
* matching
* changed draw ifdef
* enums added
* enum change
2025-11-10 18:15:17 -08: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
TakaRikka
73927f50a9
kankyo / m_do_ext debug stuff ( #2759 )
...
* kankyo debug work
* finish draw packets
2025-10-28 05:55:46 +02:00
TakaRikka
9155add1f6
d_a_npc_blue_ns mostly done ( #2747 )
...
* d_a_npc_blue_ns mostly done
* d_a_obj_poCandle / d_a_obj_poTbox done
2025-10-21 21:33:59 +03:00
TakaRikka
850fae1aa3
m_Do_main / f_ap_game / f_op_actor debug work and misc ( #2744 )
...
* m_Do_main / f_ap_game debug stuff
* revolution sdk compatibility
* f_op_actor debug work
* rename fopAcM_SetupActor to fopAcM_ct
* fix build
* fix jp/pal splits
2025-10-19 20:30:49 +03: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
TakaRikka
9a2df2162b
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
Max Roncace
fe5e8aff98
More miscellaneous TU improvements ( #2665 )
2025-09-17 15:01:59 +03:00
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