summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_gra.cpp
AgeCommit message (Collapse)Author
2026-03-17Fix a bunch of compiler warnings and document several more bugs (#3130)Max Roncace
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-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-01-19Use default parameter values in JORMContext calls where appropriate (#3057)Max Roncace
2026-01-13Clean up HIO for TUs using HIOParam/Param_c/HIO_c pattern (#3043)Max Roncace
2025-12-24Resolve all gameInfo fakematches (#2995)LagoLunatic
* Clean up various inlines/fakematches/comments * Copy OptRuby inline name from TWW debug * Resolve all dEvt_control_c related fakematches, return pointer instead of reference * Fix some more missing inline usages
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-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-17d_a_demo00 OK (#2817)LagoLunatic
* Misc small matches * Add J3DFrameCtrl::EMode_NULL enum * Improve weak bss fakematch and remove a functionvalue fakematch * demo00 OK
2025-11-12rename variable in accordance with assert (#2797)roeming
2025-11-10Regalloc/debug/misc fixes (#2794)LagoLunatic
* Fix "0" asserts * More debug and regalloc fixes * Fix PTMF syntax for compatibility with other compilers * Fix some fakematches, link more TUs for J/P
2025-11-09Link npc_gra (#2790)YunataSavior
2025-11-09D a npc gra matching debug (#2788)roeming
* match all d_a_npc_gra functions in debug * update all offsets to match release * rename parameters * add ct hack for d_a_npc_gra * add suggestions * fix type * use sound enums * fix sinit and one regswap * fix wrong variable usage
2025-11-09Debug work + some retail regalloc fixes (#2787)LagoLunatic
* Debug work + some retail regalloc fixes * Use AUDIO_INSTANCES in places it's missing, link d_a_e_bee * Link m_Do_machine * Fix clang putting other includes before the pchs * Link some more debug TUs that already match
2025-10-03NPC str cleanup and misc for 100% linkability (#2723)YunataSavior
* NPC str cleanup and misc for 100% linkability * d_msg_object equiv
2025-09-28Fix JUT_ASSERT and several other macros (#2711)LagoLunatic
* Fix JUT_ASSERT to be a nested define * Switch names that appear in asserts to be constants instead of defines * Replace `0` in asserts with `NULL` or `FALSE` * Fix fpclassify * Fix ARRAY_SIZE * Use G_CM3D_F_INF * More fixes for fpclassify * Remove FLOAT_LABEL * Remove incorrect FLAG_ON macro * Remove UNK_BSS macro * Silence clangd unused header warning for PCH
2025-08-24Add a precompiled header for RELs (#2597)Max Roncace
2025-07-11d_a_npc_wrestler work (#2521)Carco_21
* Starting work * First few functions worked on * Data work * So many inlines!!! * All sumou action functions worked on * started demo work * demo functions worked on * Almost all functions worked on * Work on some param function stuff * all functions worked on * Cleanup and enums * Hopefully fixed d_a_alink breaks * PR cleanup
2024-11-29some cleanup of f_pc/f_op files (#2254)TakaRikka
* cleanup f_pc files * cleanup f_op files * fix a couple f_op_actor_mng functions * minor JSystem work
2024-10-25Work on daNpc_Hanjo_c (#2225)hatal175
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>