From 897bf1d049a149f7dfb2d2fa79be5aff58012c1e Mon Sep 17 00:00:00 2001 From: Aetias Date: Wed, 17 Apr 2024 23:07:01 +0200 Subject: Add `HealthManager` --- include/Player/HealthManager.hpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 include/Player/HealthManager.hpp (limited to 'include') diff --git a/include/Player/HealthManager.hpp b/include/Player/HealthManager.hpp new file mode 100644 index 00000000..5ebb7181 --- /dev/null +++ b/include/Player/HealthManager.hpp @@ -0,0 +1,22 @@ +#pragma once + +#include "global.h" +#include "types.h" + +#include "System/SysNew.hpp" + +class HealthManager : public SysObject { +public: + /* 00 */ u16 mMaxHealth; + /* 02 */ u16 mHealth; + /* 04 */ s16 mMaxShipHealth; + /* 06 */ s16 mShipHealth; + /* 08 */ u16 mSalvageArmHealth; + /* 0a */ s16 mFlags; + /* 0c */ unk16 mUnk_0c; + /* 0e */ unk8 mUnk_0e; + /* 0f */ unk8 mUnk_0f; + /* 10 */ +}; + +extern HealthManager *gHealthManager; -- cgit v1.2.3