summaryrefslogtreecommitdiff
path: root/include/f_op/f_op_actor.h
AgeCommit message (Collapse)Author
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-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-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-14Use attention enums everywhere instead of integer literals (#3044)Max Roncace
2025-12-27d_a_door_spiral mostly done (#3007)TakaRikka
2025-12-26f_op debug work (#2991)Niklas Bauer
* f_op debug 1 * f_op debug 2 * f_op debug 3 * f_op debug 4 * f_op debug 5 * f_op_debug fix build * f_op linking * remove goto in fopac_create * fix regressions * fix regressions * pr comments
2025-12-23d_a_mg_rod debug improvements (#2993)Max Roncace
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_e_dn work (#2899)Carco_21
* d_a_e_dn work * PR cleanup and more documentation
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-30d_a_alink_HIO work (#2852)Howard Luck
* daAlink_c::jointControll OK * daalink debug work * checkpoint * fix casting * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * remaining functions + fixes round 1 * fixes round 2 * fixes round 3 * fixes round 4 * revert getNeckAimAngle for now
2025-11-27d_a_b_mgn debug almost equivalent (#2842)Carco_21
* debug almost equivalent * PR cleanup
2025-11-26d_kankyo matching (#2872)Max Roncace
2025-11-20Remove fake matches, fix false equivalencies, and other small matches (#2837)LagoLunatic
* Debug matches and remove fake matches * Fix false equivalencies, regallocs, and vtable orders * Fix PAL splits
2025-11-18debug work on d_a_e_fb (#2819)hatal175
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-10-19m_Do_main / f_ap_game / f_op_actor debug work and misc (#2744)TakaRikka
* m_Do_main / f_ap_game debug stuff * revolution sdk compatibility * f_op_actor debug work * rename fopAcM_SetupActor to fopAcM_ct * fix build * fix jp/pal splits
2025-10-06d_a_e_yh OK (#2727)hatal175
2025-09-26Misc matches and fixes (#2703)LagoLunatic
* Match mDoExt_morf_c::getPlayMode * Misc cleanup * Fix actor cull spheres * Match daPy_py_c::getLastSceneSwordAtUpTime, JUTGamePad::testTrigger * Fix improper demangling of dBgS_SphChk::SetCallback * Fix d_camera rangef weak func order * Match more alink_wolf funcs
2025-09-25Use composition instead of inheritance for most f_op classes (#2700)LagoLunatic
2025-09-10d_a_e_zm matching (#2638)Carco_21
* initial work * a little more work * matching * pr cleanup * changed 'subtype' to 'argument' * fixed debug error
2025-09-08scannon / scannon_crs / scannon_ten done (#2632)TakaRikka
* scannon done * scannon_crs done * scannon_ten done * pr * attention debug stuff * attn flags * fix build
2025-07-24d_a_e_kr equivalent (#2549)Max Roncace
2025-07-15d_a_e_po 99% Matching (#2517)Stbn-antier
* anm_init and nodeCallBack, need to review nodeCallBack as weird code * First pass on class, 86% match * Cleanup for PR, still work to do * Solve error after pull * Clangd format * Adressing PR comments * Update l_HIOInit * Fix debug building, 60% match on debug :')
2025-06-21d_a_e_mf equivalent and d_a_e_dn work (#2492)Carco_21
* Tiny start on d_a_obj_gra2 * Initial work * Solid work done * More work * work on some rolling functions and deme camera * Almost all functions worked on * All functions worked on * Fixed some BaseNpc functions I broke * PR Cleanup * PR cleanup part 2 * Worked on create function * Worked up to search_bomb * Work on various action functions * Almost all functions worked on * d_a_e_mf equivalent * Started copying over to d_a_e_dn * d_a_e_dn almost equivalent, e_mf cleanup * somehow accidentally took out something from gra2 in a previous commit * Fixed data layout issue in d_a_e_dn * PR cleanup * Took out fopen_enemy_c inheritance
2025-03-31d_a_npc_worm matching (#2365)hatal175
* d_a_npc_worm matching * Rename a_this
2025-03-31d_a_b_mgn equivalent (#2363)TakaRikka
2025-03-27d_a_b_mgn (Dark Beast Ganon) (#2348)Carco_21
* Started work on d_a_b_mgn * Finished some of the smaller functions * A lot of work on the set_Effect methods * Work on CreateHeap * Work on calcBloodMove * Work on setHideSmokeEffect and _delete * damage_check at 50% * demo_skip 94% matching * Work on some execute functions and a couple others * Worked on last few functions and general cleanup * Cleanup for pull request * Last few pr review comments addressed
2025-03-23b_gnd equivalent (#2340)TakaRikka
* b_gnd equivalent * fix dEvt_info_c inlines * fix some more inlines
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-12e_rdy mostly done (#2324)Caroline Madsen
* e_rdy work * e_rdy work * e_rdy work * e_rdy mostly done * e_rdy fix hit direction
2025-01-16wip debug / pal building, b_gm mostly done (#2285)TakaRikka
* b_gm mostly done * wip debug / pal building * fix configure.py * fix some debug macros / flags
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-25d_a_alink work / lv4digsand done / e_s1 matched (#2224)TakaRikka
* d_a_alink work / d_a_obj_lv4digsand done * d_a_e_s1 matched, not linked * d_a_e_s1 documentation
2024-10-12d_a_alink work / bump dtk version (#2205)TakaRikka
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>
2024-07-07obj_lv5YIblltray done (#2173)TakaRikka
* d_a_obj_lv5yiblltray done * remove asm
2024-06-25work on d_camera / d_ev_camera (#2170)TakaRikka
2024-05-24d_a_e_vt mostly done (#2158)TakaRikka
2024-05-08d_a_obj_item done (#2150)TakaRikka
* d_a_obj_item 99% done * item cleanup * remove asm * add actor attention dist type enum * change dist_entry names slightly
2024-05-01d_a_e_yc OK (#2143)Caroline Madsen
2024-04-12Fix some issues in d_a_e_fz (#2128)hatal175
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-28b_bq done (except weak funcs) (#2110)TakaRikka
2024-03-17d_a_b_ds mostly done (#2098)Caroline Madsen
2024-03-04d_a_tbox2 done, f_op_actor_mng cleanup, cleanup fopAc_ac_c member names (#2084)TakaRikka
2024-03-01d_a_tag_kago_fall OK (#2081)Jeff Padgham
* WIP, about half done * Decomp OK * Some more cleanup and first documentation pass * Cleaning up unused asm * Fixing static msg object access and a bit more cleanup * Updating progress --------- Co-authored-by: GinNoOokami <noreply>