d_a_npc_rsh1 matching (#927)

* Initial work

* 14% matching in .text
- Add some of the static data
- Match sinit function
- Match HIO constructor
- Match _create
- Match some other trivial functions

* Match CreateHeap

* 20% matching in .text

* 31% matching in .text

* 34% matching in .text

* 38% matching in .text

* 51% matching in .text

* createShopList work

* More createShopList work

* 54% matching in .text: Match createShopList

* 57% matching in .text

* 68% matching in .text

* Variable name updates

* 75% matching in .text

* 81% matching in .text

* Match lookBack

* d_a_npc_rsh1 100% for demo and retail

* Replace magic constants with applicable enums

* Give some member fields trivial names and name some method parameters

* Fix a few renaming errors

* More renaming work

* Rename HIO fields and rest of actor fields

* Replace magic numbers associated with mItemNo
This commit is contained in:
Roland
2026-02-11 21:40:15 -06:00
committed by GitHub
parent c79fa65efd
commit 2168699559
7 changed files with 1840 additions and 145 deletions
File diff suppressed because it is too large Load Diff
+7
View File
@@ -696,6 +696,13 @@ void dSv_player_get_bag_item_c::onReserve(u8 i_no) {
mReserveFlags |= (1 << i_no);
}
#if VERSION == VERSION_DEMO
void dSv_player_get_bag_item_c::offReserve(u8 i_no) {
JUT_ASSERT(1334, 0 <= i_no && i_no < 32);
mReserveFlags &= ~(1 << i_no);
}
#endif
/* 8005ABB4-8005AC48 .text isReserve__25dSv_player_get_bag_item_cFUc */
BOOL dSv_player_get_bag_item_c::isReserve(u8 i_no) {
JUT_ASSERT(DEMO_SELECT(1349, 1355), 0 <= i_no && i_no < 32);