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: "???"
26 lines
780 B
C
26 lines
780 B
C
#ifndef Z_BG_DODOAGO_H
|
|
#define Z_BG_DODOAGO_H
|
|
|
|
#include "ultra64.h"
|
|
#include "global.h"
|
|
|
|
typedef enum {
|
|
/* 0 */ BGDODOAGO_EYE_LEFT,
|
|
/* 1 */ BGDODOAGO_EYE_RIGHT
|
|
} BgDodoagoEye;
|
|
|
|
struct BgDodoago;
|
|
|
|
typedef void (*BgDodoagoActionFunc)(struct BgDodoago*, GlobalContext*);
|
|
|
|
typedef struct BgDodoago {
|
|
/* 0x0000 */ DynaPolyActor dyna;
|
|
/* 0x0164 */ s16 state; // BgDodoagoEye or a timer-like value
|
|
/* 0x0168 */ ColliderCylinder colliderMain; // Used to detect explosions for lighting the eyes
|
|
/* 0x01B4 */ ColliderCylinder colliderLeft; // OC-colliding bombs have their xz speed cleared and timer set
|
|
/* 0x0200 */ ColliderCylinder colliderRight; // same as colliderLeft
|
|
/* 0x024C */ BgDodoagoActionFunc actionFunc;
|
|
} BgDodoago; // size = 0x0250
|
|
|
|
#endif
|