summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-05-25 21:36:15 +0200
committerGitHub <noreply@github.com>2025-05-25 21:36:15 +0200
commit018ef1971cd53aa8e78154789bcf6cac2f19b603 (patch)
tree1b0e38e71b0b78c20c122c708366efdf400e69aa /include
parentc1226361edfd15e1b96ae529512e0f30a974d8fa (diff)
parent2c23e69524ba5330c9add666aee12e772876ca3f (diff)
Merge pull request #179 from Orstedra/d_t_gate_to_ground
d_t_gate_to_ground OK
Diffstat (limited to 'include')
-rw-r--r--include/d/d_camera.h1
-rw-r--r--include/d/t/d_t_gate_to_ground.h21
2 files changed, 19 insertions, 3 deletions
diff --git a/include/d/d_camera.h b/include/d/d_camera.h
index ad114811..d641e098 100644
--- a/include/d/d_camera.h
+++ b/include/d/d_camera.h
@@ -6,6 +6,7 @@
extern "C" bool fn_80081FE0(void *, const char *);
extern "C" bool fn_800918E0(void *, s32, s16);
+extern "C" void fn_80080960(void *, s32, s32, s8, s32);
class dCamera_c : public dBase_c {
public:
diff --git a/include/d/t/d_t_gate_to_ground.h b/include/d/t/d_t_gate_to_ground.h
index 5420b738..880417ea 100644
--- a/include/d/t/d_t_gate_to_ground.h
+++ b/include/d/t/d_t_gate_to_ground.h
@@ -1,14 +1,29 @@
#ifndef D_T_GATE_TO_GROUND_H
#define D_T_GATE_TO_GROUND_H
-#include "d/a/d_a_base.h"
+#include "common.h"
+#include "d/t/d_tg.h"
+#include "m/m_mtx.h"
+#include "toBeSorted/actor_event.h"
-class dTgGateToGround_c : public dAcBase_c {
+class dTgGateToGround_c : public dTg_c {
public:
- dTgGateToGround_c() {}
+ dTgGateToGround_c() : mEventRelated(*this, nullptr) {}
virtual ~dTgGateToGround_c() {}
+ virtual int create() override;
+ virtual int doDelete() override; // fn_205_150
+ virtual int actorExecute() override;
+ virtual int actorExecuteInEvent() override;
+ virtual int draw() override; // fn_205_2F0
+
private:
+ /* 0xfc */ ActorEventRelated mEventRelated;
+ /* 0x14c */ mMtx_c matrix;
+ /* 0x17c */ s32 delayFrames;
+ /* 0x180 */ s16 params_FF_FF_00_00;
+ /* 0x182 */ s8 params_00_00_FF_00;
+ /* 0x183 */ s8 params_00_00_00_FF;
};
#endif