Shipwright/soh/src/overlays/actors/ovl_En_Encount2/z_en_encount2.h
M4xw 39cc86c260 git subrepo clone https://github.com/HarbourMasters/soh.git
subrepo:
  subdir:   "soh"
  merged:   "ba904bbd0"
upstream:
  origin:   "https://github.com/HarbourMasters/soh.git"
  branch:   "master"
  commit:   "ba904bbd0"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
2022-03-22 02:51:23 +01:00

42 lines
1.1 KiB
C

#ifndef Z_EN_ENCOUNT2_H
#define Z_EN_ENCOUNT2_H
#include "ultra64.h"
#include "global.h"
struct EnEncount2;
typedef void (*EnEncount2ActionFunc)(struct EnEncount2*, GlobalContext*);
typedef struct {
/* 0x0000 */ Vec3f pos;
/* 0x000C */ f32 scale;
/* 0x0010 */ u8 isAlive;
/* 0x0014 */ Vec3f moveDirection;
/* 0x0020 */ Vec3f rot;
} EnEncount2Particle; // size = 0x2C
typedef struct EnEncount2 {
/* 0x0000 */ Actor actor;
/* 0x014C */ EnEncount2ActionFunc actionFunc;
/* 0x0150 */ char unk150[0x4];
/* 0x0154 */ s16 deathMountainSpawnerTimer;
/* 0x0156 */ s16 timerBetweenRockSpawns;
/* 0x0158 */ s16 numSpawnedRocks;
/* 0x015A */ s16 isNotDeathMountain;
/* 0x015C */ s16 collapseSpawnerInactive;
/* 0x015E */ s16 particleSpawnTimer;
/* 0x0160 */ f32 unk160;
/* 0x0164 */ char unk164[0x4];
/* 0x0168 */ f32 unk168;
/* 0x016C */ char unk16C[0x4];
/* 0x0178 */ f32 unk170;
/* 0x0174 */ char unk174[0x4];
/* 0x0178 */ s16 envEffectsTimer;
/* 0x017C */ f32 unk17C;
/* 0x0180 */ u64 isQuaking;
/* 0x0188 */ EnEncount2Particle particles[50];
} EnEncount2; // size = 0x0A20
#endif