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
Lurs
292724920c
Merge branch 'wip/linkfix2' into wip/linkfix
2026-02-11 07:20:44 +01:00
roeming
81d679d207
Fix errors for msvc
...
Use less strict compiler flags instead of modifying source code
Add ugly defines so MSVC stops complaining about zero length arrays
2026-02-01 15:37:26 -08:00
Max Roncace
2ac52379df
Use default parameter values in JORMContext calls where appropriate ( #3057 )
2026-01-19 18:18:30 -08:00
roeming
37ec227b3f
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
TakaRikka
7476c5f8fb
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
d9ca13c7b5
fix functions not returning values ( #2942 )
...
* fix functions not returning values
* implement functions that should return values
2025-12-11 15:31:44 -08:00
kipcode66
aeb51cade5
Improving compatibility with standard cpp compiler ( #2920 )
...
* Improving compatibility with standard cpp compiler
* Add __REGISTER macro for non mwcc compatibility
* Fix for PR comments
* fix missing define for revolution
* Simplifying cSAngle conversion
2025-12-06 21:08:05 -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
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
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
LagoLunatic
e657d4bff4
Fix most vtable issues ( #2706 )
2025-09-27 15:35:11 -07:00
Max Roncace
783b0d9dfe
Link all oustanding US-matched TUs for JP ( #2671 )
2025-09-19 21:32:05 +03:00
Max Roncace
c897597fc1
Add a precompiled header for RELs ( #2597 )
2025-08-24 09:52:08 +03:00
LagoLunatic
e9a96dde05
Add more J3D_ASSERTs ( #2491 )
...
* Fix debug build
* Add more J3D_ASSERTs
* Move J3DShapeMtx to correct header for assert
* Add VSCode task for ninja changes_all
2025-06-19 23:41:43 -07:00
TakaRikka
1d67202ac0
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
LagoLunatic
d3d79cb0a0
Update dtk-template ( #2453 )
...
* Update dtk-template
* Fix debug build
* Fix d_event_debug includes
* Progress reports: Enable function relocation diffing (data_value)
* Fix some diffs
* Fix a few more diffs
* More fixes
2025-05-22 22:25:06 -07:00
Caroline Madsen
c01fc04c93
more misc. cleanup ( #2232 )
2024-10-31 17:36:11 -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