ovl_En_Mkk Decompiled (#959)

* progress

* all functions matching

* fixes

* progress

* ovl_En_Mkk Decompiled

* format

* spec

* pr review

* pr review

* format

* pr review
This commit is contained in:
Alejandro Asenjo
2022-08-04 05:42:00 +01:00
committed by GitHub
parent 7412ac7e8b
commit 8f7f3d24c7
3 changed files with 523 additions and 42 deletions
+1 -2
View File
@@ -2810,8 +2810,7 @@ beginseg
name "ovl_En_Mkk"
compress
include "build/src/overlays/actors/ovl_En_Mkk/z_en_mkk.o"
include "build/data/ovl_En_Mkk/ovl_En_Mkk.data.o"
include "build/data/ovl_En_Mkk/ovl_En_Mkk.reloc.o"
include "build/src/overlays/actors/ovl_En_Mkk/ovl_En_Mkk_reloc.o"
endseg
beginseg
File diff suppressed because it is too large Load Diff
+17 -1
View File
@@ -3,6 +3,10 @@
#include "global.h"
#define ENMKK_GET_2(thisx) ((thisx)->params & 2)
#define ENMKK_GET_4(thisx) ((thisx)->params & 4)
#define ENMKK_GET_FF00(thisx) (((thisx)->params >> 8) & 0xFF)
struct EnMkk;
typedef void (*EnMkkActionFunc)(struct EnMkk*, PlayState*);
@@ -10,7 +14,19 @@ typedef void (*EnMkkActionFunc)(struct EnMkk*, PlayState*);
typedef struct EnMkk {
/* 0x000 */ Actor actor;
/* 0x144 */ EnMkkActionFunc actionFunc;
/* 0x148 */ char unk_148[0x8C];
/* 0x148 */ u8 primColorSelect;
/* 0x149 */ u8 unk_149;
/* 0x14A */ u8 alpha;
/* 0x14B */ u8 unk_14B;
/* 0x14C */ u8 unk_14C;
/* 0x14E */ s16 unk_14E;
/* 0x150 */ s16 unk_150;
/* 0x152 */ s16 unk_152;
/* 0x154 */ Vec3f unk_154;
/* 0x160 */ Vec3f unk_160;
/* 0x16C */ Vec3f unk_16C;
/* 0x178 */ f32 unk_178;
/* 0x17C */ ColliderSphere collider;
} EnMkk; // size = 0x1D4
extern const ActorInit En_Mkk_InitVars;