diff options
| author | Aetias <aetias@outlook.com> | 2025-01-25 14:35:02 +0100 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2025-01-25 14:35:02 +0100 |
| commit | aecd9545577a9faf3fe8a578a64872aa4b93a4cd (patch) | |
| tree | 3e9470e0c440660687d71101e873d3d07c83bbbd /include/Player | |
| parent | 1983e335f6a53d78cadc2fcf0ae683c773334369 (diff) | |
Move ov004 documentation from Ghidra
Diffstat (limited to 'include/Player')
| -rw-r--r-- | include/Player/LinkStateBase.hpp | 2 | ||||
| -rw-r--r-- | include/Player/LinkStateCutscene.hpp | 2 | ||||
| -rw-r--r-- | include/Player/LinkStateDamage.hpp | 2 | ||||
| -rw-r--r-- | include/Player/LinkStateFollow.hpp | 2 | ||||
| -rw-r--r-- | include/Player/LinkStateInteract.hpp | 2 | ||||
| -rw-r--r-- | include/Player/LinkStateItem.hpp | 2 | ||||
| -rw-r--r-- | include/Player/LinkStateMove.hpp | 2 | ||||
| -rw-r--r-- | include/Player/LinkStateRoll.hpp | 2 | ||||
| -rw-r--r-- | include/Player/PlayerBase.hpp | 2 | ||||
| -rw-r--r-- | include/Player/PlayerControl.hpp | 8 | ||||
| -rw-r--r-- | include/Player/PlayerControlData.hpp | 2 | ||||
| -rw-r--r-- | include/Player/PlayerLinkBase.hpp | 2 | ||||
| -rw-r--r-- | include/Player/PlayerManager.hpp (renamed from include/Player/HealthManager.hpp) | 11 |
13 files changed, 39 insertions, 2 deletions
diff --git a/include/Player/LinkStateBase.hpp b/include/Player/LinkStateBase.hpp index f3ac5087..b7f7800a 100644 --- a/include/Player/LinkStateBase.hpp +++ b/include/Player/LinkStateBase.hpp @@ -127,6 +127,8 @@ public: s32 Get_PlayerLinkBase_Unk38(); DebugHierarchy *GetDebugHierarchy0(); DebugHierarchy *GetDebugHierarchy1(); + + LinkStateBase(PlayerLinkBase *link); }; LinkStateBase *GetLinkState(s32 index); diff --git a/include/Player/LinkStateCutscene.hpp b/include/Player/LinkStateCutscene.hpp index 52b40e42..3c343b94 100644 --- a/include/Player/LinkStateCutscene.hpp +++ b/include/Player/LinkStateCutscene.hpp @@ -96,4 +96,6 @@ public: void func_ov000_020b3278(s32 param1, s32 *param2); void func_ov000_020b35d8(s32 param1, s32 param2); void func_ov000_020b38dc(u32 param1, u32 param2); + + LinkStateCutscene(PlayerLinkBase *link); }; diff --git a/include/Player/LinkStateDamage.hpp b/include/Player/LinkStateDamage.hpp index 1c59d90e..0e3a70a7 100644 --- a/include/Player/LinkStateDamage.hpp +++ b/include/Player/LinkStateDamage.hpp @@ -48,4 +48,6 @@ class LinkStateDamage : public LinkStateBase { void func_ov00_020ace90(Vec3p *param1, unk32 param2); void func_ov00_020acfe8(bool param1); + + LinkStateDamage(PlayerLinkBase *link); }; diff --git a/include/Player/LinkStateFollow.hpp b/include/Player/LinkStateFollow.hpp index 09de008e..1d9a5403 100644 --- a/include/Player/LinkStateFollow.hpp +++ b/include/Player/LinkStateFollow.hpp @@ -37,4 +37,6 @@ public: LinkStateCutscene *GetLinkStateCutscene(); bool func_ov00_020a9180(Vec3p *param1); bool func_ov00_020a9210(Vec3p *param1, Actor *param2); + + LinkStateFollow(PlayerLinkBase *link); }; diff --git a/include/Player/LinkStateInteract.hpp b/include/Player/LinkStateInteract.hpp index 55081c8a..d0bacf2d 100644 --- a/include/Player/LinkStateInteract.hpp +++ b/include/Player/LinkStateInteract.hpp @@ -53,4 +53,6 @@ public: void func_ov00_020abc18(ActorRef *ref); bool func_ov00_020abc40(); bool func_ov00_020abc78(ActorRef *ref); + + LinkStateInteract(PlayerLinkBase *link); }; diff --git a/include/Player/LinkStateItem.hpp b/include/Player/LinkStateItem.hpp index 0c5f4a4d..d9c6659b 100644 --- a/include/Player/LinkStateItem.hpp +++ b/include/Player/LinkStateItem.hpp @@ -50,4 +50,6 @@ public: static EquipBombchu *GetEquipBombchu(); static LinkStateMove *GetLinkStateMove(); bool func_ov00_020abf70(); + + LinkStateItem(PlayerLinkBase *link); }; diff --git a/include/Player/LinkStateMove.hpp b/include/Player/LinkStateMove.hpp index e56eee3c..a8f8d846 100644 --- a/include/Player/LinkStateMove.hpp +++ b/include/Player/LinkStateMove.hpp @@ -29,4 +29,6 @@ public: bool func_ov00_020a8f2c(); bool func_ov00_020a8f4c(); + + LinkStateMove(PlayerLinkBase *link); }; diff --git a/include/Player/LinkStateRoll.hpp b/include/Player/LinkStateRoll.hpp index 52b42b43..3185f511 100644 --- a/include/Player/LinkStateRoll.hpp +++ b/include/Player/LinkStateRoll.hpp @@ -43,4 +43,6 @@ public: void func_ov00_020aee58(s16 param1, u16 param2); void func_ov00_020aee84(); bool func_ov00_020aeeac(); + + LinkStateRoll(PlayerLinkBase *link); }; diff --git a/include/Player/PlayerBase.hpp b/include/Player/PlayerBase.hpp index 578f3e27..893335bb 100644 --- a/include/Player/PlayerBase.hpp +++ b/include/Player/PlayerBase.hpp @@ -57,6 +57,8 @@ public: bool EquipCollidesWith(Cylinder *cylinder, ItemFlag equipId); s32 EquipItem_vfunc_2c(); void SetHealth(s16 health); + + PlayerBase(); }; extern PlayerBase *gPlayer; diff --git a/include/Player/PlayerControl.hpp b/include/Player/PlayerControl.hpp index d8db3f65..f2cc23eb 100644 --- a/include/Player/PlayerControl.hpp +++ b/include/Player/PlayerControl.hpp @@ -130,6 +130,14 @@ public: void func_ov000_020b7924(s32 param1); void ApplyTouchWorld(Vec3p *result, unk32 scale); bool func_ov000_020b7d6c(); + + PlayerControl(); + ~PlayerControl(); + static void Create(); + static void Destroy(); + void Init(); + void func_ov004_0210b1d0(); + static void func_ov004_0210b1f0(); }; extern PlayerControl *gPlayerControl; diff --git a/include/Player/PlayerControlData.hpp b/include/Player/PlayerControlData.hpp index f309953c..99802698 100644 --- a/include/Player/PlayerControlData.hpp +++ b/include/Player/PlayerControlData.hpp @@ -102,4 +102,6 @@ public: void func_ov000_020b484c(s32 param1, s32 param2, s32 param3); void func_ov000_020b4944(unk32 param1, u32 param2, s32 param3); void func_ov000_020b4a00(s32 *param1, s32 *param2, s32 *param3, s32 param4); + + PlayerControlData(); }; diff --git a/include/Player/PlayerLinkBase.hpp b/include/Player/PlayerLinkBase.hpp index b617920b..e167d4d5 100644 --- a/include/Player/PlayerLinkBase.hpp +++ b/include/Player/PlayerLinkBase.hpp @@ -152,6 +152,8 @@ public: void SetPosition(Vec3p *position); void SetAngle(s16 *angle); bool func_ov000_020bd510(s32 param1, unk32 *param2); + + PlayerLinkBase(); }; extern PlayerLinkBase *gPlayerLink; diff --git a/include/Player/HealthManager.hpp b/include/Player/PlayerManager.hpp index 7e36decc..63d4b303 100644 --- a/include/Player/HealthManager.hpp +++ b/include/Player/PlayerManager.hpp @@ -6,7 +6,7 @@ #include "Save/SaveItemManager.hpp" #include "System/SysNew.hpp" -class HealthManager : public SysObject { +class PlayerManager : public SysObject { public: /* 00 */ u16 mMaxHealth; /* 02 */ u16 mHealth; @@ -22,6 +22,13 @@ public: void Save(SaveItemManager *save); void IncreaseMaxHealth(s16 amount); void UpdateShipMaxHealth(); + + static void Create(); + static void Destroy(); + PlayerManager(); + ~PlayerManager(); + void Init(bool param1); + void func_ov004_02108008(); }; -extern HealthManager *gHealthManager; +extern PlayerManager *gPlayerManager; |
