Max Roncace
6694c1b281
Fix a bunch of compiler warnings and document several more bugs ( #3130 )
2026-03-17 22:38:05 -07:00
Huitzi
0b0fdd1f60
Actor status consolidation & process profile definition editing ( #3117 )
...
* Consolidate fopAcM_STATUS into fopAc_Status_e
* Add _e suffix to fopAcStts enums
* Prepare for profile enumeration
* Correct typo in scene_process_profile_definition
* Manually handle g_profile_Obj_DamCps (inline preprocessing)
* Correct g_profile_TAG_LV5SOUP procname to enum
* Create d_priority.h
* Update process profile definitions
* Moved inline comments to the left
* Add missing fopAcStts enums
* Add d_priority.h include in f_pc_leaf.h
* Manually update d_a_obj_damCps profile
* Replace fopAcStts enums replacing and anticipatory profile size correction
* Changed profile size from literal to sizeof() in anticipation of PR #3116
* Provided putative names to staff-related status enums
* Replaced appropriate literals with fopAcStts enums
* Fix borked merge
* Rename item number enums and move to d_item_data.h
* Rename process profile name & draw priority enums
* Move process profile name & draw priority enums to appropriate files
* Moved fpcNm_ enums from d/d_procname.h to f_pc/f_pc_name.h
* Moved fpcDwPi_ enums from d/d_priority.h to f_pc/f_pc_draw_priority.h
* ACTUALLY (whoops) stage merge
* Correct item mistranslation
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com >
---------
Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com >
2026-03-09 18:33:31 -07:00
TakaRikka
30e839c28b
d_s_room / d_s_name / d_a_title debug work ( #3123 )
...
* d_s_room / d_s_name debug work
* camera_class rtti fix
* d_a_title debug / handle shield rel changes
* fix shield build
* fix regressions
2026-03-06 22:30:25 -08: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
6a48380461
More GCC compatibility/warning fixes ( #3118 )
...
* Wrap >4-char literals in a MULTI_CHAR macro
Modern compilers do not support CW's non-standard behavior with
>4 char literals. We can, however, use a constexpr function to
compute the u64 values directly. This leaves <=4 char literals
unchanged.
* Replace non-pointer usages of NULL with 0
* Define NULL to nullptr on C++11 and above
* Fix more -Wpointer-arith and -Woverflow warnings
* Replace u32/s32 with uintptr_t/intptr_t where appropriate
* JSUOutputStream: Overload all standard int types
2026-02-28 20:19:17 -08:00
Max Roncace
ebe7c7aabc
ShieldD: Clean up a bunch of 99% matching TUs ( #3113 )
...
* d_a_npc_ks debug code 100%
* d_a_npc_rafrel debug code 100%
* d_a_npc_inko minor improvements
* d_a_npc_gro debug code 100%
* d_a_npc_pachi_taro debug code 100%
* d_a_npc_passer debug code 100%
* d_a_npc_pachi_maro debug code 100%
* d_a_npc_post debug code 100%
* d_a_obj_bemos debug improvements
* d_a_obj_scannon_ten debug code 100%
* d_a_b_mgn debug code 100%
* d_a_e_fb debug code 100%
* d_a_e_gb debug code 100%
* d_a_e_hz debug code 100%
* d_a_e_cr_egg debug code 100%
* d_a_e_md debug code 100%
* d_a_e_wb debug code 100%
* d_a_obj_mirror_6pole debug code 100%
* d_a_obj_spinLift debug data fixes
* d_a_obj_pdwall debug data fixes
* d_a_obj_ss_drink debug code almost matching
* d_a_obj_poFire debug code 100%
* d_a_obj_picture debug code 100%
* d_a_obj_dust debug code 100%
* d_a_obj_fallobj debug code 100%
* d_a_obj_itamato debug code almost matching
* d_a_obj_syRock debug code 100%
* d_a_obj_katatsumuri debug code 100%
* d_a_obj_wood_statue debug code 100%
* d_a_obj_lv6egate debug code 100%
* d_a_tag_qs minor debug symbol fixes
* d_a_obj_twGate debug code 100%
* d_a_obj_lv6SwGate debug code 100%
* d_a_obj_lv6swturn debug code 100%
* d_a_obj_lv6Tenbin debug code 100%
* d_a_obj_kwheel01 debug code 100%
* Fix RTTI order regression (cM3dGCyl vs cBgS_*)
2026-02-28 12:13:57 -08:00
Pieter-Jan Briers
f54661f878
Fix MORE wrong forward declares (struct/class) ( #3110 )
2026-02-24 14:20:45 -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
86fddd48d5
d_stage debug ( #3063 )
2026-01-22 21:11:28 -08:00
roeming
d45b10d0fd
fopAcM_Register cleanup (#3047 )
...
* use macro `fopAcM_Register` more consistently
* replace fopAcM_RegisterCreateID with version that doesn't create `a_this`
2026-01-17 15:52:32 +02: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
Max Roncace
93dcac3343
Use attention enums everywhere instead of integer literals ( #3044 )
2026-01-14 16:55:59 +02:00
YunataSavior
53aaed17c0
obj_pumpkin dbg equiv ( #3036 )
2026-01-12 22:18:58 +02: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
TakaRikka
ce41820bf0
d_a_door_spiral mostly done ( #3007 )
2025-12-27 13:46:46 -07: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
Max Roncace
8a478c5ebe
d_a_mg_rod debug improvements ( #2993 )
2025-12-23 16:11:09 -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
Carco_21
bff5982293
almost matching ( #2933 )
2025-12-08 22:12:20 +02: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
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
Carco_21
5716efc4c8
d_a_e_dn work ( #2899 )
...
* d_a_e_dn work
* PR cleanup and more documentation
2025-12-03 14:16:08 -08:00
Niklas Bauer
c1861812ef
d_a_npc_kn debug work ( #2907 )
...
* d_a_npc_kn debug work
* d_a_npc_kn pr comments
2025-12-03 20:30:59 +02: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
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
Carco_21
4d4444ca18
d_a_b_mgn debug almost equivalent ( #2842 )
...
* debug almost equivalent
* PR cleanup
2025-11-27 14:22:27 -08:00
Max Roncace
3080360a2a
d_kankyo matching ( #2872 )
2025-11-26 13:52:12 -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
hatal175
158899a16d
debug work on d_a_e_fb ( #2819 )
2025-11-18 01:34:52 -08:00
YunataSavior
70272b88f5
npc_wrestler dbg work ( #2795 )
2025-11-10 19:52:59 -08:00
LagoLunatic
23a1c94063
Regalloc/debug/misc fixes ( #2794 )
...
* Fix "0" asserts
* More debug and regalloc fixes
* Fix PTMF syntax for compatibility with other compilers
* Fix some fakematches, link more TUs for J/P
2025-11-10 18:25:00 -08:00
TakaRikka
1f701cd132
npc_hoz done ( #2775 )
...
* npc_hoz done
* pr
* remove include
2025-11-07 15:26:52 +02:00
TakaRikka
226325284d
lv6togetrap, swpush2, tafence done ( #2771 )
...
* lv6togetrap, swpush2, tafence done
* fix jp/pal
* Use dEvtCnd_CANDEMO_e
---------
Co-authored-by: hatal175 <hatal175@users.noreply.github.com >
2025-11-06 03:19:01 +02: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
hatal175
8a99c051d1
d_a_e_yh OK ( #2727 )
2025-10-06 20:23:08 -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
LagoLunatic
dbf6abeb90
Use composition instead of inheritance for most f_op classes ( #2700 )
2025-09-25 12:57:15 -07:00
TakaRikka
125f2325a5
cleanup event stuff ( #2688 )
...
* cleanup event stuff
* fix debug
2025-09-23 14:20:38 +03:00
YunataSavior
9fd28c507f
d_a_obj_kago OK ( #2661 )
...
* d_a_obj_kago OK
* Mark d_a_obj_kago as matching for JP
---------
Co-authored-by: Max Roncace <me@caseif.net >
2025-09-15 02:49:35 -07:00
LagoLunatic
ae6f4242b3
Finish renaming subtype to argument ( #2659 )
2025-09-14 13:17:54 -07:00
TakaRikka
f91257cc62
npc_kakashi done ( #2651 )
2025-09-13 00:29:20 +03:00
Carco_21
bfeb1c048b
d_a_e_zm matching ( #2638 )
...
* initial work
* a little more work
* matching
* pr cleanup
* changed 'subtype' to 'argument'
* fixed debug error
2025-09-10 01:53:13 +03:00
TakaRikka
52aa5f677f
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
Max Roncace
513816ce5c
Add a precompiled header for RELs ( #2597 )
2025-08-24 09:52:08 +03:00
Max Roncace
41c72dc6d9
d_a_e_hp almost matching ( #2585 )
2025-08-15 12:50:49 +03: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
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
Max Roncace
7d6c8ef3e5
d_a_e_kr equivalent ( #2549 )
2025-07-24 09:13:55 +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