summaryrefslogtreecommitdiff
path: root/include/SSystem/SComponent
AgeCommit message (Collapse)Author
2026-03-17cc debug work (#3133)TakaRikka
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-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-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-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-24Fix MORE wrong forward declares (struct/class) (#3110)Pieter-Jan Briers
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-01-29d_com_inf_game debug (#3075)Jcw87
* d_com_inf_game debug * inline sorting
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-17match d_a_npc_tk for debug (#3046)roeming
* match d_a_npc_tk for debug * fix macro usage * fix whitespace
2026-01-17d_a_alink cleanup / debug work (#3045)TakaRikka
* start d_a_alink debug cleanup * d_a_alink_damage debug * d_a_alink_guard debug * d_a_alink_bow debug * d_a_alink_boom debug * d_a_alink_copyrod debug * d_a_alink_hvyboots debug * d_a_alink_grab debug * d_a_alink_sumou debug * d_a_alink_horse debug * d_a_alink_canoe debug * d_a_alink_crawl / d_a_alink_hang debug * d_a_alink_swim debug * d_a_alink_hook / d_a_alink_iceleaf debug * d_a_alink_bottle debug * d_a_alink_whistle / d_a_alink_kandelaar / d_a_alink_ironball debug * d_a_alink_demo debug * d_a_alink_effect debug * d_a_alink_wolf debug * d_a_alink debug / cleanup * cleanup button status enums
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-12obj_pumpkin dbg equiv (#3036)YunataSavior
2026-01-11d_camera debug almost matching (#3032)Max Roncace
2026-01-10first round of constants cleanup (#3021)roeming
* 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-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
2026-01-04d_a_e_rdy debug work (#3011)roeming
* debug work for d_a_e_rdy * remove unused fake function * fix regressions * rename variable * Fix version diffs of angle adding
2025-12-29Work on d_cc_d debug (#3002)hatal175
2025-12-26Debug d_a_e_ym (#3003)YunataSavior
2025-12-23Clean up code, remove fakematches, add UNUSED, enable warnings (#2992)LagoLunatic
* Remove NDEBUG_DEFINED fakematch, clean up getName temps * Fix ifdef * Fix bad JSystem pch ifdef breaking decomp.me * Remove Acch Chk fakematches * Private Acch fields * Fix some clangd errors in headers * Add UNUSED macro for matching debug parameters * Enable clangd unused-parameter warning * Remove extern from initializers Probably added by dol2asm? * Fix process profile definitions * Remove leftover dol2asm address comments * Remove some unnecessary double casts * Enable some more clangd warnings * Fix missing usages of fopAcM_ct * Fix wrong enum usage * Fix more fakematches
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-19match last function in d_camera.cpp (#2971)roeming
Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>
2025-12-18Use consistent s32/u32 (#2964)roeming
* cleanup long usage * fix regression
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-12-03Debug+retail matches and clean up some fakematches (#2910)LagoLunatic
* Debug matches * Match daAlink_c::procGrassWhistleWait * Match JASAramStream::channelProc * More debug matches * Match JAUStreamStaticAramMgr_::deleteStreamAram and bitset inlines * Fix some fakematches * Fix gameinfo player info not being a struct * Update bug comments * Fix procids in alink * d_a_scene_exit OK
2025-12-03d_a_npc_kn debug work (#2907)Niklas Bauer
* d_a_npc_kn debug work * d_a_npc_kn pr comments
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-25d_a_npc debug work (#2863)Max Roncace
* Remove d_a_npc3.cpp This file appears to not actually be real and the asserts in its functions all reference d_a_npc2.cpp instead. * d_a_npc debug almost matching
2025-11-25Clean up some fakematches, mostly around gameInfo loads (#2862)Max Roncace
2025-11-25Move cBgS_GrpPassChk and cBgS_PolyPassChk to separate headers (#2861)Max Roncace
This is supported by RTTI ordering which only makes sense if these classes are in separate headers from the dBgS_* classes.
2025-11-23Fix more nonmatchings (#2850)LagoLunatic
* Fix GetPolyIndex and GetBgIndex, fixing a couple regallocs * Match daNpcCd2_c::checkFearSituation and daNpcCd2_c::getAnmP * Match daAlink_c::jointControll * Clean up float class checks * Move float constants to global.h
2025-11-17wii building OK / m_Do_graphic debug work (#2815)TakaRikka
* wii building OK + m_Do_graphic debug work * d_meter_HIO debug cleanup * wii m_Do_graphic stuff * tag_attack_item OK, mirror_chain almost * fix build * mg_fshop matching
2025-11-05d_a_e_sh matching (#2772)Max Roncace
2025-10-28d_a_obj_hata & d_a_obj_hb matching (#2752)Carco_21
* hata matching * hb initial work * obj_hb matching * fixed error * pr cleanup
2025-09-27d_a_obj_ss_drink equivalent (#2708)Howard Luck
* d_a_obj_ss_drink equivalent * SomeFunc -> ProcessFunc * fixes for taka * rm FLT_MIN * G_CM3D_F_INF
2025-09-27Remove unnecessary externs (#2705)LagoLunatic
2025-09-25d_debug_camera mostly done (#2695)TakaRikka
* d_debug_camera mostly done * update some alink demo stuff * some misc debug stuff
2025-09-17More miscellaneous TU improvements (#2665)Max Roncace
2025-08-30d_a_e_ai done (#2617)TakaRikka
* d_a_e_ai done * pr
2025-08-27Start linking some TUs on debug and PAL (#2612)LagoLunatic
* Fix clang union handling (affects all TUs including d_camera.h) Union members with non-trivial ctors/dtors is undefined behavior and clangd normally throws a fit and refuses to parse the whole union, but it seems to be possible to ifdef the problematic ctors out for non-mwerks compilers and explicitly tell modern compilers to use the defaults instead. Thanks to encounter for this fix. * Link all TUs that already match on debug In order to link TUs for debug, most functions seem to need to have their alignment set to 16 in symbols.txt. There are a few hundred functions that seem to be the exception and break when their alignment is set to 16, but I don't know the reason for this. * Remove some fakematches (nosyminline/sym off) for weak func order in retail * Fix clang not knowing that MSL_C++ is C++ * Link more debug TUs * Fix missing PAL split * Fix wrong slashes being used in includes * RZDE01_00: Fix incorrect capitalization in config.yml * Add RZDE01_00 to configure task * Revert configure.py to use MatchingFor * Fix PAL splits and symbols, link matching PAL TUs
2025-08-24Add a precompiled header for RELs (#2597)Max Roncace
2025-08-15d_a_e_hp almost matching (#2585)Max Roncace
2025-08-10Misc framework fixes (#2578)Max Roncace
2025-07-11Improve various partially matched TUs (#2526)hatal175
2025-06-19d_bg_w_kcol work (#2490)Max Roncace
2025-06-08d_a_npc_kn work (#2274)Howard Luck
* checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * fixups * check * fixes 2 * fixes 3 * fixes 4 * fixes 5 --------- Co-authored-by: pheenoh <pheenoh@macmini.local> Co-authored-by: pheenoh <pheenoh@macmini.lan>
2025-05-19Debug and various d_ev_camera fixes (#2448)YunataSavior
2025-04-20d_a_e_tk_ball Matching (#2402)Niklas Bauer
* d_a_e_tk_ball matching * d_a_e_tk_ball cleanup * d_a_e_tk_ball comments
2025-04-06GCN pal / jpn support, some debug work (#2375)TakaRikka
* d_save debug cleanup / d_s_menu debug * gameinfo / kankyo struct debug fixes * pal building ok * jp building ok * some tests with jp * some more pal/jp tests