Shipwright/soh/src/overlays/actors/ovl_En_Bombf/z_en_bombf.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

32 lines
824 B
C

#ifndef Z_EN_BOMBF_H
#define Z_EN_BOMBF_H
#include "ultra64.h"
#include "global.h"
struct EnBombf;
typedef void (*EnBombfActionFunc)(struct EnBombf*, struct GlobalContext*);
typedef struct EnBombf {
/* 0x0000 */ Actor actor;
/* 0x014C */ ColliderCylinder bombCollider;
/* 0x0198 */ ColliderJntSph explosionCollider;
/* 0x01B8 */ ColliderJntSphElement explosionColliderItems[1];
/* 0x01F8 */ s16 timer;
/* 0x01FC */ EnBombfActionFunc actionFunc;
/* 0x0200 */ s32 unk_200;
/* 0x0204 */ u8 bumpOn;
/* 0x0206 */ s16 flashSpeedScale;
/* 0x0208 */ f32 flashIntensity;
/* 0x020C */ f32 flowerBombScale;
} EnBombf; // size = 0x0210
typedef enum {
/* 0xFFFF */ BOMBFLOWER_FLOWER = -1,
/* 0x0000 */ BOMBFLOWER_BODY,
/* 0x0001 */ BOMBFLOWER_EXPLOSION
} EnBombfType;
#endif