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: "???"
28 lines
889 B
C
28 lines
889 B
C
#ifndef Z_BG_BREAKWALL_H
|
|
#define Z_BG_BREAKWALL_H
|
|
|
|
#include "ultra64.h"
|
|
#include "global.h"
|
|
|
|
struct BgBreakwall;
|
|
|
|
typedef void (*BgBreakwallActionFunc)(struct BgBreakwall*, GlobalContext*);
|
|
|
|
typedef struct BgBreakwall {
|
|
/* 0x0000 */ DynaPolyActor dyna;
|
|
/* 0x0164 */ Gfx* bombableWallDList;
|
|
/* 0x0168 */ s8 colType;
|
|
/* 0x0169 */ s8 bankIndex;
|
|
/* 0x016C */ ColliderQuad collider;
|
|
/* 0x01EC */ BgBreakwallActionFunc actionFunc;
|
|
} BgBreakwall; // size = 0x01F0
|
|
|
|
typedef enum {
|
|
/* 0 */ BWALL_DC_ENTRANCE, // When exploded it will play the Dodongo's Cavern intro cutscene
|
|
/* 1 */ BWALL_WALL, // Used a lot in Dodongo's Cavern and other places
|
|
/* 2 */ BWALL_KD_FLOOR, // Used in the King Dodongo boss room
|
|
/* 3 */ BWALL_KD_LAVA_COVER // Spawned after the KD fight in order to cover the lava floor to disable damage
|
|
} BombableWallType;
|
|
|
|
#endif
|