#ifndef _Z_BG_PO_EVENT_H_
#define _Z_BG_PO_EVENT_H_

#include "ultra64.h"
#include "global.h"

struct BgPoEvent;

typedef void (*BgPoEventActionFunc)(struct BgPoEvent*, GlobalContext*);

typedef struct BgPoEvent {
    /* 0x0000 */ DynaPolyActor dyna;
    /* 0x0164 */ BgPoEventActionFunc actionFunc;
    /* 0x0168 */ u8 type;
    /* 0x0169 */ u8 index;
    /* 0x016A */ s8 direction;
    /* 0x016C */ s16 timer;
    /* 0x0170 */ ColliderTris collider;
    /* 0x0190 */ ColliderTrisItem colliderItems[2];
} BgPoEvent; // size = 0x0248

extern const ActorInit Bg_Po_Event_InitVars;

#endif
