PJB3005
199f2da4e7
Move TP-specific OSReport functions elsewhere
2026-03-02 13:47:19 +01:00
Luke Street
4df8ccc871
Reorganize library code into libs/ ( #3119 )
...
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}
* Update configure.py and project.py for new libs structure
* Refactor `#include <dolphin/x.h>` -> `<x.h>`
* Remove `__REVOLUTION_SDK__` forwards from dolphin
* Fix dolphin/ references in revolution
* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`
* Always build TRK against dolphin headers
* Resolve revolution SDK header resolution issues
2026-03-01 14:35:36 -08:00
Luke Street
6e748ac283
More GCC compatibility/warning fixes ( #3118 )
...
* Wrap >4-char literals in a MULTI_CHAR macro
Modern compilers do not support CW's non-standard behavior with
>4 char literals. We can, however, use a constexpr function to
compute the u64 values directly. This leaves <=4 char literals
unchanged.
* Replace non-pointer usages of NULL with 0
* Define NULL to nullptr on C++11 and above
* Fix more -Wpointer-arith and -Woverflow warnings
* Replace u32/s32 with uintptr_t/intptr_t where appropriate
* JSUOutputStream: Overload all standard int types
2026-02-28 20:19:17 -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
Jcw87
0440061c10
m_Do debug ( #3052 )
...
* m_Do debug
* m_Do wii data
2026-01-18 17:59:57 -08:00
Jcw87
86729e6597
m_Do_main debug ( #2965 )
2025-12-19 21:22:03 +02: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
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
4a029d7c16
Remove unnecessary externs ( #2705 )
2025-09-27 15:30:54 -07:00
Max Roncace
c897597fc1
Add a precompiled header for RELs ( #2597 )
2025-08-24 09:52:08 +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
Pheenoh
7154ac08e1
d_a_e_fz work, doxygen revamp ( #2127 )
...
* initial freezard actor struct + setActionMode OK
* daE_FZ_Draw
* setReflectAngle
* mBoundSoundset
* daE_FZ_Execute & execute
* demoDelete
* daE_FZ_Delete & _delete
* CreateHeap
* useHeapInit
* cc_set
* mtx_set
* action WIP
* way_gake_check
* executeRollMove
* executeMove
* draw WIP
* executeDamage
* checkpoint
* create
* checkpoint
* daE_FZ_c::executeWait
* checkpoint
* daE_FZ_c::damage_check almost done
* rm asm
* rm headers
* setup_profile WIP + doxygen update
* fix merge issues
* docs fix?
* fix2
* doxygen updates
* setup g_profile_E_FZ, profile setup script WIP
* update github actions
* update progress.md
2024-04-12 00:10:30 -06:00
TakaRikka
907774de02
remove "duplicated" inlines ( #2099 )
...
* fix f_op_actor_mng inlines
* fix f_pc inlines
* fix d_a_alink weak func signatures
* fix d_com_inf_game inlines
* fix some more inlines
* fix rest of player inlines
* m_Do / JSystem inlines fixed
* fix upstream changes
2024-03-19 13:31:53 +02:00
TakaRikka
8b4808da8a
almost all of dolphin matched ( #2036 )
...
* TRK full match
* remove trk asm
* ar done
* cleanup some dolphin headers
* more dolphin cleanup
* cleanup / GD fully matched
* almost all of GX fully matched
* GX / Mtx full matched
* most of OS done
* pad done
* most of VI
* remove asm
* forgot couple vec funcs
* couple JUtility matches
2024-01-20 02:22:19 +02: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
Jcw87
4346df764b
Remove #includes from headers ( #334 )
...
* add "global.h" to files that use it
* add MSL_C includes to files that use them
* remove dolphin includes from headers that don't need them
* remove JSupport includes from headers that don't need them
* remove JKernel includes from headers that don't need them
* remove JUtility includes from headers that don't need them
* remove J3D includes from headers that don't need them
* remove J2D includes from headers that don't need them
* remove JAudio2 includes from headers that don't need them
* remove Z2AudioLib includes from headers that don't need them
* remove JMessage includes from headers that don't need them
* remove JParticle includes from headers that don't need them
* remove SComponent includes from headers that don't need them
* remove dol includes from headers that don't need them
* sort includes
2023-05-12 12:10:14 -07:00
jdflyer
35ef317e15
m_Do cleanup and c_dylink process names
2023-02-13 21:51:27 +00:00
Tom Overton
ad724f00cb
Fix some include capitalization
2022-09-03 02:58:36 -07:00
TakaRikka
513cf1a414
d_menu_save / pane_class / rename some data ( #205 )
...
* work on fop actor / actor mng, daalink, d_a_obj_item
* d_a_title mostly decompiled
* daalink / d_event / JMessage / dmsg_out_font work
* msg_scrn_base / msg_scrn_boss
* some work on mDo machine, d_menu_save, d_tresure, and various
* remove asm
* progress
* finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data
* rename more data
* remove asm / progress
* match all of d_pane_class
* fixes / some dKankyo doc
2022-07-04 21:21:57 +02:00
TakaRikka
d0ff1398f0
format
2022-06-01 04:23:39 -07:00
TakaRikka
d4fb8a31de
m_Do / d_a_npc work
2022-06-01 03:49:32 -07:00
lepelog
2691e3bddd
mDoDvdThd OK ( #139 )
...
* mDoDvdThd
* cleanup
2021-08-16 20:56:19 -04:00
TakaRikka
f5a4c44812
move / fix bunch of stuff ( #133 )
...
* fix some class structures / d_event wip
* d_event wip
* move gamepad stuff
* move m_Do_main
* move d_bomb / partial m_Do_reset
* format
* remove asm
* add Z2SoundID enum
* move some Z2 classes
* fix
* move more Z2 stuff
* fix fopAc_ac_c more
2021-06-12 18:22:36 -04:00
Julgodis
5d12345a03
moved strings + decompile simple store functions
2021-04-10 07:02:38 +02:00
Julgodis
9bc8bce611
auto decompile more functions
2021-04-08 21:05:48 +02:00
Julgodis
cad608c551
demangle data-symbols
2021-04-08 01:47:05 +02:00
Julgodis
85bd045193
building RELs
2021-04-06 18:00:35 +02:00
Julgodis
9325c67c63
__sinit and progress script update
2021-04-01 02:07:58 +02:00
Julgodis
b6eed5208d
.dead section fix
2021-03-31 23:22:38 +02:00
Julgodis
2404fb33c7
re-generate with bug fixes
2021-03-30 01:58:08 +02:00
Julgodis
9335ce5119
clang-format
2021-03-29 00:10:25 +02:00
Julgodis
1e95d29b60
dol2asm OK
2021-03-28 22:49:05 +02:00
lepelog
ce8319486b
Fix symbol names ( #118 )
...
* checkpoint
* checkpoint
* rename f_pc
* checkpoint
* small symbol rename and fix some fpc symbols
* remove unneeded entries from ldscript
* simplify ok check, update docker container
Co-authored-by: Pheenoh <pheenoh@gmail.com >
2021-03-15 02:12:44 -04:00
Pheenoh
0267924dc1
delete variables.h
2021-02-20 23:11:44 -05:00
Pheenoh
8e3d116bb1
remove functions.h
2021-01-31 15:33:34 -05:00
jdflyer
806630e336
m_Do_audio
2021-01-21 21:47:28 -07:00
Erin Moon
e71b327988
Z2AudioLib: split ( #64 )
...
* Z2AudioLib: split
- Z2SpeechMgr2
- Z2Audience
- Z2EnvSeMgr
- Z2SoundMgr
- Z2AudioMgr
- Z2Creature
- Z2SoundStarter
- Z2WolfHowlMgr
- Z2SoundObject
- Z2SoundObjMgr
- Z2SoundInfo
- Z2AudioArcLoader
- Z2AudioLib
- Z2SoundHandles
- Z2LinkMgr: finish splitting
- Z2SceneMgr: finish splitting
- Z2SeqMgr: finish splitting
* merge fix
Co-authored-by: Pheenoh <pheenoh@gmail.com >
2021-01-06 21:00:42 -05:00
lepelog
0eec99db4d
Split SComponent ( #45 )
...
* split c_math
* split c_angle
* split c_API_controller_pad
* split c_API_graphic
* split c_bg_s_chk
* c_bg_s_gnd_chk split
* more c_bg split
* split c_cc_d
* delete asm
* split c_cc_s
* split c_lib
* split c_m2d and c_m3d_g_aab
* split c_m3d_g_cir
* split c_m3d_g_cps
* split rest of c_m3d_g
* split c_m3d
* split c_malloc
* split c_request
* split c_sxyz
* split and partly decompile c_xyz
* format
* c_angle.h
* begin c_angle decomp
* c_angle
* progress adding stub classes for SComponent
* more c_m3d
* remove some asm and format
* more m3d headers
* more c_angle decomp
* c_lib headers
* add public to classes
* fix csXyz member names
* c_sxyz partly OK
* move Zero csXyz to c_sxyz header
* c_API_graphic
* delete some unused asm
* move math extern data, decompile some functions
* delete unused asm
* fix duplicated c_angle.h
* fix an inlined function name, add more inlined functions for c_angle.h (currently unused)
* format
Co-authored-by: Pheenoh <pheenoh@gmail.com >
2021-01-06 20:04:53 -05:00
Erin Moon
66626304fa
decomp some small files, do some cleanup ( #42 )
...
* remove leftover asm: JSUList.s
* d_save_init: decomp
* JMath/random: decomp
* J3DUDL: fixup label
* JAUClusterSound: decomp
* c_API_controller_pad: decomp, elaborate globals/types
* clang-format
* don't add guards to functions.h
* semantic merge of m_cpadInfo stuff
* fix undef symbols
Co-authored-by: Pheenoh <pheenoh@gmail.com >
2021-01-03 01:04:15 -05:00
Erin Moon
d369a7e7e6
m_Do_Reset: reset, callback not statics (ty @notyourav) ( #50 )
...
Co-authored-by: Pheenoh <pheenoh@gmail.com >
2021-01-02 10:39:15 -05:00
Erin Moon
8e1eeaddce
JUTXfb: decompile ( #38 )
...
* m_Do_Reset: split and (some) decomp
decompiles:
- my_OSCancelAlarmAll()
- destroyVideo()
* mDoRst::reset(): decompile, plus some supporting code
* split DVD* functions to dvd.h
* mDoRst::resetCallBack(): decompile
* JUTXfb: split
* JUTXfb: decompile (except for almost-matching ctor)
Elaborates JUTVideo and some related stuff.
Decompiles the following functions:
- JUTXfb::initiate()
- JUTXfb::createManager()
- JUTXfb::common_init()
- JUTXfb::destroyManager()
- JUTXfb::~JUTXfb()
- JUTXfb::JUTXfb(): *almost* matching up to regalloc
* clang-format and extern label modifications
Co-authored-by: Pheenoh <pheenoh@gmail.com >
2020-12-29 18:01:48 -05:00
Pheenoh
715ba1304a
run clang-format
2020-12-26 11:31:49 -05:00
Erin Moon
50f8971ec3
m_Do_Reset: OK ( #35 )
...
* m_Do_Reset: split and (some) decomp
decompiles:
- my_OSCancelAlarmAll()
- destroyVideo()
* mDoRst::reset(): decompile, plus some supporting code
* split DVD* functions to dvd.h
* mDoRst::resetCallBack(): decompile
2020-12-25 20:59:52 -05:00
unknown
c5e2415773
ok
2020-08-29 17:54:55 -04:00