Shipwright/soh/src/overlays/actors/ovl_En_Changer/z_en_changer.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
736 B
C

#ifndef Z_EN_CHANGER_H
#define Z_EN_CHANGER_H
#include "ultra64.h"
#include "global.h"
#include "overlays/actors/ovl_En_Box/z_en_box.h"
struct EnChanger;
typedef void (*EnChangerActionFunc)(struct EnChanger*, GlobalContext*);
typedef struct EnChanger {
/* 0x0000 */ Actor actor;
/* 0x014C */ EnChangerActionFunc actionFunc;
/* 0x0150 */ EnBox* leftChest;
/* 0x0154 */ EnBox* rightChest;
/* 0x0158 */ EnBox* finalChest;
/* 0x015C */ s16 leftChestNum;
/* 0x015E */ s16 rightChestNum;
/* 0x0160 */ s16 leftChestGetItemId;
/* 0x0162 */ s16 rightChestGetItemId;
/* 0x0164 */ s16 chestOpened;
/* 0x0166 */ s16 timer;
/* 0x0168 */ s16 roomChestsOpened;
} EnChanger; // size = 0x016C
#endif