summaryrefslogtreecommitdiff
path: root/include/dolphin
AgeCommit message (Collapse)Author
2026-03-01Reorganize library code into `libs/` (#3119)Luke Street
* 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-02-28More GCC compatibility/warning fixes (#3118)Luke Street
* 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-01-24general cleanup, d_menu_quit / d_a_obj_testcube mostly done, ↵TakaRikka
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-05Add guards around std library headers (#3013)kipcode66
* 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
2025-12-23MSL_C header cleanup (#2988)TakaRikka
* msl_c header cleanup * math header cleanup * fix rest of shieldD configs * cleanup cflag configs a bit * fix shield build
2025-12-16copy homebuttonLib from oot-vc (#2960)TakaRikka
* initial copy of hbm from sdk_2009-12-11 * some more nw4hbm cleanup * nw4hbm db mostly done * nw4hbm snd copied from oot-vc * nw4hbm ut copied * nw4hbm lyt copied * nw4hbm copied, mostly matching usa 1.0 * setup nw4hbm debug define * fix HBMDataInfo struct * add rvl sdk card lib
2025-12-06Improving compatibility with standard cpp compiler (#2920)kipcode66
* 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-06Various debug conditional compilation cleanup (#2915)Max Roncace
* Global: Define DEBUG as 0 if not already defined * Clean up DEBUG-guarded code
2025-11-30project cleanup (#2895)TakaRikka
* 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-18npc_gnd finished, movie_player almost done (#2818)TakaRikka
* movie_player mostly done * d_a_npc_gnd done * fix fshop debug match
2025-10-19m_Do_main / f_ap_game / f_op_actor debug work and misc (#2744)TakaRikka
* 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-09-26Misc matches and fixes (#2703)LagoLunatic
* Match mDoExt_morf_c::getPlayMode * Misc cleanup * Fix actor cull spheres * Match daPy_py_c::getLastSceneSwordAtUpTime, JUTGamePad::testTrigger * Fix improper demangling of dBgS_SphChk::SetCallback * Fix d_camera rangef weak func order * Match more alink_wolf funcs
2025-08-10e_hb equivalent / some pal work (#2577)TakaRikka
* some pal work * e_hb equivalent * update config
2025-03-30Fix dPnt struct (#2361)LagoLunatic
* Fix dPnt struct * Fix Vec warning
2025-03-22Debug version now builds OK and all_source compiles (#2343)LagoLunatic
* 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-02-10copy dolsdk2004 to tp / b_bh + e_mb done (#2299)TakaRikka
* move dolsdk2004 over * cleanup some temp work * finish and cleanup gf * b_bh done * d_a_e_mb done
2025-01-26Fix spurious differences when using `ninja diff` (#2294)LagoLunatic
* Fix spurious differences when using ninja diff * Fix some clangd errors/warnings
2025-01-16wip debug / pal building, b_gm mostly done (#2285)TakaRikka
* b_gm mostly done * wip debug / pal building * fix configure.py * fix some debug macros / flags
2025-01-14Fix various issues in TUs marked `Equivalent` (#2286)LagoLunatic
2024-12-29Remove duplicate GXNormal1x16 (#2273)hatal175
2024-12-29d_stage linked and one function in m_do_ext matched (#2272)Trueffel
2024-12-29various matches / cleanup (#2271)TakaRikka
* cleanup various TUs * checkpoint * d_attention doc
2024-12-24kankyo mostly done (#2269)TakaRikka
* work on kankyo * some more kankyo work * kankyo almost done * kankyo mostly done * first cleanup pass * some more renaming * rename a bunch of kankyo vars * fix regression
2024-11-03JParticle mostly done (#2235)Caroline Madsen
2024-11-03alink_grab done (#2234)TakaRikka
* work on alink grab * some grab work * grab almost done * finish alink grab * alink_wolf mostly done * fix cLib_minMaxLimit * alink guard mostly done * extract some embedded assets * extract grass data. wip, alignment wrong
2024-10-24JAudio2 and Z2AudioLib work (#2223)Caroline Madsen
* JAudio2 and Z2AudioLib work * check1stDynamicWave matched
2024-10-12Add clangd support for VS Code (#2207)Luke Street
* Add clangd support for VS Code * Revert accidental change
2024-10-10switch to dtk setup (#2203)TakaRikka
* 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-08-16d_particle almost finished (#2193)hatal175
* d_particle almost finished * Remove dolasm.h include from JKRDvdRipper
2024-05-05kytag8 done, kytag12/13 almost (#2146)TakaRikka
* kytag08 done * kytag13 almost, cleanup other kytags * dakytag12 mostly done * remove asm * kytag10 done * kytag01 done * kytag0 done * kytag04 done
2024-04-12d_a_e_fz work, doxygen revamp (#2127)Pheenoh
* 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-03-07d_a_shop_item, d_a_b_go, d_a_b_gos OK (#2085)TakaRikka
* d_a_shop_item OK * d_a_b_go OK * d_a_b_gos OK * remove asm * some work on d_a_b_oh / d_a_b_zant_sima * d_a_startAndGoal done
2024-03-04d_a_tbox2 done, f_op_actor_mng cleanup, cleanup fopAc_ac_c member names (#2084)TakaRikka
2024-01-24more various JSystem work (#2046)TakaRikka
* most of J3DAnmLoader done * J3D / JKernel / JUTConsole work * remove asm * fix build * dol 50%
2024-01-22some various J2D/J3D work (#2043)TakaRikka
* most of J2DPicture done * fix GXSetTexCoordGen * some j3d work
2024-01-21Fix _stack_addr to match OSInit and __OSThreadInit (#2042)hatal175
2024-01-20OSLink done (#2038)TakaRikka
2024-01-20almost all of dolphin matched (#2036)TakaRikka
* 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-13all d_ovlp_fade done (#2031)TakaRikka
* ovlp_fade / ovlp_fade2 done * ovlp_fade3 done * remove asm
2024-01-12most of TRK done / some misc work (#2030)TakaRikka
* work on d_file_sel_warning * various cleanup * attempt to fix d_gameover * event cleanup * trk work * most of TRK done * remove asm
2024-01-02kgate / d_meter_button / d_meter_haihai done, obj_ice_l wip (#2018)TakaRikka
* kgate OK, ice_l wip * d_meter_button done * remove asm * d_meter_haihai done * remove asm
2023-12-31work on J3DGD (#2017)Caroline Madsen
2023-12-25MSL_C fully matched / some SSystem cleanup/ obj_rgate OK (#2011)TakaRikka
* 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-06Some GX work (#1998)hatal175
* Some GX work * GXFrameBuf work * Import GXAttr functions and enums * Import most of GXTev * Import most of GXPixel * Import GXFifo * Import some of GXInit * Import and work on GXTransform * Import GXPerf * A little work on GXTexture
2023-11-29Import OSFont (#1995)hatal175
2023-11-27Work on OSExec, OSReboot OK (#1992)hatal175
2023-09-30J3DTevs (#1950)Jcw87
2023-09-28k_wmark / k_wpillar OK, fop actor enums / debug building (#1946)TakaRikka
* d_k_wmark / d_k_wpillar OK * make debug buildable / add assert functionality * add more fop actor enums * remove asm
2023-09-02setup dolphin VEC/MTX function defines (#1903)TakaRikka
* setup VEC function defines * setup MTX function defines
2023-08-16d_a_obj_carry work, SETUP_ACTOR macro, header cleanup (#1885)Pheenoh
* d_a_obj_carry work, SETUP_ACTOR macro * rm headers, add script * progress * macro rename, consistent spacing