summaryrefslogtreecommitdiff
path: root/src/d
AgeCommit message (Collapse)Author
2026-06-23Link d_cursor_mng for all Wii versions (#3164)HEADmainMax Roncace
2026-06-20Alink Documentation (#3159)Luzagar
* some player work * more work * better name * fix compilation
2026-06-19Use J3DSysDrawBuf Enum (#3166)SuperDude88
- Update all the 0/1 values to use the enum Hopefully this builds properly I didn't set up everything locally
2026-06-19Code cleanup to fix warnings in Dusklight (#3167)Pieter-Jan Briers
Mostly bool/int mixing
2026-06-19d_meter_HIO Wii/debug mostly matching (#3158)Max Roncace
2026-06-19Wii PAL d_s_logo improvements (#3157)Pieter-Jan Briers
* Wii PAL d_s_logo improvements * Fix d_s_logo/d_pane_class_alpha sdata spltis * Specify some symbols to improve matches Is there a better way to do this? * More symbols * match phase_1 * Fix regressions * Fix d_s_name rodata split * Add nextPauseTimer__9dScnPly_c to symbol map
2026-06-19JAudio naming pass (#3139)Pieter-Jan Briers
* struct JASWaveArc forward declare fix * JASAramStream::THeader improvement * sizeof/offsetof unhardcodings * JAudio field name/comment pass HUGE thanks to XAYRGA for their work documenting JAudio file formats * Some more names * More names * More minor names * Attempt to fix regressions
2026-05-18Array size UB fixes (#3162)Pieter-Jan Briers
* Array size UB fixes * Fix ShieldD * Another one
2026-04-13cat door cleanup (#3155)TakaRikka
2026-04-11Fix dMsgFlow_c::event027 aParam8 buffer size (#3153)Howard Luck
2026-04-11Fix daE_VA_c::mRopeCutStatus and va_tag_* array sizes (#3152)Howard Luck
2026-04-11Fix daBaseNpc_c field_0x744 array size (#3154)Pieter-Jan Briers
2026-04-11UB fixes (#3150)Pieter-Jan Briers
* Fix incorrect size for J2DTevBlock8::insertTexture local_38 * Fix dMeter_drawOptionHIO_c mOptionTypeBGPosX/Y size * dMeter_drawLightDropHIO_c mVesselAlpha fix * d_a_mg_rod array size fixes * Fix e_tk2_class mActionTimer array size * daObjTOMBO_c field_0x714 array size fix
2026-04-10Replace magic constants derived from framebuffer size (#3144)Max Roncace
2026-04-10Couple names in dMeterMap_c (#3142)Pieter-Jan Briers
2026-04-10Replace some pointer casts with field references. (#3141)Pieter-Jan Briers
2026-03-30Z2Audio player debug work / fix actor method returns (#3140)TakaRikka
* Z2Audio player debug work * fix actor method returns * wii build fix
2026-03-29d_path / d_vibration debug work (#3138)TakaRikka
* dpath debug * dvibration debug * d_meter2_info debug * gcyl/gpsh debug
2026-03-29E ws work (#3137)Luzagar
* e_ws work * more doc * add debug message * move declaration * more match * test * Revert "more match" This reverts commit 3d910e6e913d84685aa40fe993a50402b3ee27a1. * fix * cleanup * fix * rename mIsHome
2026-03-21cleanup d_a_obj_wflag (#3135)TakaRikka
2026-03-18fix push pull callback UB in other compilers (#3134)TakaRikka
2026-03-17cc debug work (#3133)TakaRikka
2026-03-17Fix a bunch of compiler warnings and document several more bugs (#3130)Max Roncace
2026-03-17various d_bg debug cleanup / d_menu_window_HIO debug (#3132)TakaRikka
* various d_bg debug cleanup * matching forward decl for compiler compatibility * fix build
2026-03-15convert `daPasserMng_c::mGroupTbl` underlying data from bytes to ↵roeming
`daPasserMng_c::Group` (#3129) * daPasserMng_c::mGroupTbl underlying data to daPasserMng_c::Group * move over to const groups * templated solution that works on modern compilers + mwcc --------- Co-authored-by: roeming <roeming@users.noreply.github.com>
2026-03-11d_a_npc_tkj2 debug code+data 100% (#3128)Max Roncace
2026-03-11d_a_horse debug improvements (#3127)Max Roncace
2026-03-11E wb documentation + e_rd cleanup (#3125)Luzagar
* e_rd cleanup * first pass * fix ? * rename * more rename * fix other platform * fix typo * more documentation * more work * fix build * fix * more doc * camera work * more work * cleanup * more work * clean up + fix build * fix build * more work * change mSpeedRate name * change description * more work * fire eff work * fix build * fix match * debug fix ? * update description * rename field
2026-03-11More debug fixes for 99% TUs (#3122)Max Roncace
* d_a_e_hp debug code 100% * d_a_npc_chin debug improvements * d_a_npc_du debug code 100% * d_a_npc_cdn3 debug code 100% * d_a_e_rdy GCN symbol fixes * d_a_kago debug code 100% * d_a_e_oc debug code 100% * d_a_e_yr debug code almost matching * d_a_e_bg debug code 100% * d_a_ykgr debug code 100% * d_a_tag_hjump debug data fixes * d_a_tag_attack_item debug data fixes * d_a_e_df debug code 100% * d_a_e_sh debug code 100% * d_a_L7op_demo_dr debug code 100% * d_a_L7low_dr debug code 100% * d_a_e_sm2 debug code 100% * d_a_movie_player debug code 100% * d_a_e_st debug code 100% * d_a_npc_aru debug code 100% * d_a_e_yg debug code 100% * d_a_door_spiral debug code 100% * d_a_bg debug code 100% (still has .data issues) * d_a_e_dn debug code 100% * d_a_tag_attention debug code 100% * d_a_e_bd debug code 100% * d_a_tag_camera debug .rodata fix * d_a_obj_movebox debug code 100% (array dtors are mismapped) * d_a_mg_rod debug improvements * d_a_e_rd debug symbol fixes
2026-03-09Actor status consolidation & process profile definition editing (#3117)Huitzi
* Consolidate fopAcM_STATUS into fopAc_Status_e * Add _e suffix to fopAcStts enums * Prepare for profile enumeration * Correct typo in scene_process_profile_definition * Manually handle g_profile_Obj_DamCps (inline preprocessing) * Correct g_profile_TAG_LV5SOUP procname to enum * Create d_priority.h * Update process profile definitions * Moved inline comments to the left * Add missing fopAcStts enums * Add d_priority.h include in f_pc_leaf.h * Manually update d_a_obj_damCps profile * Replace fopAcStts enums replacing and anticipatory profile size correction * Changed profile size from literal to sizeof() in anticipation of PR #3116 * Provided putative names to staff-related status enums * Replaced appropriate literals with fopAcStts enums * Fix borked merge * Rename item number enums and move to d_item_data.h * Rename process profile name & draw priority enums * Move process profile name & draw priority enums to appropriate files * Moved fpcNm_ enums from d/d_procname.h to f_pc/f_pc_name.h * Moved fpcDwPi_ enums from d/d_priority.h to f_pc/f_pc_draw_priority.h * ACTUALLY (whoops) stage merge * Correct item mistranslation Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com> --------- Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2026-03-06d_s_room / d_s_name / d_a_title debug work (#3123)TakaRikka
* d_s_room / d_s_name debug work * camera_class rtti fix * d_a_title debug / handle shield rel changes * fix shield build * fix regressions
2026-03-02JUTDataFileHeader (#3121)qwertyquerty
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-03-01d_s_logo / d_s_play debug work, d_a_kago cleanup, misc cleanup (#3116)TakaRikka
* d_a_kago cleanup * d_s_logo wii/shield work * d_s_logo / d_s_play debug work * fix missing profile class sizeof's * fix phase->id values * build fixes * fix dCamera_c and camera profile
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-02-28Another round of GCC fixes (#3115)Luke Street
* Fix remaining <string> -> <cstring> for GCC compilation (#3114 follow-up) MWerks' <string> header transitively includes C string functions (memcpy, strlen, strcmp, etc.), but GCC/Clang's <string> is the C++ std::string header. These files all use C string functions and should include <cstring> instead. * Use std::isnan instead of isnan for GCC compilation GCC's <cmath> places isnan in the std namespace. Using the unqualified isnan fails to compile with GCC/Clang. * Fix cCcD_Src types: s32 -> u32 for bitmask fields cCcD_SrcObjCommonBase::mSPrm, cCcD_SrcObjTg::mType, and cCcD_SrcObjAt::mType are used as bitmasks (SetType/SetSPrm take u32, MskType/MskSPrm use u32, values like 0xFFFFFFFF are common in aggregate inits). Change from s32 to u32 to match usage. Also fix AT_TYPE_WOLF_ATTACK/AT_TYPE_UNK to use unsigned literals, and remove now-unnecessary (s32) casts on hex literals in collision source data. * Mark dummy() functions as static to avoid multiple definition errors These decomp artifact functions have the same name and signature across TUs, causing linker errors when building as a single binary.
2026-02-28E rd documentation (#3106)Luzagar
* some e_rd doc * fix build * more doc * more doc * fix debug * fix debug for real * change some name * some rename * rename
2026-02-28ShieldD: Clean up a bunch of 99% matching TUs (#3113)Max Roncace
* d_a_npc_ks debug code 100% * d_a_npc_rafrel debug code 100% * d_a_npc_inko minor improvements * d_a_npc_gro debug code 100% * d_a_npc_pachi_taro debug code 100% * d_a_npc_passer debug code 100% * d_a_npc_pachi_maro debug code 100% * d_a_npc_post debug code 100% * d_a_obj_bemos debug improvements * d_a_obj_scannon_ten debug code 100% * d_a_b_mgn debug code 100% * d_a_e_fb debug code 100% * d_a_e_gb debug code 100% * d_a_e_hz debug code 100% * d_a_e_cr_egg debug code 100% * d_a_e_md debug code 100% * d_a_e_wb debug code 100% * d_a_obj_mirror_6pole debug code 100% * d_a_obj_spinLift debug data fixes * d_a_obj_pdwall debug data fixes * d_a_obj_ss_drink debug code almost matching * d_a_obj_poFire debug code 100% * d_a_obj_picture debug code 100% * d_a_obj_dust debug code 100% * d_a_obj_fallobj debug code 100% * d_a_obj_itamato debug code almost matching * d_a_obj_syRock debug code 100% * d_a_obj_katatsumuri debug code 100% * d_a_obj_wood_statue debug code 100% * d_a_obj_lv6egate debug code 100% * d_a_tag_qs minor debug symbol fixes * d_a_obj_twGate debug code 100% * d_a_obj_lv6SwGate debug code 100% * d_a_obj_lv6swturn debug code 100% * d_a_obj_lv6Tenbin debug code 100% * d_a_obj_kwheel01 debug code 100% * Fix RTTI order regression (cM3dGCyl vs cBgS_*)
2026-02-28Some GCC compilation fixes (#3114)Luke Street
* 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-27d_a_alink debug improvements (#3112)Max Roncace
2026-02-20Warpappear doc (#3104)Luzagar
* warpappear documentation * dist documentation * more doc * add enum name + square macro
2026-02-20d_resorce debug (#3105)Jcw87
2026-02-20Implement Z2AudioCS (#3103)Max Roncace
2026-02-20Big cast cleanup (#3076)roeming
* Big cast cleanup * fix for name conflict * rename header * rename cast macros * fix rename mistake --------- Co-authored-by: roeming <roeming@users.noreply.github.com>
2026-02-17d_cursor_mng mostly matching (#3101)Max Roncace
2026-02-13m_Re_controller_pad mostly matching (#3099)Max Roncace
* Move m_Re_controller_pad to m_Re/ * m_Re_controller_pad mostly matching
2026-02-13d_demo debug (#3098)Jcw87
2026-02-13d_bg_parts debug (#3097)Jcw87
2026-02-11extract d_a_player l_sightDL (#3095)TakaRikka
2026-02-11fix compiler warnings (#3094)Jcw87