PJB3005
3a0b45c508
Switch to Aurora headers for GX/VI
...
Replace GXSetArray() with GXSETARRAY() taking in size everywhere
Fix a ton of structs/enums being referred to with underscore name.
2026-03-02 12:00:53 +01:00
Jasper St. Pierre
860e29b265
misc cleanup
2026-03-01 15:37:08 -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
Luke Street
32c32a73ca
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
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
PJB3005
0c16a748c3
Make stage loading work on LE & 64-bit
2026-02-28 13:17:05 +01:00
PJB3005
be84ab7b0a
Disable the audio engine for now
2026-02-27 23:54:50 +01:00
Pieter-Jan Briers
f54661f878
Fix MORE wrong forward declares (struct/class) ( #3110 )
2026-02-24 14:20:45 -08:00
PJB3005
08ab1e1106
Fix wrong forward declares (struct/class)
...
Requires removing the now-matching symbols from jsystem_stubs.cpp
2026-02-24 16:58:12 +01:00
PJB3005
defe78c4a2
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
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
Lurs
22a86deb76
First pink screen!
2026-02-21 22:15:39 +01: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
kipcode66
38c854bb01
Merge remote-tracking branch 'decomp/main' into compile
2026-01-26 18:11:18 -05: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
kipcode66
63f8079212
Merge commit '86fddd48d54f5b8fb126cf71f130a4733c8f0ded' into compile
2026-01-23 17:04:18 -05: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
kipcode66
d46a8e7ea1
Merge branch 'main' of https://github.com/zeldaret/tp into compile
2026-01-13 21:53:54 -05: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
TakaRikka
013c6fb12c
Merge https://www.github.com/zeldaret/tp
2026-01-05 13:46:27 -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
Pheenoh
62b44f948c
Merge branch 'main' of github.com:pheenoh/dusk
2025-12-21 15:42:42 -07: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
TakaRikka
57dd1ff159
Merge branch 'main' of https://github.com/zeldaret/tp
2025-12-06 21:12:18 -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
TakaRikka
05435b4593
Merge branch 'main' of https://github.com/zeldaret/tp
2025-12-05 21:14:19 -08:00
kipcode66
138b15eecf
updating variable argument headers & minor fixes for register statement and header file placement
2025-12-05 23:01:52 -05: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