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: "???"
25 lines
588 B
C
25 lines
588 B
C
#ifndef Z_BG_YDAN_HASI_H
|
|
#define Z_BG_YDAN_HASI_H
|
|
|
|
#include "ultra64.h"
|
|
#include "global.h"
|
|
|
|
struct BgYdanHasi;
|
|
|
|
typedef void (*BgYdanHasiActionFunc)(struct BgYdanHasi*, GlobalContext*);
|
|
|
|
typedef struct BgYdanHasi {
|
|
/* 0x0000 */ DynaPolyActor dyna;
|
|
/* 0x0164 */ BgYdanHasiActionFunc actionFunc;
|
|
/* 0x0168 */ u8 type;
|
|
/* 0x016A */ s16 timer; //Also used as an offset for the water blocks Y position for a "bobbing" effect
|
|
} BgYdanHasi; // size = 0x016C
|
|
|
|
typedef enum {
|
|
/* 0 */ HASI_WATER_BLOCK,
|
|
/* 1 */ HASI_WATER,
|
|
/* 2 */ HASI_THREE_BLOCKS
|
|
} HasiType;
|
|
|
|
#endif
|