summaryrefslogtreecommitdiff
path: root/include/SSystem/SComponent/c_cc_d.h
AgeCommit message (Collapse)Author
2026-03-17cc debug work (#3133)TakaRikka
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-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
2025-12-29Work on d_cc_d debug (#3002)hatal175
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-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-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-25d_debug_camera mostly done (#2695)TakaRikka
* d_debug_camera mostly done * update some alink demo stuff * some misc debug stuff
2025-08-30d_a_e_ai done (#2617)TakaRikka
* d_a_e_ai done * pr
2025-08-10Misc framework fixes (#2578)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-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-01d_camera work (#2369)Caroline Madsen
* bumpCheck matching * checkGroundInfo matching * chaseCamera matching * lockonCamera attempted * talktoCamera matching * subjectCamera, magneCamera matching * colosseumCamera close, plus various fixes * towerCamera attempted * hookshotCamera matching
2025-03-01tag_allmato almost, swhit0 treesh swball done, misc cleanup (#2312)TakaRikka
* d_a_tag_allmato almost done * d_a_swhit0 done * some SSystem cleanup * treesh done * swball done, some other rel cleanup
2025-02-13d_a_obj_carry mostly done (#2301)TakaRikka
* d_a_obj_carry mostly done * cleanup some acch inlines
2025-01-23d_a_obj_Turara equivalent (#2289)YunataSavior
* Initial d_a_obj_Turara work * More d_a_obj_Turara work * d_a_obj_Turara equivalent except for weak func order of dEvLib_callback_c dtor * Updates to d_a_obj_Turara after feedback from Taka * b_dre equivalent (#2290) * Update d_a_obj_Turara to remove unnecessary comment based on hatal\'s request --------- Co-authored-by: TakaRikka <38417346+TakaRikka@users.noreply.github.com>
2025-01-19d_a_obj_octhashi equivalent except for weak func ordering of cCcD_GStts dtor ↵YunataSavior
(#2287) * Initial d_a_obj_octhashi work * More d_a_obj_octhashi work * d_a_obj_octhashi has 100% completion, but rodata doesn't match * d_a_obj_octhashi equivalent. Would fully match except for cCcD_GStts dtor * d_a_obj_octhashi update after feedback from Taka and hatal
2025-01-09d_a_horse mostly done (#2284)TakaRikka
* checkpoint * d_a_horse mostly done * some horse doc
2025-01-03d_a_obj_waterPillar + d_a_obj_syRock Equivalent (weak ordering) (#2281)Huitzi
* d_a_obj_waterPillar + d_a_obj_syRock Equivalent (weak ordering) * Added fake struct padding * Added fake Chk inlines to dBgS_Acch * Added AT_TYPE_100 to cCcD_ObjAtType * Addressed fakematch * Deleted fake Chk inlines from dBgS_Acch * Removed duplicated, but commented, static check for struct size * Renamed two d_a_obj_waterPillar fields according to comments * Removed explicit inline keywords & swapped use of PSMTX for debug-friendly MTX
2024-12-24d_a_obj_wsStick, d_a_obj_onsenTaru OK (#2268)hatal175
* d_a_obj_wsStick, d_a_obj_onsenTaru OK * d_a_obj_pdtile OK * d_a_obj_stone equivalent * d_a_npc_lf OK * Z2SoundMgr OK * Remove fixed nonmatching comment * d_a_obj_kantera OK * Remove unneeded header * daMyna_c::deleteItem matching * d_a_obj_crvsteel OK
2024-12-12daObj_BouMato_c OK (#2264)hatal175
* daObj_BouMato_c OK * daObjGraRock_c Matched except template function order * daBkyRock_c OK
2024-11-22d_a_b_zant matched + linked (#2253)TakaRikka
* work on b_zant * zant work * more zant work * all b_zant functions done * some doc work * some more doc work * d_a_b_zant linked * fix d_a_b_zant_magic issue
2024-10-25Work on daNpc_Hanjo_c (#2225)hatal175
2024-10-19d_a_b_yo and d_a_b_yo_ice mostly OK (#2219)Caroline Madsen
2024-10-16d_a_alink canoe almost done (#2210)TakaRikka
* d_a_alink canoe almost done * ironball mostly done * alink_iceleaf done
2024-10-12d_a_alink work / bump dtk version (#2205)TakaRikka
2024-08-07zramark work, sWallShutter / firewood2 done (#2187)TakaRikka
* obj_zramark done except weaks * setup fixes * obj_sWallShutter done * firewood2 done * remove asm
2024-07-22some cc doc and obj_brg work (#2184)TakaRikka
* some cc doc * document dCcD material types * work on d_a_obj_brg
2024-07-07obj_lv5YIblltray done (#2173)TakaRikka
* d_a_obj_lv5yiblltray done * remove asm
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-17d_a_b_ds mostly done (#2098)Caroline Madsen
2024-02-15Obj_Oiltubo done (#2071)TakaRikka
2024-02-13d_a_e_yd_leaf and d_a_e_ph done (#2070)TakaRikka
* d_a_e_yd_leaf done * d_a_e_ph OK * remove asm * some e_ph doc * match dBgS_Acch, fix f_op_actor_mng weak funcs * dBgS_Acch done * cleanup dBgS Chk TUs * d_a_obj done
2023-11-12d_a_obj_lv1Candle01, d_a_obj_lv2Candle OK (#1978)Caroline Madsen
Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2023-11-10d_a_obj_ss_item OK (#1983)Jacob Patzer
2023-10-28decompile a few daItemKantera_c funcs (#1970)Trueffel
* attempt on daItemKantera_c * format cpp
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-12Kytag09 and Kytag11 OK, work on d_a_bg_obj and d_kankyo (#1877)TakaRikka
* work on kankyo / d_a_bg_obj * d_a_bg_obj work / kytag09 and kytag11 OK * remove asm
2023-08-05work on d_a_spinnerTrueffeloot
2023-08-02d_a_obj_swpropeller OK, work on d_kankyo / miscTakaRikka
2023-07-03d_cc_d_nonmatchingJcw87
2023-06-06work on d_a_npc, d_a_npc_ash, d_a_tag_evtarea (#345)hatal175
All credit goes to randomsalience
2023-05-12Remove #includes from headers (#334)Jcw87
* 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-04-21e_ym / obj_volcball wip. obj_mgate done (#318)TakaRikka
* e_ym / obj_volcball wip. obj_mgate done * remove asm --------- Co-authored-by: root <root@DESKTOP-BTVP2BC>
2023-03-17d_file_select, JASResArcLoader, d_a_obj_stone, d_a_obj_stone_mark (#309)Pheenoh
* setup TU * JASResArcLoader OK * d_a_obj_stoneMark work * some funcs in d_a_obj_stoneMark * many changes * quat, d_a_obj_stone, d_a_alink, fix python script, tidy makefile * d_file_select functions + pr cleanup
2023-02-25d_a_e_yk 23/26 matched (#301)Pheenoh
* setup TU * daE_YK_HIO_c::daE_YK_HIO_c * anm_init * daE_YK_Draw * pl_check * damage_check * action * daE_YK_Delete * fly_move * e_yk_roof * useHeapInit * e_yk_wind * e_yk_chance * e_yk_return * e_yk_fly * e_yk_wolfbite * e_yk_fight * e_yk_attack * e_yk_path_fly * daE_YK_Execute and daE_YK_Create and float literal prep * pr cleanup * rm padding
2023-02-05d_a_crod almost fully OK (#270)TakaRikka
2023-01-15d_a_b_oh2 / d_a_obj_web0 / d_a_obj_web1 (#243)TakaRikka
* d_a_obj_web0 / d_a_obj_web1 * remove asm * d_a_set_bgobj * d_cc_s work * remove asm * build fix * fix tp.py progress check and rel sha1 check * clean up some bg files