mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
39cc86c260
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: "???"
29 lines
681 B
C
29 lines
681 B
C
#ifndef Z_EN_BOM_H
|
|
#define Z_EN_BOM_H
|
|
|
|
#include "ultra64.h"
|
|
#include "global.h"
|
|
|
|
struct EnBom;
|
|
|
|
typedef void (*EnBomActionFunc)(struct EnBom*, struct GlobalContext*);
|
|
|
|
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
|