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
Luke Street
29c96f5c65
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
Jeffrey Crowell
147b4bdb97
now it links (except for no main!)
2026-02-14 15:55:43 -08:00
Max Roncace
2ac52379df
Use default parameter values in JORMContext calls where appropriate ( #3057 )
2026-01-19 18:18:30 -08:00
Max Roncace
43eac24e2e
Use attention enums everywhere instead of integer literals ( #3044 )
2026-01-14 16:55:59 +02:00
LagoLunatic
11b713902f
Resolve all gameInfo fakematches ( #2995 )
...
* Clean up various inlines/fakematches/comments
* Copy OptRuby inline name from TWW debug
* Resolve all dEvt_control_c related fakematches, return pointer instead of reference
* Fix some more missing inline usages
2025-12-24 16:57:36 -08:00
LagoLunatic
e8c70fb18f
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
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
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
roeming
2069ffc698
rename variable in accordance with assert ( #2797 )
2025-11-12 16:45:53 -08:00
LagoLunatic
b3849f228a
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
YunataSavior
b250b6c416
npc_impal equivalent ( #2791 )
2025-11-09 18:46:24 -08:00
hev7
3984dfac31
NPC work, obj_szbridge matching ( #2757 )
...
* Some NPC work
* Fix impal
* Hopefully fix regressions in debug
* HIO work for more NPCs
* fix regressions
* obj_szbridge matching
* Fix literals
2025-10-26 13:03:16 +02:00
TakaRikka
7ef1810132
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
6ec6fce8cb
Fix JUT_ASSERT and several other macros ( #2711 )
...
* Fix JUT_ASSERT to be a nested define
* Switch names that appear in asserts to be constants instead of defines
* Replace `0` in asserts with `NULL` or `FALSE`
* Fix fpclassify
* Fix ARRAY_SIZE
* Use G_CM3D_F_INF
* More fixes for fpclassify
* Remove FLOAT_LABEL
* Remove incorrect FLAG_ON macro
* Remove UNK_BSS macro
* Silence clangd unused header warning for PCH
2025-09-28 13:11:07 -07:00
TakaRikka
5fce8ea1e1
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
TakaRikka
87069235c0
some J3D/misc cleanup ( #2628 )
...
* some j3d cleanup
* begin using uintptr_t
* j3dgraphbase cleanup
* j3dgraphanimator cleanup
2025-09-04 17:56:59 +03:00
Max Roncace
c897597fc1
Add a precompiled header for RELs ( #2597 )
2025-08-24 09:52:08 +03:00
Carco_21
d29c400394
d_a_npc_wrestler work ( #2521 )
...
* Starting work
* First few functions worked on
* Data work
* So many inlines!!!
* All sumou action functions worked on
* started demo work
* demo functions worked on
* Almost all functions worked on
* Work on some param function stuff
* all functions worked on
* Cleanup and enums
* Hopefully fixed d_a_alink breaks
* PR cleanup
2025-07-11 02:35:38 +03:00
hev7
4324a7d53e
d_a_npc_impal work ( #2449 )
...
* d_a_npc_impal work
* Address review comments
2025-05-19 23:56:11 +03:00
TakaRikka
073992df8d
some cleanup of f_pc/f_op files ( #2254 )
...
* cleanup f_pc files
* cleanup f_op files
* fix a couple f_op_actor_mng functions
* minor JSystem work
2024-11-29 18:24:26 +02:00
hatal175
731da09105
Work on daNpc_Hanjo_c ( #2225 )
2024-10-25 23:44:26 -07:00
TakaRikka
178194ccb2
switch to dtk setup ( #2203 )
...
* switch to dtk setup
* some cleanup / fixes
* cleanup d_a_alink literals
* Restore doxygen, update CI & README.md (#1 )
* Fix build image ref (#2 )
---------
Co-authored-by: Luke Street <luke@street.dev >
2024-10-10 08:29:58 -06:00