Bg_Hakugin_Post (#258)

* Bg_Hakugin_Post

* PR

* a

* PR

* a
This commit is contained in:
Maide 2021-09-21 23:08:09 +01:00 committed by GitHub
parent 4796e6f61d
commit 5b9a825cad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1045 additions and 58 deletions

View File

@ -834,6 +834,7 @@ void func_800B8E58(Actor* actor, u16 sfxId);
void Audio_PlayActorSound2(Actor* actor, u16 sfxId);
// void func_800B8FC0(void);
void func_800B8F98(Actor* actor, u16 sfxId);
void func_800B8FE8(Actor* actor, u16 sfxId);
void func_800B9010(Actor* actor, u16 sfxId);
// void func_800B9038(void);
// void func_800B9084(void);

4
spec
View File

@ -3295,9 +3295,7 @@ beginseg
name "ovl_Bg_Hakugin_Post"
compress
include "build/src/overlays/actors/ovl_Bg_Hakugin_Post/z_bg_hakugin_post.o"
include "build/data/ovl_Bg_Hakugin_Post/ovl_Bg_Hakugin_Post.data.o"
include "build/data/ovl_Bg_Hakugin_Post/ovl_Bg_Hakugin_Post.bss.o"
include "build/data/ovl_Bg_Hakugin_Post/ovl_Bg_Hakugin_Post.reloc.o"
include "build/src/overlays/actors/ovl_Bg_Hakugin_Post/ovl_Bg_Hakugin_Post_reloc.o"
endseg
beginseg

File diff suppressed because it is too large Load Diff

View File

@ -6,12 +6,68 @@
struct BgHakuginPost;
typedef void (*BgHakuginPostActionFunc)(struct BgHakuginPost*, GlobalContext*);
typedef void (*BgHakuginPostFunc)(struct BgHakuginPost*);
#define BGHAKUGINPOST_GET_7(thisx) ((thisx)->params & 7)
#define BGHAKUGINPOST_GET_7F00(thisx) (((thisx)->params >> 8) & 0x7F)
typedef struct {
/* 0x00 */ s32 unk_00;
/* 0x04 */ ColliderCylinder* collider;
/* 0x08 */ Vec3f unk_08;
/* 0x14 */ Vec3f unk_14;
/* 0x20 */ f32 unk_20;
/* 0x24 */ f32 unk_24;
/* 0x28 */ s16 unk_28;
/* 0x2A */ s16 unk_2A;
/* 0x2C */ s16 unk_2C;
/* 0x2E */ u8 unk_2E;
/* 0x2F */ u8 unk_2F;
/* 0x30 */ s8 unk_30;
/* 0x34 */ s32 unk_34;
} BgHakuginPostUnkStruct1; // size = 0x38
typedef struct {
/* 0x00 */ f32 unk_00;
/* 0x04 */ Vec3f unk_04;
/* 0x10 */ Vec3f unk_10;
/* 0x1C */ f32 unk_1C;
/* 0x20 */ Vec3s unk_20;
/* 0x26 */ s16 unk_26;
/* 0x28 */ s16 unk_28;
/* 0x2A */ s16 unk_2A;
/* 0x2C */ s8 unk_2C;
/* 0x2D */ s8 unk_2D;
} BgHakuginPostUnkStruct2; // size = 0x30
typedef struct {
/* 0x0000 */ BgHakuginPostUnkStruct1 unk_0000[12];
/* 0x02A0 */ s32 count;
/* 0x02A4 */ BgHakuginPostUnkStruct2 unk_02A4[120];
/* 0x1924 */ u8 unk_1924;
} BgHakuginPostUnkStruct; // size = 0x1928
typedef struct {
/* 0x0000 */ ColliderCylinder colliders[8];
/* 0x0260 */ s32 count;
} BgHakuginPostColliders; // size = 0x264
typedef struct BgHakuginPost {
/* 0x0000 */ Actor actor;
/* 0x0144 */ char unk_144[0x18];
/* 0x0000 */ DynaPolyActor dyna;
/* 0x015C */ BgHakuginPostActionFunc actionFunc;
/* 0x0160 */ char unk_160[0x28];
/* 0x0160 */ f32 unk_160;
/* 0x0164 */ f32 unk_164;
/* 0x0168 */ f32 unk_168;
/* 0x016C */ f32 unk_16C;
/* 0x0170 */ s32 unk_170;
/* 0x0174 */ s32 unk_174;
/* 0x0178 */ s8 unk_178;
/* 0x0179 */ s8 unk_179;
/* 0x017C */ BgHakuginPostFunc unkFunc;
/* 0x0180 */ s16 unk_180;
/* 0x0182 */ s16 unk_182;
/* 0x0184 */ s16 unk_184;
/* 0x0186 */ s16 unk_186;
} BgHakuginPost; // size = 0x188
extern const ActorInit Bg_Hakugin_Post_InitVars;

View File

@ -760,6 +760,11 @@ D_0600BF40 = 0x0600BF40;
// ovl_Bg_Hakugin_Post
D_0600D3B0 = 0x0600D3B0;
D_0600C1A8 = 0x0600C1A8;
D_0600C568 = 0x0600C568;
D_0600CA38 = 0x0600CA38;
D_0600CEC8 = 0x0600CEC8;
D_0600D098 = 0x0600D098;
// ovl_Bg_Hakugin_Switch