Fix actor struct offsets (#463)

* Fix offsets

* Bell

Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
This commit is contained in:
Maide
2021-12-19 20:21:27 +00:00
committed by GitHub
co-authored by Anghelo Carvajal
parent a7cece0fca
commit 985852f837
60 changed files with 65 additions and 65 deletions
@@ -10,7 +10,7 @@ typedef void (*BgDyYoseizoActionFunc)(struct BgDyYoseizo*, GlobalContext*);
typedef struct BgDyYoseizo {
/* 0x0000 */ Actor actor;
/* 0x0144 */ BgDyYoseizoActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x33BC];
/* 0x0148 */ char unk_148[0x33BC];
} BgDyYoseizo; // size = 0x3504
extern const ActorInit Bg_Dy_Yoseizo_InitVars;
@@ -10,7 +10,7 @@ typedef void (*BgFireWallActionFunc)(struct BgFireWall*, GlobalContext*);
typedef struct BgFireWall {
/* 0x0000 */ Actor actor;
/* 0x0144 */ BgFireWallActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x68];
/* 0x0148 */ char unk_148[0x68];
} BgFireWall; // size = 0x1B0
extern const ActorInit Bg_Fire_Wall_InitVars;
@@ -10,7 +10,7 @@ typedef void (*BgSpoutFireActionFunc)(struct BgSpoutFire*, GlobalContext*);
typedef struct BgSpoutFire {
/* 0x0000 */ Actor actor;
/* 0x0144 */ BgSpoutFireActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x50];
/* 0x0148 */ char unk_148[0x50];
} BgSpoutFire; // size = 0x198
extern const ActorInit Bg_Spout_Fire_InitVars;
+2 -2
View File
@@ -40,7 +40,7 @@ typedef struct Boss02 {
/* 0x016C */ s16 unk_016C;
/* 0x0170 */ Vec3f unk_0170;
/* 0x017C */ Vec3f unk_017C;
/* 0x018C */ Vec3f unk_0188;
/* 0x0188 */ Vec3f unk_0188;
/* 0x0194 */ u8 unk_0194;
/* 0x0195 */ u8 unk_0195;
/* 0x0196 */ s16 unk_0196;
@@ -53,7 +53,7 @@ typedef struct Boss02 {
/* 0x01AC */ f32 unk_01AC;
/* 0x01B0 */ Vec3f unk_01B0;
/* 0x01BC */ Vec3f unk_01BC[200];
/* 0x0B1c */ Vec3f unk_0B1C[200];
/* 0x0B1C */ Vec3f unk_0B1C[200];
/* 0x147C */ Vec3f unk_147C[23];
/* 0x1590 */ SkelAnime skelAnime;
/* 0x15D4 */ Vec3s jointTable[13];
+1 -1
View File
@@ -10,7 +10,7 @@ typedef void (*Boss07ActionFunc)(struct Boss07*, GlobalContext*);
typedef struct Boss07 {
/* 0x0000 */ Actor actor;
/* 0x0144 */ Boss07ActionFunc actionFunc;
/* 0x0148 */ char unk_144[0xAAD8];
/* 0x0148 */ char unk_148[0xAAD8];
} Boss07; // size = 0xAC20
extern const ActorInit Boss_07_InitVars;
@@ -13,16 +13,16 @@ typedef struct BossHakuginParticle {
/* 0x18 */ s16 unk_18;
/* 0x1A */ s16 unk_1A;
/* 0x1C */ Vec3s unk_1C;
/* 0x22 */ f32 unk_24;
/* 0x24 */ f32 unk_24;
} BossHakuginParticle; // size = 0x28
typedef struct BossHakugin {
/* 0x0000 */ Actor actor;
/* 0x0144 */ char unk_144[0x44];
/* 0x0144 */ char unk_0144[0x44];
/* 0x0188 */ BossHakuginActionFunc actionFunc;
/* 0x018C */ char unk_18C[0x86C];
/* 0x018C */ char unk_018C[0x86C];
/* 0x09F8 */ BossHakuginParticle unk_9F8[180];
/* 0x0A14 */ char unk_A04[0x2DFC];
/* 0x2618 */ char unk_2618[0x11F8];
} BossHakugin; // size = 0x3810
extern const ActorInit Boss_Hakugin_InitVars;
+1 -1
View File
@@ -10,7 +10,7 @@ typedef void (*DmHinaActionFunc)(struct DmHina*, GlobalContext*);
typedef struct DmHina {
/* 0x0000 */ Actor actor;
/* 0x0144 */ DmHinaActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x3C];
/* 0x0148 */ char unk_148[0x3C];
} DmHina; // size = 0x184
extern const ActorInit Dm_Hina_InitVars;
@@ -10,7 +10,7 @@ typedef void (*EnAob01ActionFunc)(struct EnAob01*, GlobalContext*);
typedef struct EnAob01 {
/* 0x0000 */ Actor actor;
/* 0x0144 */ EnAob01ActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x2FC];
/* 0x0148 */ char unk_148[0x2FC];
} EnAob01; // size = 0x444
extern const ActorInit En_Aob_01_InitVars;
+1 -1
View File
@@ -10,7 +10,7 @@ typedef void (*EnAzActionFunc)(struct EnAz*, GlobalContext*);
typedef struct EnAz {
/* 0x0000 */ Actor actor;
/* 0x0144 */ EnAzActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x290];
/* 0x0148 */ char unk_148[0x290];
} EnAz; // size = 0x3D8
extern const ActorInit En_Az_InitVars;
+1 -1
View File
@@ -10,7 +10,7 @@ typedef void (*EnBatActionFunc)(struct EnBat*, GlobalContext*);
typedef struct EnBat {
/* 0x0000 */ Actor actor;
/* 0x0144 */ EnBatActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x94];
/* 0x0148 */ char unk_148[0x94];
} EnBat; // size = 0x1DC
extern const ActorInit En_Bat_InitVars;
@@ -10,7 +10,7 @@ typedef void (*EnBba01ActionFunc)(struct EnBba01*, GlobalContext*);
typedef struct EnBba01 {
/* 0x0000 */ Actor actor;
/* 0x0144 */ EnBba01ActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x4D4];
/* 0x0148 */ char unk_148[0x4D4];
} EnBba01; // size = 0x61C
extern const ActorInit En_Bba_01_InitVars;
@@ -10,7 +10,7 @@ typedef void (*EnBomChuActionFunc)(struct EnBomChu*, GlobalContext*);
typedef struct EnBomChu {
/* 0x0000 */ Actor actor;
/* 0x0144 */ EnBomChuActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x98];
/* 0x0148 */ char unk_148[0x98];
} EnBomChu; // size = 0x1E0
extern const ActorInit En_Bom_Chu_InitVars;
@@ -10,7 +10,7 @@ typedef void (*EnBombalActionFunc)(struct EnBombal*, GlobalContext*);
typedef struct EnBombal {
/* 0x0000 */ Actor actor;
/* 0x0144 */ EnBombalActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x28FC];
/* 0x0148 */ char unk_148[0x28FC];
} EnBombal; // size = 0x2A44
extern const ActorInit En_Bombal_InitVars;
@@ -10,7 +10,7 @@ typedef void (*EnBubbleActionFunc)(struct EnBubble*, GlobalContext*);
typedef struct EnBubble {
/* 0x0000 */ Actor actor;
/* 0x0144 */ EnBubbleActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x110];
/* 0x0148 */ char unk_148[0x110];
} EnBubble; // size = 0x258
extern const ActorInit En_Bubble_InitVars;
@@ -10,7 +10,7 @@ typedef void (*EnCne01ActionFunc)(struct EnCne01*, GlobalContext*);
typedef struct EnCne01 {
/* 0x0000 */ Actor actor;
/* 0x0144 */ EnCne01ActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x4D4];
/* 0x0148 */ char unk_148[0x4D4];
} EnCne01; // size = 0x61C
extern const ActorInit En_Cne_01_InitVars;
@@ -10,7 +10,7 @@ typedef void (*EnColManActionFunc)(struct EnColMan*, GlobalContext*);
typedef struct EnColMan {
/* 0x0000 */ Actor actor;
/* 0x0144 */ EnColManActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x58];
/* 0x0148 */ char unk_148[0x58];
} EnColMan; // size = 0x1A0
extern const ActorInit En_Col_Man_InitVars;
@@ -20,7 +20,7 @@ typedef struct EnDinofos {
/* 0x28C */ s16 unk_28C;
/* 0x28E */ s16 unk_28E;
/* 0x290 */ s16 unk_290;
/* 0x290 */ s16 unk_292;
/* 0x292 */ s16 unk_292;
/* 0x294 */ UNK_TYPE1 unk_294[4];
/* 0x298 */ s16 camId;
/* 0x29A */ Vec3s unk_29A;
+1 -1
View File
@@ -10,7 +10,7 @@ typedef void (*EnDnhActionFunc)(struct EnDnh*, GlobalContext*);
typedef struct EnDnh {
/* 0x0000 */ Actor actor;
/* 0x0144 */ EnDnhActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x74];
/* 0x0148 */ char unk_148[0x74];
} EnDnh; // size = 0x1BC
extern const ActorInit En_Dnh_InitVars;
@@ -10,7 +10,7 @@ typedef void (*EnEncount1ActionFunc)(struct EnEncount1*, GlobalContext*);
typedef struct EnEncount1 {
/* 0x0000 */ Actor actor;
/* 0x0144 */ EnEncount1ActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x1C];
/* 0x0148 */ char unk_148[0x1C];
} EnEncount1; // size = 0x164
extern const ActorInit En_Encount1_InitVars;
@@ -10,7 +10,7 @@ typedef void (*EnEncount3ActionFunc)(struct EnEncount3*, GlobalContext*);
typedef struct EnEncount3 {
/* 0x0000 */ Actor actor;
/* 0x0144 */ EnEncount3ActionFunc actionFunc;
/* 0x0148 */ char unk_144[0x84];
/* 0x0148 */ char unk_148[0x84];
} EnEncount3; // size = 0x1CC
extern const ActorInit En_Encount3_InitVars;

Some files were not shown because too many files have changed in this diff Show More