Files
tww/include/d
Mm2PL 4d1cb33cd8 d_attention 100% (#701)
* 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-27 15:12:46 -04:00
..
2025-03-28 20:44:06 -04:00
2025-04-27 15:12:46 -04:00
2024-03-01 01:21:27 -05:00
2025-03-06 01:12:50 -05:00
2025-03-28 20:44:06 -04:00
2025-04-11 16:37:42 -04:00
2025-04-11 16:37:42 -04:00
2025-04-11 16:37:42 -04:00
2025-04-11 16:37:42 -04:00
2025-04-11 16:37:42 -04:00
2024-02-05 20:48:25 -05:00
2023-10-09 15:45:46 -04:00
2025-03-07 17:40:54 -05:00
2025-04-11 16:37:42 -04:00
2025-04-19 15:19:57 -04:00
2024-10-31 16:58:37 -04:00
2025-04-11 16:37:42 -04:00
2024-02-09 13:55:31 -05:00
2025-02-19 19:48:55 -05:00
2025-04-27 15:12:46 -04:00
2025-04-16 13:23:21 -04:00
2023-12-29 17:17:18 -05:00
2025-03-28 22:35:13 -04:00
2025-04-11 16:37:42 -04:00
2024-03-10 20:57:14 -07:00
2023-10-21 15:43:26 -07:00
2025-04-25 20:44:34 -04:00
2025-01-31 15:49:44 -05:00
2024-12-27 12:23:32 -08:00
2025-04-03 17:34:13 -04:00
2025-04-13 23:21:01 -04:00
2023-09-23 03:47:34 -07:00
2023-11-28 20:35:06 -08:00
2025-02-23 19:59:54 -05:00
2024-09-02 23:31:19 -07:00
2024-10-07 23:38:54 -04:00
2024-02-25 13:48:17 -08:00
2024-03-10 20:57:14 -07:00
2024-01-16 17:18:38 -05:00
2024-01-16 17:18:38 -05:00
2024-01-16 17:18:38 -05:00
2024-01-16 17:18:38 -05:00
2024-01-16 17:18:38 -05:00
2025-01-31 15:49:44 -05:00
2024-01-16 17:18:38 -05:00
2025-04-17 12:16:48 -07:00
2024-03-01 01:21:27 -05:00
2024-03-01 01:21:27 -05:00
2025-03-16 19:04:00 -04:00
2023-12-20 19:04:09 -08:00
2024-07-13 10:45:21 -07:00
2025-03-28 20:44:06 -04:00
2025-03-28 20:31:04 -04:00
2024-03-01 01:21:27 -05:00
2023-10-13 13:07:18 -07:00
2024-07-02 16:31:05 -07:00
2025-01-31 15:49:44 -05:00
2024-02-25 21:56:33 -08:00
2024-02-26 15:13:17 -05:00
2023-09-10 01:16:37 -07:00
2024-03-01 01:21:27 -05:00
2023-11-26 16:21:56 -08:00
2024-04-13 15:16:15 -04:00
2025-04-11 16:37:42 -04:00
2025-04-16 13:23:21 -04:00
2024-03-01 01:21:27 -05:00
2024-02-29 20:00:41 -05:00