summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAetias <aetias@outlook.com>2025-01-31 21:38:50 +0100
committerAetias <aetias@outlook.com>2025-01-31 21:38:50 +0100
commit96dd3beb453077749061227cebb40947e110aac1 (patch)
treec05c2cd0702b67fbd33a8c17381680a3a6ac61cf /src
parent280801981c42fac7db0420c6536d26f5d05df3aa (diff)
Move ov014 documentation from Ghidra
Diffstat (limited to 'src')
-rw-r--r--src/00_Core/Actor/Actor.cpp2
-rw-r--r--src/00_Core/Player/LinkStateItem.cpp2
-rw-r--r--src/00_Core/Unknown/UnkStruct_ov000_020beba8.cpp9
-rw-r--r--src/05/Player/LinkStateFollow.cpp2
-rw-r--r--src/14_Land/Actor/Player/ActorArrow.cpp34
-rw-r--r--src/14_Land/Actor/Player/ActorBlast.cpp12
-rw-r--r--src/14_Land/Actor/Player/ActorBomb.cpp24
-rw-r--r--src/14_Land/Player/EquipBomb.cpp6
-rw-r--r--src/14_Land/Player/EquipBombchu.cpp13
-rw-r--r--src/14_Land/Player/EquipBoomerang.cpp12
-rw-r--r--src/14_Land/Player/EquipBow.cpp5
-rw-r--r--src/14_Land/Player/EquipHammer.cpp8
-rw-r--r--src/14_Land/Player/EquipPotion.cpp11
-rw-r--r--src/14_Land/Player/EquipRope.cpp40
-rw-r--r--src/14_Land/Player/EquipScoop.cpp5
-rw-r--r--src/14_Land/Player/PlayerLink.cpp24
16 files changed, 206 insertions, 3 deletions
diff --git a/src/00_Core/Actor/Actor.cpp b/src/00_Core/Actor/Actor.cpp
index d72307f4..3944a710 100644
--- a/src/00_Core/Actor/Actor.cpp
+++ b/src/00_Core/Actor/Actor.cpp
@@ -556,7 +556,7 @@ ARM bool Actor::func_ov00_020c243c(ActorTypeId *actorTypes, Actor **out) {
} break;
case ActorTypeId_Bomb:
- case ActorTypeId_BLST:
+ case ActorTypeId_Blast:
case ActorTypeId_BMTY:
case ActorTypeId_CBLS: {
knockback.mUnk_10 = 6;
diff --git a/src/00_Core/Player/LinkStateItem.cpp b/src/00_Core/Player/LinkStateItem.cpp
index eb4ad1ed..bb6c8f08 100644
--- a/src/00_Core/Player/LinkStateItem.cpp
+++ b/src/00_Core/Player/LinkStateItem.cpp
@@ -40,7 +40,7 @@ ARM void LinkStateItem::OnStateLeave(s32 param1) {
case ItemFlag_BombchuBag:
iVar3 = data_027e103c->func_ov000_020cf01c();
if (*(u8 *) (iVar3 + 0xe0) == '\0') {
- func_ov014_0213ec64((s32) GetEquipBombchu());
+ GetEquipBombchu()->func_ov014_0213ec64();
}
func_ov014_0211fd04(data_027e1098);
break;
diff --git a/src/00_Core/Unknown/UnkStruct_ov000_020beba8.cpp b/src/00_Core/Unknown/UnkStruct_ov000_020beba8.cpp
new file mode 100644
index 00000000..8830b4c1
--- /dev/null
+++ b/src/00_Core/Unknown/UnkStruct_ov000_020beba8.cpp
@@ -0,0 +1,9 @@
+#include "Unknown/UnkStruct_ov000_020beba8.hpp"
+
+UnkStruct_ov000_020beba8::UnkStruct_ov000_020beba8(unk32 param1) {}
+void UnkStruct_ov000_020beba8::vfunc_04(unk16 *param1) {}
+void UnkStruct_ov000_020beba8::vfunc_08(unk16 *param1) {}
+void UnkStruct_ov000_020beba8::vfunc_0c(s32 *param1) {}
+void UnkStruct_ov000_020beba8::vfunc_14(s32 *param1) {}
+void UnkStruct_ov000_020beba8::vfunc_10(u16 *param1) {}
+UnkStruct_ov000_020beba8::~UnkStruct_ov000_020beba8() {}
diff --git a/src/05/Player/LinkStateFollow.cpp b/src/05/Player/LinkStateFollow.cpp
index 7ad2d7e9..7b1dda53 100644
--- a/src/05/Player/LinkStateFollow.cpp
+++ b/src/05/Player/LinkStateFollow.cpp
@@ -2,7 +2,7 @@
#include "Player/LinkStateCutscene.hpp"
void LinkStateFollow::OnStateEnter() {}
-EquipRope *GetEquipRope() {}
+EquipRope *LinkStateFollow::GetEquipRope() {}
void LinkStateFollow::vfunc_1c() {}
void LinkStateFollow::func_ov005_0210b9c4() {}
void LinkStateFollow::func_ov005_0210ba98() {}
diff --git a/src/14_Land/Actor/Player/ActorArrow.cpp b/src/14_Land/Actor/Player/ActorArrow.cpp
new file mode 100644
index 00000000..48d27797
--- /dev/null
+++ b/src/14_Land/Actor/Player/ActorArrow.cpp
@@ -0,0 +1,34 @@
+#include "Actor/Player/ActorArrow.hpp"
+#include "Player/EquipShield.hpp"
+#include "Unknown/UnkStruct_ov000_020beba8.hpp"
+
+ActorType ActorArrow::gType = ActorType(ActorTypeId_Arrow, (ActorCreateFunc) ActorArrow::Create, NULL);
+
+UnkStruct_ov000_020beba8 data_ov014_0215abec = UnkStruct_ov000_020beba8(0);
+
+ActorArrow *ActorArrow::Create() {}
+void ActorArrow::func_ov014_0211fd80(unk32 param1) {}
+void ActorArrow::func_ov014_0211fd90() {}
+ActorArrow::ActorArrow() {}
+ActorArrow::~ActorArrow() {}
+bool ActorArrow::vfunc_08() {}
+bool ActorArrow::CollidesWith(Actor *other) {}
+void ActorArrow::func_ov014_021200d4() {}
+void ActorArrow::func_ov014_02120118() {}
+bool ActorArrow::func_ov014_02120180() {}
+EquipRope *ActorArrow::GetEquipRope() {}
+void ActorArrow::vfunc_14(u32 param1) {}
+void func_ov014_02120774(u32 *param1, s32 param2) {}
+void ActorArrow::vfunc_18(u32 param1) {}
+void ActorArrow::vfunc_10(u32 param1) {}
+void ActorArrow::func_ov014_021207b8(ActorRef *ref, s32 param2, s32 param3) {}
+void ActorArrow::func_ov014_02120998(ActorRef *ref, q20 x, q20 y, q20 z, s16 param5) {}
+void func_ov014_02120a80(s32 param1, ActorArrow *arrow) {}
+void ActorArrow::func_ov014_02120ac4(unk32 param1, bool param2) {}
+void ActorArrow::func_ov014_02120c98(Vec3p *param1) {}
+void ActorArrow::func_ov014_02120d58() {}
+void ActorArrow::func_ov014_02120da8() {}
+bool ActorArrow::func_ov014_02120dec(unk32 param1) {}
+bool ActorArrow::vfunc_48(Knockback *param1) {}
+EquipShield *GetEquipShield() {}
+void ActorArrow::vfunc_20(bool param1) {} \ No newline at end of file
diff --git a/src/14_Land/Actor/Player/ActorBlast.cpp b/src/14_Land/Actor/Player/ActorBlast.cpp
new file mode 100644
index 00000000..f8369b18
--- /dev/null
+++ b/src/14_Land/Actor/Player/ActorBlast.cpp
@@ -0,0 +1,12 @@
+#include "Actor/Player/ActorBlast.hpp"
+
+ActorType ActorBlast::gType = ActorType(ActorTypeId_Blast, (ActorCreateFunc) ActorBlast::Create, NULL);
+
+ActorBlast *ActorBlast::Create() {}
+void ActorBlast_Unk1::vfunc_0c(s32 *param1) {}
+ActorBlast::ActorBlast() {}
+ActorBlast::~ActorBlast() {}
+bool ActorBlast::vfunc_08() {}
+void ActorBlast::vfunc_14(u32 param1) {}
+ActorBlast_Unk1::~ActorBlast_Unk1() {}
+void ActorBlast::vfunc_18(u32 param1) {}
diff --git a/src/14_Land/Actor/Player/ActorBomb.cpp b/src/14_Land/Actor/Player/ActorBomb.cpp
new file mode 100644
index 00000000..62454cce
--- /dev/null
+++ b/src/14_Land/Actor/Player/ActorBomb.cpp
@@ -0,0 +1,24 @@
+#include "Actor/Player/ActorBomb.hpp"
+
+ActorType ActorBomb::gType = ActorType(ActorTypeId_Bomb, (ActorCreateFunc) ActorBomb::Create, NULL);
+
+ActorBomb *ActorBomb::Create() {}
+void ActorBomb_Unk1::vfunc_08(unk16 *param1) {}
+void ActorBomb_Unk1::vfunc_0c(s32 *param1) {}
+ActorBomb::ActorBomb() {}
+ActorBomb_Unk2::~ActorBomb_Unk2() {}
+ActorBomb::~ActorBomb() {}
+ActorBomb_Unk2::ActorBomb_Unk2() {}
+bool ActorBomb::vfunc_08() {}
+void ActorBomb::vfunc_14(u32 param1) {}
+ActorBomb_Unk1::~ActorBomb_Unk1() {}
+void ActorBomb::vfunc_18(u32 param1) {}
+bool ActorBomb::func_ov014_02122bb8(s32 param1) {}
+void ActorBomb::vfunc_54() {}
+void ActorBomb::vfunc_20(bool param1) {}
+bool ActorBomb::SetVelocity(Vec3p *vel) {}
+bool ActorBomb::func_ov014_02122e48(unk32 *param1) {}
+bool ActorBomb::func_ov014_02122e7c() {}
+bool ActorBomb::func_ov014_02122e98() {}
+bool ActorBomb::func_ov014_02122eb8() {}
+bool ActorBomb::func_ov014_02122ed4() {}
diff --git a/src/14_Land/Player/EquipBomb.cpp b/src/14_Land/Player/EquipBomb.cpp
new file mode 100644
index 00000000..12efed6b
--- /dev/null
+++ b/src/14_Land/Player/EquipBomb.cpp
@@ -0,0 +1,6 @@
+#include "Player/EquipBomb.hpp"
+
+EquipBomb::EquipBomb() {}
+ItemFlag EquipBomb::GetId() const {}
+EquipBomb::~EquipBomb() {}
+unk32 EquipBomb::vfunc_50() {}
diff --git a/src/14_Land/Player/EquipBombchu.cpp b/src/14_Land/Player/EquipBombchu.cpp
new file mode 100644
index 00000000..5ebfe5b8
--- /dev/null
+++ b/src/14_Land/Player/EquipBombchu.cpp
@@ -0,0 +1,13 @@
+#include "Player/EquipBombchu.hpp"
+
+EquipBombchu::EquipBombchu() {}
+EquipBombchu_Unk1::EquipBombchu_Unk1() {}
+EquipBombchu::~EquipBombchu() {}
+void EquipBombchu::func_ov014_0213eba4() {}
+void EquipBombchu::func_ov014_0213ec40() {}
+void EquipBombchu::func_ov014_0213ec64() {}
+ItemFlag EquipBombchu::GetId() const {}
+void EquipBombchu::vfunc_34(unk16 *param1) {}
+Actor *EquipBombchu::func_ov014_0213ed74() {}
+void *EquipBombchu::func_ov014_0213ed94(s32 param1) {}
+void EquipBombchu::func_ov014_0213eda0() {}
diff --git a/src/14_Land/Player/EquipBoomerang.cpp b/src/14_Land/Player/EquipBoomerang.cpp
new file mode 100644
index 00000000..004379f4
--- /dev/null
+++ b/src/14_Land/Player/EquipBoomerang.cpp
@@ -0,0 +1,12 @@
+#include "Player/EquipBoomerang.hpp"
+
+EquipBoomerang::EquipBoomerang() {}
+EquipBoomerang::~EquipBoomerang() {}
+bool EquipBoomerang::UpdateInUse(unk32 param1) {}
+void EquipBoomerang::vfunc_10() {}
+void EquipBoomerang::func_ov014_0213d098() {}
+void EquipBoomerang::func_ov014_0213d0bc(Vec3p *param1) {}
+Actor *EquipBoomerang::GetActor() {}
+ItemFlag EquipBoomerang::GetId() const {}
+void EquipBoomerang::func_ov014_0213d184() {}
+void EquipBoomerang::func_ov014_0213d1b0() {}
diff --git a/src/14_Land/Player/EquipBow.cpp b/src/14_Land/Player/EquipBow.cpp
new file mode 100644
index 00000000..609985b6
--- /dev/null
+++ b/src/14_Land/Player/EquipBow.cpp
@@ -0,0 +1,5 @@
+#include "Player/EquipBow.hpp"
+
+EquipBow::EquipBow() {}
+EquipBow::~EquipBow() {}
+ItemFlag EquipBow::GetId() const {}
diff --git a/src/14_Land/Player/EquipHammer.cpp b/src/14_Land/Player/EquipHammer.cpp
new file mode 100644
index 00000000..6a59f82a
--- /dev/null
+++ b/src/14_Land/Player/EquipHammer.cpp
@@ -0,0 +1,8 @@
+#include "Player/EquipHammer.hpp"
+
+EquipHammer::EquipHammer() {}
+EquipHammer::~EquipHammer() {}
+void EquipHammer::vfunc_10() {}
+ItemFlag EquipHammer::GetId() const {}
+bool EquipHammer::GetHitbox(Cylinder *hitbox) const {}
+s32 EquipHammer::vfunc_4c() const {}
diff --git a/src/14_Land/Player/EquipPotion.cpp b/src/14_Land/Player/EquipPotion.cpp
new file mode 100644
index 00000000..7cf51cf7
--- /dev/null
+++ b/src/14_Land/Player/EquipPotion.cpp
@@ -0,0 +1,11 @@
+#include "Player/EquipPotion.hpp"
+
+EquipPotion::EquipPotion() {}
+EquipPotion::~EquipPotion() {}
+EquipPotionA::EquipPotionA() {}
+EquipPotionA::~EquipPotionA() {}
+ItemFlag EquipPotionA::GetId() const {}
+EquipPotionB::EquipPotionB() {}
+EquipPotionB::~EquipPotionB() {}
+ItemFlag EquipPotionB::GetId() const {}
+bool EquipPotion::IsUsable(unk32 param1) const {}
diff --git a/src/14_Land/Player/EquipRope.cpp b/src/14_Land/Player/EquipRope.cpp
new file mode 100644
index 00000000..ee5c2da8
--- /dev/null
+++ b/src/14_Land/Player/EquipRope.cpp
@@ -0,0 +1,40 @@
+#include "Player/EquipRope.hpp"
+
+void func_ov014_0213d230(unk32 param1, s32 param2) {}
+bool func_ov013_0213d248(s32 param1) {}
+EquipRope::EquipRope() {}
+void func_ov014_0213d2e8() {}
+void func_ov014_0213d2ec(s32 param1) {}
+EquipRope::~EquipRope() {}
+void EquipRope::vfunc_10() {}
+ItemFlag EquipRope::GetId() const {}
+bool EquipRope::func_ov014_0213d3d4(Vec3p *vec) {}
+void EquipRope::func_ov014_0213d404(unk32 *param1) {}
+Actor *EquipRope::func_ov14_0213d420() {}
+s32 EquipRope::func_ov14_0213d440(s32 actorId) {}
+s32 EquipRope::func_ov14_0213d480(s32 actorId) {}
+bool EquipRope::func_ov014_0213d4c8() {}
+bool EquipRope::func_ov014_0213d4ec(unk32 *param1, s32 param2) {}
+s32 EquipRope::func_ov014_0213d594(s32 param1) {}
+bool EquipRope::func_ov014_0213d5d0(unk32 *param1, s32 param2) {}
+s32 EquipRope::func_ov014_0213d63c(s32 param1) {}
+bool EquipRope::func_ov014_0213d684() {}
+bool EquipRope::func_ov014_0213d6e0() {}
+bool EquipRope::func_ov014_0213d71c(s32 param1, ActorRef *param2) {}
+bool EquipRope::func_ov014_0213d788(s32 param1) {}
+bool EquipRope::func_ov14_0213d81c(s32 index, Vec3p *vec) {}
+void EquipRope::func_ov14_0213d91c(s32 index) {}
+bool EquipRope::func_ov014_0213d9ac() {}
+bool EquipRope::func_ov14_0213dadc(s32 index, Cylinder *cylinder) {}
+void EquipRope::func_ov014_0213db34() {}
+void EquipRope::func_ov014_0213db60() {}
+void EquipRope::func_ov014_0213dba4(Vec3p *param1) {}
+s32 EquipRope::func_ov014_0213dda0() {}
+s32 EquipRope::func_ov14_0213ddd4(Actor *actor) {}
+bool EquipRope::func_ov14_0213defc(Actor *actor) {}
+bool EquipRope::func_ov014_0213dfbc(Cylinder *cylinder, s32 param2, Vec3p *vec) {}
+void EquipRope::func_ov014_0213e144(Vec3p *param1, Vec3p *param2, s32 param3) {}
+bool EquipRope::func_ov014_0213e20c(s32 param1, Vec3p *param2) {}
+bool EquipRope::func_ov014_0213e328() {}
+void func_ov014_0213e544(s32 param1, unk32 param2) {}
+void func_ov014_0213e55c(unk32 *param1) {}
diff --git a/src/14_Land/Player/EquipScoop.cpp b/src/14_Land/Player/EquipScoop.cpp
new file mode 100644
index 00000000..12cf112e
--- /dev/null
+++ b/src/14_Land/Player/EquipScoop.cpp
@@ -0,0 +1,5 @@
+#include "Player/EquipScoop.hpp"
+
+EquipScoop::EquipScoop() {}
+EquipScoop::~EquipScoop() {}
+ItemFlag EquipScoop::GetId() const {}
diff --git a/src/14_Land/Player/PlayerLink.cpp b/src/14_Land/Player/PlayerLink.cpp
new file mode 100644
index 00000000..3de34d13
--- /dev/null
+++ b/src/14_Land/Player/PlayerLink.cpp
@@ -0,0 +1,24 @@
+#include "Player/PlayerLink.hpp"
+
+PlayerLink *PlayerLink::Create() {}
+PlayerLink *PlayerLink::GetInstance() {}
+void PlayerLink::func_ov014_0213eef0(s32 param1) {}
+LinkStateCutscene *PlayerLink::GetLinkStateCutscene() {}
+PlayerLink::PlayerLink() {}
+PlayerLink::~PlayerLink() {}
+void PlayerLink::Init() {}
+bool PlayerLink::vfunc_04() {}
+unk32 PlayerLink::vfunc_78() {}
+void PlayerLink::ResetUnk_5e() {}
+void PlayerLink::vfunc_2c(s32 param1, unk8 param2) {}
+void PlayerLink::UpdatePos() {}
+void PlayerLink::func_ov014_0213f37c() {}
+void PlayerLink::vfunc_74() {}
+void PlayerLink::OnDeath(bool param1) {}
+void PlayerLink::vfunc_7c() {}
+void PlayerLink::AddHealth(s16 amount) {}
+void PlayerLink::vfunc_68() {}
+LinkStateItem *PlayerLink::GetLinkStateItem() {}
+void PlayerLink::func_ov014_0213f734(unk32 *param1, UnkStruct_027e0fd4 *param2) {}
+void PlayerLink::func_ov014_0213f740() {}
+void PlayerLink::func_ov014_0213f97c() {}