Luke Street
bd8cf29176
Add C versions of all ASM blocks (except THP)
2026-02-28 18:10:14 -07: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
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
PJB3005
bd4371870c
Fix FLT_EPSILON redefinition warning
2026-02-25 21:29:59 +01:00
Lurs
3b742025db
Fix MSVC compiler and linker errors
...
- Fix struct/class forward declaration mismatches (JAIAudience, JASTrack) causing different MSVC mangled names and unresolved symbols
- Add jsystem_stubs.cpp with stubs for JASHeap, JASVoiceBank, J3DShapeTable, JAUSection, JHICommBuf, HIO/HIO2, JOR
2026-02-13 23:28:47 +01:00
Lurs
292724920c
Merge branch 'wip/linkfix2' into wip/linkfix
2026-02-11 07:20:44 +01:00
Jcw87
ce8f51cbe2
JParticle debug ( #3090 )
2026-02-07 04:43:51 -08: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
TakaRikka
c9e2a73dda
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
hatal175
f6522db159
Work on c_damagereaction and f_ap_game debug ( #3033 )
2026-01-11 19:22:57 -08:00
Jcw87
32b5c96b8f
J2DGraph debug ( #3028 )
...
* J2DGraph debug
* J2DGraph debug
2026-01-11 19:00:04 -08:00
kipcode66
ea53712c30
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
Max Roncace
59fa5deb80
d_particle debug improvements ( #3010 )
2026-01-02 08:24:40 -08:00
TakaRikka
46d53ab65f
MSL_C header cleanup ( #2988 )
...
* msl_c header cleanup
* math header cleanup
* fix rest of shieldD configs
* cleanup cflag configs a bit
* fix shield build
2025-12-23 10:20:32 -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
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
TakaRikka
011b4b33b2
various Z2Audio / JAudio debug cleanup ( #2876 )
...
* some JAudio work
* audio cleanup checkpoint
* checkpoint more audio cleanup
* fix symbols
* more z2 cleanup
* fix regression
* fix build
* some fixes
2025-11-27 21:19:33 -08:00
LagoLunatic
7a6795c978
Misc fixes ( #2830 )
...
* Replace DANPCF_C_HACK with a better fakematch
* d_a_obj_item OK
* Fix ninja diff
* Misc debug/nonmatching fixes
* Fix ninja diff for PAL
* Fix bad PAL split
2025-11-19 14:10:03 -08:00
hatal175
ddd92d13b4
fvb Matching ( #2820 )
...
* fvb Matching
* J2DScreen debug work
2025-11-18 18:13:35 -08:00
hatal175
efc781e892
Various alignments to debug + matching TUs ( #2391 )
2025-04-13 11:55:52 -07:00
Caroline Madsen
c4457ede21
Various JSystem work ( #2383 )
...
* JKernel and JStudio cleanup
* JMessage cleanup
* JAudio cleanup
* JASBNKParser work
* functionvalue work
* fvb work
* J2D and J3D cleanup
* steal from tww
* J2DPictureEx mostly done
* fix build
2025-04-09 13:45:30 -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
LagoLunatic
a60b7f3e99
Fix spurious differences when using ninja diff ( #2294 )
...
* Fix spurious differences when using ninja diff
* Fix some clangd errors/warnings
2025-01-26 22:01:05 -08:00
Caroline Madsen
69c1f35ed7
JParticle mostly done ( #2235 )
2024-11-03 20:39:41 +02:00
Caroline Madsen
c01fc04c93
more misc. cleanup ( #2232 )
2024-10-31 17:36:11 -07:00
Caroline Madsen
9401af27b3
JAudio2 and Z2AudioLib work ( #2223 )
...
* JAudio2 and Z2AudioLib work
* check1stDynamicWave matched
2024-10-24 02:25:13 +03: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
hatal175
7b0a6eed76
d_particle almost finished ( #2193 )
...
* d_particle almost finished
* Remove dolasm.h include from JKRDvdRipper
2024-08-16 22:19:53 -07:00
TakaRikka
37e0e78067
d_a_e_vt mostly done ( #2158 )
2024-05-24 20:47:15 -06:00
TakaRikka
aa64f1837f
Kytag3 done ( #2149 )
...
* kytag3 done
* remove asm
* fix d_envse
2024-05-06 20:56:03 +03:00
TakaRikka
8c8f7d0ce7
d_a_tag_firewall done ( #2137 )
...
* mostly fix TVec3 ctors
* d_a_tag_firewall done
* remove asm
2024-04-21 15:27:47 +03:00
Caroline Madsen
956699083c
JAS work ( #2069 )
2024-02-11 07:29:35 +02:00
hatal175
ed25fda034
More jstudio work ( #2048 )
2024-01-25 14:50:55 -08:00
TakaRikka
6076f6184b
some various J2D/J3D work ( #2043 )
...
* most of J2DPicture done
* fix GXSetTexCoordGen
* some j3d work
2024-01-22 17:23:54 +02:00
TakaRikka
8b3a582278
MSL_C fully matched / some SSystem cleanup/ obj_rgate OK ( #2011 )
...
* cleanup SSystem files
* MSL_C fully matched
* fix build
* remove asm
* reorganize MSL_C/Runtime libs into more accurate setup
* little more cleanup
* cleanup some MSL headers
* obj_rgate OK
* remove asm
* some rgate documentation
2023-12-25 17:31:05 +02:00
hatal175
7e41c6d883
Work on J2DWindowEx ( #1979 )
2023-11-08 03:58:56 -08:00
randomsalience
001367ab87
Z2SoundObject, JAUSoundAnimator OK, work on Z2SoundHandles ( #1968 )
...
* d_a_tag_evtarea mostly done, work on d_a_npc
* work on d_a_npc_ash
* work on Z2SoundHandles
* Z2SoundObject, JAUSoundAnimator OK
* Update Progress.md
---------
Co-authored-by: randomsalience <randomsalience@gmail.com >
2023-10-26 15:41:03 +03: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
hatal175
7606a377e2
c_m3d, c_request OK. Work on Z2Audience ( #1900 )
2023-08-29 17:43:28 -06: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
hatal175
c372915a50
Work on JPABaseShape ( #1884 )
2023-08-14 10:04:01 -06:00
hatal175
0a103f01ba
JPAEmitter OK, work on d_particle ( #1874 )
...
* JPAEmitter OK + header reorganization
* libelf: silence repeated relocation warning
* Work on d_particle
2023-08-11 05:04:50 +03:00
hatal175
e77bda4a60
JPAMath OK ( #401 )
2023-08-07 09:31:06 -06:00
hatal175
bc52445bd3
dMsgScrnTree_c OK, Some JGeometry work ( #370 )
...
* Minor work on c_damagereaction and JGeomtry
* dMsgScrnTree_c OK
* dMsgScrnExplain_c OK
2023-07-16 13:09:21 -06:00
Tal Hayon
7aad5e6370
Work on JPAEmitterManager
2023-07-07 21:04:10 +03:00
TakaRikka
5d470c18ec
d_a_kytag10 almost done
2023-07-06 16:30:11 -07:00
Tal Hayon
5020e501ee
Work on dvdlow, OSTime fix and various nonmatching
2023-02-01 16:40:19 +02:00
TakaRikka
5dd956a3f5
move jasper's jsystem work over
2022-10-04 21:17:53 -07:00