summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAetias <aetias@outlook.com>2024-03-24 19:07:13 +0100
committerAetias <aetias@outlook.com>2024-03-24 19:07:13 +0100
commit44ca783b691cbc2479104a7d85aa5d0770598935 (patch)
tree9ecac262e8018b47ebd41a2d18f97892222de865 /include
parentadbb175cc9011c60cb7ece4788771d56e5195a58 (diff)
Add `LinkStateItem.cpp`
Diffstat (limited to 'include')
-rw-r--r--include/Player/LinkStateItem.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/Player/LinkStateItem.hpp b/include/Player/LinkStateItem.hpp
index 4cef7c4f..680ebbd9 100644
--- a/include/Player/LinkStateItem.hpp
+++ b/include/Player/LinkStateItem.hpp
@@ -4,6 +4,8 @@
#include "types.h"
#include "Player/LinkStateBase.hpp"
+#include "Player/LinkStateMove.hpp"
+#include "Player/EquipBombchu.hpp"
#include "Item/Item.hpp"
class LinkStateItem : public LinkStateBase {
@@ -35,7 +37,7 @@ public:
/* 00 */ virtual void vfunc_00() override;
/* 04 */ virtual ~LinkStateItem() override;
- /* 0c */ virtual LinkStateId GetId() = 0 override;
+ /* 0c */ virtual LinkStateId GetId() override;
/* 14 */ virtual void OnStateEnter() override;
/* 18 */ virtual void OnStateLeave(s32 param1) override;
/* 1c */ virtual void vfunc_1c() override;
@@ -43,4 +45,9 @@ public:
/* 24 */ virtual bool vfunc_24(s32 param1) override;
/* 28 */ virtual bool vfunc_28() override;
/* 44 */
+
+ s32 IsHammerEquipped(); // returns 0 if hammer is equipped, otherwise -1
+ EquipBombchu* GetEquipBombchu();
+ LinkStateMove* GetLinkStateMove();
+ bool func_ov00_020abf70();
};