summaryrefslogtreecommitdiff
path: root/include/m_Do/m_Do_controller_pad.h
AgeCommit message (Collapse)Author
2 daysUse CPad macros when accessing controller fieldsLagoLunatic
2026-07-02d_message mostly done (#1097)TakaRikka
* d_message mostly done * fopMsgM_selectMessageGet fix
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>
2023-11-26Use struct bitfields for pad buttons, matching several functionsLagoLunatic
2023-09-15work on m_Do_controller_pad / m_Do_gba_com (#36)TakaRikka
2023-09-14work on d_s_play (#31)TakaRikka
* work on d_s_play * some fixes
2023-09-10m_Do_main OKTakaRikka
2023-09-10Import projectLuke Street
Original repository: https://github.com/encounter/ww