diff options
| author | robojumper <robojumper@gmail.com> | 2025-11-23 21:00:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-23 21:00:33 +0100 |
| commit | fc4700efd66bc1cea1dbe15e8b3ddd8fe5332e39 (patch) | |
| tree | 2d5ce963d4d14e863caaeaf1aaeca1e373547ff0 /include/d/a | |
| parent | 57557d11285aeff9ffd86c6e57fdc09b62b391d1 (diff) | |
| parent | 88075f00a9a1e021f3eb0e9b88e86a8396ceac17 (diff) | |
Merge pull request #273 from robojumper/d_lyt_control_game
d_lyt_control_game OK
Diffstat (limited to 'include/d/a')
| -rw-r--r-- | include/d/a/d_a_item.h | 9 | ||||
| -rw-r--r-- | include/d/a/d_a_itembase.h | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/d/a/d_a_item.h b/include/d/a/d_a_item.h index 0997fb68..ed78c6c4 100644 --- a/include/d/a/d_a_item.h +++ b/include/d/a/d_a_item.h @@ -105,8 +105,17 @@ public: return sIsPerformingInitialCollection; } + static s32 getCollectionCurrentCount() { + return sCollectionCurrentCount; + } + + s32 getQuantity() const { + return mItemQuantity; + } + private: static bool sIsPerformingInitialCollection; + static s32 sCollectionCurrentCount; /* 0x334 */ UNKTYPE *mpMdl; // Model has its own handling system /* 0x338 */ dShadowCircle_c mShdw; diff --git a/include/d/a/d_a_itembase.h b/include/d/a/d_a_itembase.h index a08c33a2..9f91e60d 100644 --- a/include/d/a/d_a_itembase.h +++ b/include/d/a/d_a_itembase.h @@ -250,6 +250,10 @@ public: static u16 getTearBit(int tearNum); static bool setDungeonFlagForTear(int tearNum); + u16 getItemId_i() const { + return mId; + } + private: u16 mId; |
