Shipwright/soh/src/overlays/actors/ovl_En_Bom/z_en_bom.h
briaguya ba13e6b2c4 refactor: use LUS 1.0 RC
Co-authored-by: kenix3 <kenixwhisperwind@gmail.com>
Co-authored-by: David Chavez <david@dcvz.io>
Co-authored-by: KiritoDv <kiritodev01@gmail.com>
Co-authored-by: Christopher Leggett <chris@leggett.dev>
2023-01-17 00:33:56 -05:00

29 lines
691 B
C

#ifndef Z_EN_BOM_H
#define Z_EN_BOM_H
#include <libultraship/libultra.h>
#include "global.h"
struct EnBom;
typedef void (*EnBomActionFunc)(struct EnBom*, struct PlayState*);
typedef struct EnBom {
/* 0x0000 */ Actor actor;
/* 0x014C */ ColliderCylinder bombCollider;
/* 0x0198 */ ColliderJntSph explosionCollider;
/* 0x01B8 */ ColliderJntSphElement explosionColliderItems[1];
/* 0x01F8 */ s16 timer;
/* 0x01FA */ s16 flashSpeedScale;
/* 0x01FC */ f32 flashIntensity;
/* 0x0200 */ u8 bumpOn;
/* 0x0204 */ EnBomActionFunc actionFunc;
} EnBom; // size = 0x0208
typedef enum {
/* 0x00 */ BOMB_BODY,
/* 0x01 */ BOMB_EXPLOSION
} EnBomType;
#endif