Shipwright/soh/src/overlays/actors/ovl_En_Honotrap/z_en_honotrap.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

39 lines
870 B
C

#ifndef Z_EN_HONOTRAP_H
#define Z_EN_HONOTRAP_H
#include "ultra64.h"
#include "global.h"
struct EnHonotrap;
typedef void (*EnHonotrapActionFunc)(struct EnHonotrap*, GlobalContext*);
typedef union {
struct {
ColliderTris tris;
ColliderTrisElement elements[2];
};
ColliderCylinder cyl;
} EnHonotrapCollider; // size = 0xD8
typedef struct EnHonotrap {
/* 0x0000 */ Actor actor;
/* 0x014C */ EnHonotrapActionFunc actionFunc;
/* 0x0150 */ EnHonotrapCollider collider;
/* 0x0228 */ s16 timer;
/* 0x022A */ s16 eyeState;
/* 0x022C */ Vec3f targetPos;
/* 0x0238 */ f32 speedMod;
/* 0x023C */ s16 bobPhase;
/* 0x023E */ s16 flameScroll;
/* 0x0240 */ u8 colChkFlags;
} EnHonotrap; // size = 0x0244
typedef enum {
HONOTRAP_EYE,
HONOTRAP_FLAME_MOVE,
HONOTRAP_FLAME_DROP
} EnHonotrapType;
#endif