PJB3005
8c52a386d5
Merge remote-tracking branch 'decomp/main' into 26-02-27-pjb-dev-2
2026-03-02 12:36:59 +01:00
Luke Street
4df8ccc871
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
PJB3005
3750e7cfee
Merge remote-tracking branch 'origin/main' into 26-02-27-pjb-dev-2
2026-03-01 15:08:52 +01:00
Luke Street
3b8300d0d2
Merge decomp/main into dusk
...
Merges 44 upstream commits from zeldaret/tp decomp/main.
Conflict resolutions:
- .github/workflows/build.yml: keep deleted (not needed for PC port)
- README.md: keep PC port README
- J3DAnimation.h: keep OFFSET_PTR macro + add upstream forward decl
- J3DModelLoader.h: keep BE(u32) mBlockNum + add field_0x1c
- d_com_inf_game.h: keep PC port inlines + add upstream declarations
- global.h: keep MULTI_CHAR macro + add FABSF macro
- JUTConsole.cpp: keep uintptr_t cast for 64-bit
- JUTDbPrint.cpp: keep PC enter_() helper + add cstring include
- JUTResFont.cpp: take upstream loop/struct improvements with BE types
- JUTCacheFont.cpp: take upstream decomp fix
- float.h: use upstream !PLATFORM_GCN guard
- d_a_npc_bouS/theB.cpp: keep MULTI_CHAR() for PC portability
- d_a_npc_henna.cpp: keep uintptr_t + use upstream var name
- d_demo.cpp: keep near_/far_ field renames for PC
- d_resorce.cpp: keep uintptr_t + fix var name to res
- d_s_room.cpp, m_Do_graphic.cpp: keep dusk includes + add cstring
- m_Do_main.cpp: keep JHIComPortManager + use JAS_GLOBAL_INSTANCE_INIT
- angle_utils.h: remove redundant types.h include
2026-02-28 13:33:16 -07:00
PJB3005
b598f856b4
Make stage loading work on LE & 64-bit
2026-02-28 13:17:05 +01:00
PJB3005
449900d2bf
Fix compile with Dusk's mtx lib
...
Move Mtx33 and similar types to JMath
Rename mtx.h in decomp to _mtx.h so Aurora's header is used instead.
2026-02-24 13:15:21 +01:00
Jcw87
c6b361575e
d_jnt_col debug ( #3088 )
2026-02-11 00:05:16 -08:00
TakaRikka
ccdb3fbd2a
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
124eb12f13
m_Do_ext retail linked + debug improvements ( #3009 )
2026-01-04 17:20:35 -08:00
Max Roncace
59fa5deb80
d_particle debug improvements ( #3010 )
2026-01-02 08:24:40 -08:00
Niklas Bauer
b3803dfa74
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
798ba743a0
Work on d_cc_d debug ( #3002 )
2025-12-29 04:12:01 -08:00
LagoLunatic
b51274a3dd
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
dfa8efa97b
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
832d38999e
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
47a379e016
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
1420aa0d0d
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
TakaRikka
691aac252b
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
TakaRikka
4618e95975
kankyo / m_do_ext debug stuff ( #2759 )
...
* kankyo debug work
* finish draw packets
2025-10-28 05:55:46 +02:00
Max Roncace
df1047db33
Miscellaneous match improvements ( #2562 )
2025-07-31 02:19:46 -07:00
Max Roncace
12e6780c19
Minor d_a_alink fixes ( #2534 )
2025-07-15 23:00:01 +03:00
hatal175
a193071d9c
Various cleanups and matches ( #2530 )
2025-07-12 13:57:59 -07:00
TakaRikka
e65e571498
alink data cleanup ( #2397 )
2025-04-16 23:03:00 +03:00
Max Roncace
f567f12906
d_a_bg_obj almost matching ( #2382 )
2025-04-08 18:20:21 -07:00
LagoLunatic
4e30ad564a
Debug JStudio fix + match one retail func ( #2378 )
...
* Fix debug build
* Minor fixes
* Match daAlink_c::getDemoLookActor
* Fix JStudio paths in ShieldD splits
* Fix JStudio not compiling on debug
* Fix JStudio not compiling on retail, add fake header
2025-04-06 17:57:52 -07:00
LagoLunatic
0ff06d2974
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
TakaRikka
eda175afc8
copy dolsdk2004 to tp / b_bh + e_mb done ( #2299 )
...
* move dolsdk2004 over
* cleanup some temp work
* finish and cleanup gf
* b_bh done
* d_a_e_mb done
2025-02-10 21:20:42 +02:00
TakaRikka
3cc6173593
all d_a_alink functions attempted ( #2239 )
...
* more work on alink
* alink wip
* little more work
* setEyeMove
* 14 left
* auto ground hit
* all d_a_alink functions attempted
2024-11-09 05:09:36 -05:00
TakaRikka
52f299456c
alink_grab done ( #2234 )
...
* work on alink grab
* some grab work
* grab almost done
* finish alink grab
* alink_wolf mostly done
* fix cLib_minMaxLimit
* alink guard mostly done
* extract some embedded assets
* extract grass data. wip, alignment wrong
2024-11-03 06:47:23 -05:00
TakaRikka
2f689ced90
work on d_camera / d_ev_camera ( #2170 )
2024-06-25 08:34:59 -06:00
TakaRikka
de168d1260
d_a_nbomb mostly done ( #2162 )
...
* first pass of nbomb
* some nbomb doc
* remove asm
2024-05-29 07:44:15 -06:00
Pheenoh
7154ac08e1
d_a_e_fz work, doxygen revamp ( #2127 )
...
* initial freezard actor struct + setActionMode OK
* daE_FZ_Draw
* setReflectAngle
* mBoundSoundset
* daE_FZ_Execute & execute
* demoDelete
* daE_FZ_Delete & _delete
* CreateHeap
* useHeapInit
* cc_set
* mtx_set
* action WIP
* way_gake_check
* executeRollMove
* executeMove
* draw WIP
* executeDamage
* checkpoint
* create
* checkpoint
* daE_FZ_c::executeWait
* checkpoint
* daE_FZ_c::damage_check almost done
* rm asm
* rm headers
* setup_profile WIP + doxygen update
* fix merge issues
* docs fix?
* fix2
* doxygen updates
* setup g_profile_E_FZ, profile setup script WIP
* update github actions
* update progress.md
2024-04-12 00:10:30 -06:00
TakaRikka
d14757be50
d_a_e_yd_leaf and d_a_e_ph done ( #2070 )
...
* d_a_e_yd_leaf done
* d_a_e_ph OK
* remove asm
* some e_ph doc
* match dBgS_Acch, fix f_op_actor_mng weak funcs
* dBgS_Acch done
* cleanup dBgS Chk TUs
* d_a_obj done
2024-02-13 11:21:57 -07:00
TakaRikka
8b4808da8a
almost all of dolphin matched ( #2036 )
...
* TRK full match
* remove trk asm
* ar done
* cleanup some dolphin headers
* more dolphin cleanup
* cleanup / GD fully matched
* almost all of GX fully matched
* GX / Mtx full matched
* most of OS done
* pad done
* most of VI
* remove asm
* forgot couple vec funcs
* couple JUtility matches
2024-01-20 02:22:19 +02:00
hatal175
ff6d09d6ae
Work on d_a_mg_fshop ( #2006 )
2023-12-18 01:24:15 +02:00
TakaRikka
7d0a02de52
work on daAlink horse, hvyboots, cut ( #1981 )
...
* work on alink_cut, alink_horse, alink_hvyboots
* remove asm
2023-11-08 15:52:54 +02:00
TakaRikka
6601c9d5e1
d_a_andsw2 OK, d_a_player / d_a_alink cleanup, d_a_alink_hook mostly done ( #1957 )
...
* d_a_andsw2 OK
* d_a_player cleanup, d_a_alink cleanup and work on d_a_alink_hook
* remove asm
* d_kankyo_wether almost done
* some work on d_kankyo_rain
2023-10-11 01:12:08 -07:00
Jcw87
f1794c2715
m_Do_mtx ( #1956 )
2023-10-06 03:19:54 -07:00
TakaRikka
2a67e0a8ba
setup dolphin VEC/MTX function defines ( #1903 )
...
* setup VEC function defines
* setup MTX function defines
2023-09-02 16:38:08 +03:00
Jcw87
e5738816c6
d_file_select::dFile_select3D_c ( #1899 )
2023-08-27 21:09:20 -06:00
TakaRikka
0e293608ac
obj_magLiftRot mostly done, obj_suisya / obj_tgake OK ( #1895 )
...
* obj_magLiftRot mostly done, obj_suisya / obj_tgake OK
* remove asm
2023-08-24 12:05:11 +03:00
Pheenoh
1f1ebc9c3f
m_Do_mtx ( #1893 )
...
* m_Do_mtx
* fix author
* rm dummy file
2023-08-22 06:20:21 +03:00
Pheenoh
f9380b3e05
d_a_obj_carry work, SETUP_ACTOR macro, header cleanup ( #1885 )
...
* d_a_obj_carry work, SETUP_ACTOR macro
* rm headers, add script
* progress
* macro rename, consistent spacing
2023-08-16 12:07:52 -07:00
Jcw87
75530439b5
d_drawlist ( #1881 )
2023-08-14 07:08:32 +03:00
Pheenoh
63fc74af79
d_file_select work + misc changes ( #1873 )
...
* setup TU
* JASResArcLoader OK
* d_a_obj_stoneMark work
* some funcs in d_a_obj_stoneMark
* many changes
* quat, d_a_obj_stone, d_a_alink, fix python script, tidy makefile
* d_file_select functions + pr cleanup
* match many dfile_select_c methods
* m_Do_main OK
* selFileWakuAnm & bookIconAnm
* selCopyFileWakuAnm & copyBookIconAnm
* dataDelEffAnm & dataCopyEffAnm
* selectDataBaseMoveAnmInitSet & selectDataBaseMoveAnm
* dataSelectIn
* _move & dataSelectInit
* match a few more
* comment
* J2DPicture::drawTexCoord
* draw_function
* dScnPly_Create + fix typing on request_of_phase_process_fn
* checkpoint
* checkpoint
* checkpoint
* checkpoint 2 (fixed)
* dFile_select_c::dataSelectAnmSet
* dFile_select_c::selectDataOpenMove
* dFile_select_c::copySelMoveAnmInitSet
* fix brightcheck issues
* rm comments, fix status update
* small mod to pr template
2023-08-10 03:57:49 -06:00
hatal175
a35a429de0
d_event_manager OK, d_kankyo rain WIP ( #360 )
...
* d_event_manager OK, d_kankyo rain WIP
* Match createTimg
2023-07-03 13:04:51 -06:00
Tal Hayon
f46b5d3879
Work on d_a_mirror
2023-06-30 19:29:50 +03:00
Jcw87
337085a0fa
d_menu_collect
2023-06-26 18:58:11 -07:00
hatal175
309caec3f2
Work on d_resorce, d_vibration, d_tresure and others ( #347 )
...
* Work on d_resorce
* Work on d_a_tag_TWgate
* Work on d_meter_map
* d_tresure OK
* Work on d_vibration
* Work on d_a_npc
* Work on d_a_npc
* Work on d_a_npc
2023-06-19 14:39:09 -06:00
hatal175
1cf9a3a1b6
work on d_a_npc, d_a_npc_ash, d_a_tag_evtarea ( #345 )
...
All credit goes to randomsalience
2023-06-06 11:32:17 -06:00