diff options
| author | Roland <roland@wildpaws.xyz> | 2026-02-11 21:40:15 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-11 22:40:15 -0500 |
| commit | 2168699559ef523df0e7fb2f25325d052da3d587 (patch) | |
| tree | a0925b52f22127350a5fc5bcc52ca7a35f4354b3 /src/d/d_save.cpp | |
| parent | c79fa65efd8da81cd88665f08620073ab999523d (diff) | |
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
Diffstat (limited to 'src/d/d_save.cpp')
| -rw-r--r-- | src/d/d_save.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/d/d_save.cpp b/src/d/d_save.cpp index d01bbb15..ea5f3c3a 100644 --- a/src/d/d_save.cpp +++ b/src/d/d_save.cpp @@ -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); |
