summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAetias <aetias@outlook.com>2024-04-17 23:07:01 +0200
committerAetias <aetias@outlook.com>2024-04-17 23:07:01 +0200
commit897bf1d049a149f7dfb2d2fa79be5aff58012c1e (patch)
tree3a4026ba7df7154d14dbd542bf5cc809c61fa559 /include
parent9889b694681c38013ca9e9bfa8d02461870abc7e (diff)
Add `HealthManager`
Diffstat (limited to 'include')
-rw-r--r--include/Player/HealthManager.hpp22
1 files changed, 22 insertions, 0 deletions
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;