summaryrefslogtreecommitdiff
path: root/include/JSystem/JMath
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-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-13standard compiler compatibility changes (#3040)kipcode66
* 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-11Fix errors when building with -ipa program (#3035)Max Roncace
2026-01-11Work on c_damagereaction and f_ap_game debug (#3033)hatal175
2026-01-07JMath debug (#3023)Jcw87
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-12d_particle debug work (#2944)Carco_21
* misc work * more work * fixed error * more work * PR cleanup * missed cleanup * error fix * wii fix
2025-12-08Improving standard compiler compatibility (#2926)kipcode66
* Adding explicit dolphin/ prefix & fix characters * Rename ShiftJIS to SJIS * Separate JASSeqReader read methods implementation between compilers. * Fix pointer.h * fix d_item_data typo * fix gcn matching issue
2025-12-07JASBNKParser OK, Z2Audience OK (#2929)LagoLunatic
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-05d_a_mg_rod 100% (#2914)LagoLunatic
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-27various Z2Audio / JAudio debug cleanup (#2876)TakaRikka
* some JAudio work * audio cleanup checkpoint * checkpoint more audio cleanup * fix symbols * more z2 cleanup * fix regression * fix build * some fixes
2025-09-04some J3D/misc cleanup (#2628)TakaRikka
* some j3d cleanup * begin using uintptr_t * j3dgraphbase cleanup * j3dgraphanimator cleanup
2025-08-11d_a_obj_gomikabe OK (#2580)hatal175
* d_a_obj_gomikabe OK * Remove unneeded include
2025-07-13Major npc wrestler cleanup (#2531)YunataSavior
2025-04-13Various alignments to debug + matching TUs (#2391)hatal175
2025-04-11Misc Matches using debug (#2388)hatal175
2025-04-08JSystem work (#2384)LagoLunatic
* object-id 100% on debug Can't be linked due to .text alignment issues? * J3DMaterialFactory and J3DMaterialFactory_v21 OK * Match dKy_bg_MAxx_proc
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-03-21Z2AudioLib work (#2339)Caroline Madsen
* Z2LinkMgr work, Z2AudioArcLoader matching * Z2SeMgr matching * Z2SpeechMgr2 almost done, Z2SoundHandles matching
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
2024-11-03JParticle mostly done (#2235)Caroline Madsen
2024-10-24JAudio2 and Z2AudioLib work (#2223)Caroline Madsen
* JAudio2 and Z2AudioLib work * check1stDynamicWave matched
2024-10-15J3D work (#2212)Caroline Madsen
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-04-04work on d_a_npc_the and d_a_npc (#2120)Caroline Madsen
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-02-11JAS work (#2069)Caroline Madsen
2024-02-03Work on Z2EnvSeMgr (#2059)hatal175
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-13Work on Z2AudioLib (#2032)hatal175
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-10-10m_Do_ext (#1958)Jcw87
2023-09-05J3DStruct (#1913)Jcw87
2023-08-29c_m3d, c_request OK. Work on Z2Audience (#1900)hatal175
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
2023-08-01Work on J2DMaterialFactory (#394)hatal175
* Work on J2DMaterialFactory * J3DUClipper OK * Work on JAISoundStarter * JAISoundHandles OK * JAISoundInfo OK * Fix JAISound::isStopping * Work on J2DTextBoxEx * dspproc OK * osdsp OK * osdsp_task OK * Work on dsptask * Import some JASCalc code * JASCallback OK * JASOscillator OK * JASLfo OK
2023-05-05d_a_vrbox / d_a_kytag02 / d_a_obj_eff OK (#327)TakaRikka
* d_a_vrbox / d_a_kytag02 / d_a_obj_eff OK * some std header setups * f_pc / profile cleanup * setup cull data * remove asm * d_a_suspend OK
2023-03-14d_ky_thunder done / d_scope wip / m_Do_graphic wip (#308)TakaRikka
* d_ky_thunder OK + misc build fixes * d_scope mostly done * some m_Do_graphic wip * remove asm
2023-02-26JUtility / JSupport / misc cleanupTakaRikka
2022-12-19big d_a_alink pass (#214)TakaRikka
* d_a_alink pass1 wip * more d_a_alink work * remove asm * more daalink work * 20% dol code decompiled * fixed some nonmatchings for building * a few daalink functions and labeling some HIO data
2022-10-03d_camera / m_Do_ext / d_particle + minor various wip (#210)TakaRikka
2021-12-23JPAExtraShapeJasper St. Pierre
2021-11-10wipTakaRikka
2021-10-11J3D setup (#155)TakaRikka
* setup j3d classes * remove asm * fixes * fix newDifferedDisplayList
2021-06-02J3duclip, fop_actor_mng and related stuff (#131)lepelog
* J3DUClipper sinit * sincosTable_ etc * decompile JMATrigonometric sinit * f_op_actor_mng * move f_op_actor_mng and parts of mDo_ext * J3DSys sinit * f_op_scene_req * failed matching attempt for decodeSZS__9JKRDecompFPUcPUcUlUl * mX -> x * fix mCull and fopAcM_prm_class members * fix a few function parameters * move missing NON_MATCHING * remove some unneeded data * turns out that data was not unused * remove unused asm * readd asm deleted by accident