PJB3005
ab389c5f49
Merge remote-tracking branch 'decomp/main' into 26-02-27-pjb-dev-2
2026-03-02 12:36:59 +01: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
PJB3005
798caf079a
Merge remote-tracking branch 'origin/main' into 26-02-27-pjb-dev-2
2026-03-01 15:08:52 +01:00
PJB3005
eaff191b47
process class inheritance vtable fix
2026-03-01 14:34:07 +01: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
Luke Street
989c6ac3db
Various minor warning fixes
2026-02-28 17:18:04 -07:00
PJB3005
b39700f5ab
Fix fopAcM_ct_placement with vtable layouts
2026-02-28 23:02:06 +01: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
PJB3005
a717eb8008
Fix default constructor parent zeroing shenanigans in actor creation
2026-02-28 13:27:42 +01:00
PJB3005
0c16a748c3
Make stage loading work on LE & 64-bit
2026-02-28 13:17:05 +01: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
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
YunataSavior
70272b88f5
npc_wrestler dbg work ( #2795 )
2025-11-10 19:52:59 -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
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
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
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
Carco_21
c0717e1e56
d_a_obj_lv6bemos2 and d_a_obj_lv6bemos almost equivalent ( #2527 )
...
* initial work
* All but one function equivalent
* Missed comment that needed to be removed
* initial work
* got to CreateHeap
* d_a_obj_lv6bemos almost equivalent
2025-07-15 23:05:04 +03:00
hatal175
cd99fa788c
d_a_obj_wooden_statue OK ( #2532 )
2025-07-13 19:38:49 -07:00
YunataSavior
9c48ec0905
Major npc wrestler cleanup ( #2531 )
2025-07-13 18:08:32 +03:00
TakaRikka
ac0c208cad
cstaF / obj_rope_bridge done, cleanup obj_dust ( #2497 )
...
* d_a_cstaF done
* d_a_obj_rope_bridge done
* obj_dust
* e_ga done
2025-06-24 00:40:16 +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
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
TakaRikka
372d782282
d_a_b_gg equivalent ( #2478 )
...
* b_gg equivalent
* clean up b_gg
* cleanup float literal
2025-06-07 17:37:27 +03:00
Max Roncace
3c2a99e701
d_a_mg_fish matching ( #2450 )
2025-05-22 16:22:16 +03:00
YunataSavior
fe0c894daa
Used dbg rom to fix some mismatched functions in d_a_ep ( #2442 )
2025-05-16 15:59:12 +03:00
soruh
885981cd0b
d_a_cstatue Matching ( #2419 )
...
* d_a_cstatue
* fix includes in d_com_inf_game
* remove todos
* create daCstatue_TYPE enum
* name fields and add enums
* fix procCopyRodSwingInit
* apply suggestions
2025-05-05 19:56:03 +03:00
LagoLunatic
f891887626
d_stage cleanup ( #2392 )
2025-04-13 20:54:57 -07:00
hatal175
c7eb18a8bd
Work on d_a_npc_taro ( #2386 )
2025-04-10 16:42:52 -07:00
hatal175
12d44903cd
daPeru_c equivalent ( #2356 )
2025-03-28 23:55:32 -07:00
LagoLunatic
4dc0cd9d09
Debug version now builds OK and all_source compiles ( #2343 )
...
* Fix missing arg to JUT_ASSERT
* Fix some MWCC version diff errors
* Compile m_Do_ext, d_demo, actor_mng
* Add VSCode task to quickly switch between versions
* Unlink magLift for debug
* Update the hash of the debug dol
The old cbea5fa... hash here was for the dol generated by the alf2dol.py script, which produces incorrect alignment.
The dol with the new hash can be obtained by using `dtk elf2dol` to convert the debug .alf file to a dol.
The DOL now builds OK.
* Fix all debug REL dtor splits
All RELs now also build OK, meaning `ninja build/ShieldD/ok` now succeeds.
* Add genMessage declarations to all HIO subclasses
* Fixing more compilation errors
* m_Do_mtx 100% on debug
Cannot be linked due to weak function name mangling?
* Improve various matches
* Fix all remaining compilation errors
* Fix new compilation errors from main
* Fix retail regression
* Link f_pc_profile_lst
2025-03-22 18:00:51 -07:00
Caroline Madsen
3ad60c1b17
f_op_actor_mng matching ( #2325 )
2025-03-12 15:57:14 -07:00