summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2023-10-16 04:07:47 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2023-10-16 04:07:47 -0400
commitdd68ada68442b2f2fd81e460d7b82eab2b87d69b (patch)
treef8e78110be9b4febc4bf2f8fbadcd3d364da19d2 /include
parent4d233e2fe1e6f14fbc54e1d9186e6d9f56f8cbf2 (diff)
d_a_branch_static 100%
Diffstat (limited to 'include')
-rw-r--r--include/d/actor/d_a_branch.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/include/d/actor/d_a_branch.h b/include/d/actor/d_a_branch.h
new file mode 100644
index 00000000..db514964
--- /dev/null
+++ b/include/d/actor/d_a_branch.h
@@ -0,0 +1,43 @@
+#ifndef D_A_BRANCH_H
+#define D_A_BRANCH_H
+
+#include "f_op/f_op_actor.h"
+#include "m_Do/m_Do_ext.h"
+#include "dolphin/types.h"
+#include "d/d_com_inf_game.h"
+
+class daBranch_c : public fopAc_ac_c {
+public:
+ ~daBranch_c() {
+ for (int i = 0; i < 2; i++) {
+ mDoExt_McaMorf* anim = mAnims[i];
+ if (anim != 0) {
+ anim->stopZelAnime();
+ }
+ }
+
+ dComIfG_resDelete(&mPhs, m_arcname);
+ }
+
+ void set_mtx();
+ void set_anim(int, int, int);
+ void demoPlay(mDoExt_McaMorf*);
+
+ s32 CreateHeap();
+ static s32 solidHeapCB(fopAc_ac_c*);
+
+ MtxP getJointMtx(const char*);
+
+ /* 0x0290 */ request_of_phase_process_class mPhs;
+ /* 0x0298 */ J3DModel* mModel[2];
+ /* 0x02A0 */ u8 dummy2[0x08];
+ /* 0x02A8 */ mDoExt_McaMorf* mAnims[2];
+ /* 0x02B0 */ u8 dummy[0x08];
+ /* 0x02B8 */ u32 m02B8;
+ /* 0x02BC */ u8 m02BC;
+ /* 0x02BD */ u8 m02BD;
+
+ static char m_arcname[];
+};
+
+#endif /* D_A_BRANCH_H */