mirror of
https://github.com/zeldaret/ph
synced 2026-06-28 02:23:04 -04:00
Move ov004 documentation from Ghidra
This commit is contained in:
@@ -127,6 +127,8 @@ public:
|
||||
s32 Get_PlayerLinkBase_Unk38();
|
||||
DebugHierarchy *GetDebugHierarchy0();
|
||||
DebugHierarchy *GetDebugHierarchy1();
|
||||
|
||||
LinkStateBase(PlayerLinkBase *link);
|
||||
};
|
||||
|
||||
LinkStateBase *GetLinkState(s32 index);
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
|
||||
@@ -37,4 +37,6 @@ public:
|
||||
LinkStateCutscene *GetLinkStateCutscene();
|
||||
bool func_ov00_020a9180(Vec3p *param1);
|
||||
bool func_ov00_020a9210(Vec3p *param1, Actor *param2);
|
||||
|
||||
LinkStateFollow(PlayerLinkBase *link);
|
||||
};
|
||||
|
||||
@@ -53,4 +53,6 @@ public:
|
||||
void func_ov00_020abc18(ActorRef *ref);
|
||||
bool func_ov00_020abc40();
|
||||
bool func_ov00_020abc78(ActorRef *ref);
|
||||
|
||||
LinkStateInteract(PlayerLinkBase *link);
|
||||
};
|
||||
|
||||
@@ -50,4 +50,6 @@ public:
|
||||
static EquipBombchu *GetEquipBombchu();
|
||||
static LinkStateMove *GetLinkStateMove();
|
||||
bool func_ov00_020abf70();
|
||||
|
||||
LinkStateItem(PlayerLinkBase *link);
|
||||
};
|
||||
|
||||
@@ -29,4 +29,6 @@ public:
|
||||
|
||||
bool func_ov00_020a8f2c();
|
||||
bool func_ov00_020a8f4c();
|
||||
|
||||
LinkStateMove(PlayerLinkBase *link);
|
||||
};
|
||||
|
||||
@@ -43,4 +43,6 @@ public:
|
||||
void func_ov00_020aee58(s16 param1, u16 param2);
|
||||
void func_ov00_020aee84();
|
||||
bool func_ov00_020aeeac();
|
||||
|
||||
LinkStateRoll(PlayerLinkBase *link);
|
||||
};
|
||||
|
||||
@@ -57,6 +57,8 @@ public:
|
||||
bool EquipCollidesWith(Cylinder *cylinder, ItemFlag equipId);
|
||||
s32 EquipItem_vfunc_2c();
|
||||
void SetHealth(s16 health);
|
||||
|
||||
PlayerBase();
|
||||
};
|
||||
|
||||
extern PlayerBase *gPlayer;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user