Shipwright/soh/src/overlays/actors/ovl_Bg_Heavy_Block/z_bg_heavy_block.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

28 lines
690 B
C

#ifndef Z_BG_HEAVY_BLOCK_H
#define Z_BG_HEAVY_BLOCK_H
#include "ultra64.h"
#include "global.h"
struct BgHeavyBlock;
typedef void (*BgHeavyBlockActionFunc)(struct BgHeavyBlock*, GlobalContext*);
typedef struct BgHeavyBlock {
/* 0x0000 */ DynaPolyActor dyna;
/* 0x0164 */ Vec3f unk_164;
/* 0x0170 */ s16 timer;
/* 0x0172 */ u16 pieceFlags;
/* 0x0174 */ BgHeavyBlockActionFunc actionFunc;
} BgHeavyBlock; // size = 0x0178
typedef enum {
/* 0x00 */ HEAVYBLOCK_UNBREAKABLE,
/* 0x01 */ HEAVYBLOCK_BREAKABLE,
/* 0x02 */ HEAVYBLOCK_BIG_PIECE,
/* 0x03 */ HEAVYBLOCK_SMALL_PIECE,
/* 0x04 */ HEAVYBLOCK_UNBREAKABLE_OUTSIDE_CASTLE
} HeavyBlockType;
#endif