Commit Graph

2281 Commits

Author SHA1 Message Date
Jeffrey Crowell fcb2ab00e1 Fix linker errors.
Stubbing out all OS* functions to stubs.cpp, these will likely have to
be replaced with the operating system's primitives for
locking/heaps/threads/etc.

Moved some generic globals into globals.cpp, not sure where they're
actually to be used.

Stub DSP functions

Stub JSUMemoryOutputStream, JORServer, Z2Audio

mDoExt stubs

add memcpy

add some more stubs, add extras c++ mangled functions

add extras.cpp

AR/AQ stubbing

stub DVD

stub CARD

more stubs, more extras

add missing mtx functions to dusk file

finish mtx

stub GX

KPAD and LC, also do pragma marks for better visualization

finish mtx, add a few more stubs

gf/wpad/vi

translate some matrix math from ppc to C

jorserver/debugpad/fap/dmsgobject

add m_Do_ext functions from debug block to separate file

make small janges to JSystem, does this need upstreaming

reorg DVD stubs

reorganize stubs by mark
2026-02-01 15:36:56 -08:00
kipcode66 cb7d9787cc get dusk past compilation and into linking 2026-01-15 19:24:39 -05:00
kipcode66 d46a8e7ea1 Merge branch 'main' of https://github.com/zeldaret/tp into compile 2026-01-13 21:53:54 -05:00
Max Roncace c0e0bbaaf3 Clean up HIO for TUs using HIOParam/Param_c/HIO_c pattern (#3043) 2026-01-13 14:58:15 -08:00
kipcode66 235cb9a9ad fix va_list (#3042) 2026-01-13 17:51:14 +02:00
Jcw87 9a889bfcf8 JAWWindow (#3039) 2026-01-13 17:50:47 +02:00
Jcw87 335349693d ShieldD: integer division by 255 is not a relocation (#3038) 2026-01-13 17:49:31 +02:00
Jcw87 1a65a6bbbd J3D debug (#3037)
* J3DGraphBase debug

* J3DGraphAnimator debug

* J3DGraphLoader debug
2026-01-13 17:49:09 +02:00
kipcode66 dd03bf861f standard compiler compatibility changes (#3040)
* move math to cmath

* replace stdarg to cstdarg

* change stdint to stdint.h

* minor fixes

* change stdio to cstdio

* change stdlib to stdlib

* renamed ctype to cctype

* fix missing argument for UNSET_FLAG
2026-01-13 00:48:25 +02:00
YunataSavior 53aaed17c0 obj_pumpkin dbg equiv (#3036) 2026-01-12 22:18:58 +02:00
roeming a2e8347e8d d_a_obj_cowdoor debug matching (#3031)
* d_a_obj_cowdoor debug work

* fix formatting
2026-01-12 22:17:56 +02:00
roeming 6cc5e6fcca attempt 2 at d_a_cow debug work (#3030)
* transfer cow progress

* fix symbol names

* Fix shield names

* typo

* remove predefined macro
2026-01-12 22:17:09 +02:00
YunataSavior 24c08d322e e_rd, npc_ks dbg work (#3029)
* Partial e_rd, npc_ks dbg work

* More e_rd matching

* e_rd fixes and dbg ctor matched

* obj_ita dbg equiv

* e_st dbg almost equiv

* Some obj_ladder dbg work

* dbg e_rd PR comments

* Further e_rd dbg clangd fixes
2026-01-11 19:49:05 -08:00
Max Roncace 6a59c5231f Fix errors when building with -ipa program (#3035) 2026-01-11 19:25:26 -08:00
Max Roncace 47daf0b4ed Add __start.c for Wii builds (#3034) 2026-01-11 19:24:02 -08:00
hatal175 db8ae465ac Work on c_damagereaction and f_ap_game debug (#3033) 2026-01-11 19:22:57 -08:00
Max Roncace decb0c5437 d_camera debug almost matching (#3032) 2026-01-11 19:20:17 -08:00
Jcw87 2dd7e2ea62 J2DGraph debug (#3028)
* J2DGraph debug

* J2DGraph debug
2026-01-11 19:00:04 -08:00
Jcw87 6e76f12dd3 std-vector debug (#3027) 2026-01-10 23:39:15 +02: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
hatal175 2d4a8ee46a Work on d_debug_camera (#3024) 2026-01-08 07:53:40 -07:00
Jcw87 0e7b42e9ea linklist debug (#3025) 2026-01-08 07:52:18 -07:00
Jcw87 2b52bc59d0 JMath debug (#3023) 2026-01-07 19:53:53 +02:00
Jcw87 a313c26f0b JFWDisplay debug (#3022) 2026-01-07 19:52:16 +02:00
Max Roncace fd863582d6 f_pc mostly linked for Wii/Shield (#3015) 2026-01-06 04:45:15 -08:00
Max Roncace 3679e7abab Misc debug include/class order improvements + link remaining Z2AudioLib TUs (#3014)
* Improve dolzel.pch ordering

* Improve JSystem include order

* Various class ordering fixes

* Link remaining Z2AudioLib TUs

* Fix some symbols in Shield and weak functions in ShieldD
2026-01-06 04:38:40 -08:00
TakaRikka 013c6fb12c Merge https://www.github.com/zeldaret/tp 2026-01-05 13:46:27 -08:00
Jcw87 5b987084ea JUtility debug (#3020) 2026-01-05 04:07:04 -08:00
Max Roncace e15ba03caa Link d_a_npc and d_a_npc_cd2 (#3019) 2026-01-05 03:58:09 -08:00
Jcw87 22dc7a37db fix functions not returning values (#3018) 2026-01-05 03:55:35 -08:00
Jcw87 767e3ba17e Z2AudioLib debug (#3016) 2026-01-05 03:54:00 -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
Jcw87 deb7bead20 JKernel debug (#3012) 2026-01-04 17:22:56 -08:00
roeming 1400687731 d_a_e_rdy debug work (#3011)
* debug work for d_a_e_rdy

* remove unused fake function

* fix regressions

* rename variable

* Fix version diffs of angle adding
2026-01-04 17:22:04 -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
TakaRikka 1f391dc5bd jgadget debug improvements (#3000) 2025-12-27 15:24:27 -07:00
Jcw87 038b8fd62f JAudio2 debug (#3006) 2025-12-27 15:23:15 -07:00
TakaRikka ce41820bf0 d_a_door_spiral mostly done (#3007) 2025-12-27 13:46:46 -07:00
YunataSavior 1668a01ab9 Enable unk_0x4d38 for VERSION_SHIELD (#3005) 2025-12-26 17:52:14 -08:00
YunataSavior 6e3b22adee Debug d_a_e_ym (#3003) 2025-12-26 16:23:14 -08:00
LagoLunatic 09280ae00b Fix optimization flag for Shield (#3004)
* Fix optimization flag for Shield

* Minor debug work

* Fix NULL asserts
2025-12-26 16:20:21 -08:00
roeming 4ebf9fac9f match most of d_a_e_wb debug (#3001)
* match most of d_a_e_wb debug

* Move over to using new `UNUSED` macro
2025-12-26 14:56:46 -08:00
roeming ec3f92b8bf match d_a_e_mk debug (#2999)
* match d_a_e_mk debug

* Fix platform guard
2025-12-26 14:56:15 -08:00
Jcw87 bae6d9da2d JAudio2 debug (#2996) 2025-12-26 13:20:53 -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 229527daf7 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