summaryrefslogtreecommitdiff
path: root/include/d/d_player_act.h
diff options
context:
space:
mode:
authorlepelog <25211966+lepelog@users.noreply.github.com>2025-12-13 01:23:37 +0100
committerlepelog <25211966+lepelog@users.noreply.github.com>2026-02-01 18:14:38 +0100
commitb017949c4b37acbfea90fdd5641dbdceaee688a7 (patch)
tree1648b752fd8a55070ac3555ea9615e09dd95a7b1 /include/d/d_player_act.h
parent62fc066b605680af84cc921aba070b62e7df8ff7 (diff)
d_t_mass_obj 99%
Diffstat (limited to 'include/d/d_player_act.h')
-rw-r--r--include/d/d_player_act.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/d/d_player_act.h b/include/d/d_player_act.h
index 4d3b9dc2..b8c465dd 100644
--- a/include/d/d_player_act.h
+++ b/include/d/d_player_act.h
@@ -61,8 +61,8 @@ public:
/* vt 0x0C0 */ virtual bool isUsingWhip() const {
return false;
}
- /* vt 0x0C4 */ virtual bool anotherThingWithWhip() {
- return false;
+ /* vt 0x0C4 */ virtual const mVec3_c* anotherThingWithWhip() {
+ return nullptr;
}
/* vt 0x0C8 */ virtual bool somethingWithWHip() {
return false;
@@ -642,7 +642,7 @@ public:
return mAttackDirection == ATTACK_JUMP_SLASH;
}
- u16 getSpecificAttackDirection() const {
+ s32 getSpecificAttackDirection() const {
return mSpecificAttackDirection;
}
@@ -650,6 +650,10 @@ public:
return vt_0x1C0() != nullptr;
}
+ static s32 getCurrentSwordTypeInline() {
+ return sCurrentSword;
+ }
+
static bool isInEvent();
bool isAttackingLeft() const;
bool isAttackingRight() const;