diff options
| author | Aetias <aetias@outlook.com> | 2024-05-03 15:35:43 +0200 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-05-03 15:35:43 +0200 |
| commit | cdf3bb7553cccec867256d6713ca77c8cf3cbd26 (patch) | |
| tree | 1367270fbeee50d6405588af8b15cb5e732f8b7c /include/Map/TriggerBase.hpp | |
| parent | 6bce0e739d89da2f75149e4cab11393866b7427e (diff) | |
| parent | 5c08baf1c24e50891ea12e8dcd0038c935875631 (diff) | |
Merge branch 'main' into fix-build
Diffstat (limited to 'include/Map/TriggerBase.hpp')
| -rw-r--r-- | include/Map/TriggerBase.hpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/include/Map/TriggerBase.hpp b/include/Map/TriggerBase.hpp new file mode 100644 index 00000000..03046e71 --- /dev/null +++ b/include/Map/TriggerBase.hpp @@ -0,0 +1,40 @@ +#pragma once + +#include "global.h" +#include "types.h" + +#include "System/SysNew.hpp" + +struct TriggerParams { + /* 0 */ s8 id; + /* 1 */ unk8 zMin; + /* 2 */ unk8 zMax; + /* 3 */ unk8 xMin; + /* 4 */ unk8 xMax; + /* 5 */ bool isAABB_Unk1; + /* 6 */ s8 mUnk_6; + /* 7 */ s8 mUnk_7; + /* 8 */ s8 mUnk_8; + /* 9 */ bool isAABB_Unk2; + /* a */ bool isSphere; + /* b */ +}; + +class TriggerBase : public SysObject { + /* 00 (vtable) */ + /* 04 */ unk8 mUnk_04; + /* 05 */ u8 mId; + /* 06 */ unk8 mUnk_06[2]; + /* 08 */ u32 mUnk_08; + /* 0c */ u32 mUnk_0c; + /* 10 */ u32 mUnk_10; + /* 14 */ + + /* 00 */ virtual ~TriggerBase(); + /* 08 */ void vfunc_08(); + /* 0c */ unk32 vfunc_0c(); + /* 10 */ unk32 vfunc_10(); + /* 14 */ bool Overlaps(); + /* 18 */ bool GetBoundingBox(); + /* 1c */ +}; |
