summaryrefslogtreecommitdiff
path: root/src/d/d_attention.cpp
AgeCommit message (Collapse)Author
35 hoursUse CPad macros when accessing controller fieldsLagoLunatic
2 daysmsg work (#1143)LagoLunatic
* fopMsgM_msgDataProc_c::stringSet work * Fix JPN * More stringSet work * work * get rid of fake temps * stringSet 99.99% * fopMsgM_msgDataProc_c::stringLength 100% * d_msg work * fix pal * fix message_paper, d_meter version diff fixes
13 daysClean up angle constants and conversions (#1135)LagoLunatic
* Add angle conversion constants and macros * Replace angle literals with hex instead of decimal
14 daysEnum usageLagoLunatic
2026-05-29Update all code to use the new enum formatsLagoLunatic
2026-05-26Process profiles and enums cleanup (#1031)LagoLunatic
* Fix some profile comments * Add missing static for local visibility data * Move proc name and draw priority enums to f_pc * Add _e suffix to daObjBarrier_c proc enum * Change proc name enum format to match TP * Change draw prio enum format to match TP * Change ItemNo enum format, finish fixing item names * Revert static for cb1 hio * Clean up formatting of profile comments * Fix comment alignment
2026-05-12Add camera attention status and algorythmn enumsLagoLunatic
2026-03-31Use dComIfGp_event_runCheck instead of dComIfGp_event_getMode, remove some ↵LagoLunatic
fakematches
2025-12-29Move daPy methods into d_a_player headersLagoLunatic
2025-09-15Make m_Do_ext fields private, more bmd cleanupLagoLunatic
2025-08-20Use precompiled headers, fix weak data issuesLagoLunatic
2025-07-05Some particle work and cleanupLagoLunatic
2025-06-09Cleanup player structLagoLunatic
2025-04-27d_attention cleanup, add mDoCPd inlinesLagoLunatic
2025-04-27d_attention 100% (#701)Mm2PL
* Add helper functions for d_attention * Copy and adapt code from TP * Move for better matching layout * Clean up includes for d_attention.cpp * Give dAttention_c::nextAttention a return * Use enums in dAttention_c::getActionBtnB and slight reformat * Change return types for comparison code to match I don't love this * Implement dAttList_c::calcWeight * Implement dAttention_c::sortList * Implement dAttDraw_c::draw * Implement dAttDraw_c::setAnm * Implement dAttention_c::chaseAttention * Implement judgement related functions * Implement dAttention_c::Run and runDrawProc * Implement dAttention_c::Draw Actually finish Draw * Looks like dAttention_c::stockAttention had an unused return value * Give d_Attention_c::mLockOnState an enum * Rename field_0x02c to mDrawAttnPos based on TP * Add comments for fields of d_attention * Give d_attention's flags an enum (although without names) * Undo type change for dAttention_c::{chk,set,clr}Flag Co-Authored-By: LagoLunatic <LagoLunatic@users.noreply.github.com> * Do not spell the `this` pointer Co-Authored-By: LagoLunatic <LagoLunatic@users.noreply.github.com> * Deal with resource enums and inlines * Move PLAYER_STATUS_FLAG_MAGIC_JUDGEMENT to daPy__PlayerStatus0 enum * Use inlines and macros * Add mDoCPd_L_LOCK_BUTTON inline, debug maps claim it exists Nothing else uses it * Update TODO comments * Debug maps claim runXyCheckCB was used but it only makes sense if modified * Use dComIfGp_getPlayer instead of directly indexing the array * Locate a few more inlines * Do not cast to AttentionFlags enum type * Update configure script --------- Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2025-04-01player_fan 99%LagoLunatic
2025-03-28Cleanp a bunch of stuffLagoLunatic
2025-03-17Rename J3DFrameCtrl loop mode enumLagoLunatic
See https://github.com/zeldaret/tp/pull/2327/commits/2a284165cf35a2324d36d825add5c06ffa864398
2025-03-08Fix up nonmatching d_attention functionsLagoLunatic
2025-03-08Use cLib on/off bit inlines for attn flagsLagoLunatic
The debug maps indicate these inlines were pretty much always used when these flags are ORed or ANDed (but not when checked or set).
2025-03-01Implement dCom attention inlinesLagoLunatic
2025-02-23Various cleanupLagoLunatic
2025-01-06Add item button enum and talk button enumLagoLunatic
2024-07-12Add fpc_ProcID type and use it for all process IDsLagoLunatic
See https://github.com/zeldaret/tp/pull/2173
2024-07-04Add developer-specific macros for g_regHIO child registersLagoLunatic
2024-06-22Use NULL macro in asserts, fix NULL macro to matchLagoLunatic
2024-04-24Started using resource enums for old actorsLagoLunatic
2024-04-17Add enum for attention typesLagoLunatic
2024-03-11Standardize process ID type to be uintLagoLunatic
2024-03-11Add uint typedefLagoLunatic
2024-03-11minor inline cleanupLagoLunatic
2024-03-09d_demo workLagoLunatic
2024-03-08rename fopAc_ac_c member vars to match TP decompLagoLunatic
2024-01-17d_timer workJasper St. Pierre
2024-01-15d_a_player_main workLagoLunatic
2024-01-14d_attention workJasper St. Pierre
2023-12-30use enums and inlines in more placesLagoLunatic
2023-12-20make function signatures more consistentJcw87
2023-12-02d_attention workJasper St. Pierre
2023-11-29d_com_inf_game progressLagoLunatic
2023-09-23d_attention workJasper St. Pierre
2023-09-10Import projectLuke Street
Original repository: https://github.com/encounter/ww