Shipwright/soh/src/overlays/actors/ovl_En_Daiku_Kakariko/z_en_daiku_kakariko.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

34 lines
1.1 KiB
C

#ifndef Z_EN_DAIKU_KAKARIKO_H
#define Z_EN_DAIKU_KAKARIKO_H
#include "ultra64.h"
#include "global.h"
struct EnDaikuKakariko;
typedef void (*EnDaikuKakarikoActionFunc)(struct EnDaikuKakariko*, GlobalContext*);
typedef struct EnDaikuKakariko {
/* 0x0000 */ Actor actor;
/* 0x014C */ SkelAnime skelAnime;
/* 0x0190 */ EnDaikuKakarikoActionFunc actionFunc;
/* 0x0194 */ ColliderCylinder collider;
/* 0x01E0 */ s32 talkState;
/* 0x01E4 */ s32 waypoint;
/* 0x01E8 */ f32 runSpeed;
/* 0x01EC */ s32 currentAnimIndex;
/* 0x01F0 */ char unk_1F0[8]; // Unused variables?
/* 0x01F8 */ s32 pathContinue; // If true, continue looping through the path data
/* 0x01FC */ s32 run; // If true the carpenter will run
/* 0x0200 */ u16 flags;
/* 0x0202 */ u16 runFlag;
/* 0x0204 */ struct_80034A14_arg1 npcInfo; // Info related to NPCs and turning their head towards the player
/* 0x022C */ Vec3s jointTable[17];
/* 0x0292 */ Vec3s morphTable[17];
/* 0x02F8 */ s32 timer;
/* 0x02FC */ Vec3s neckAngle;
/* 0x0302 */ Vec3s neckAngleTarget;
} EnDaikuKakariko; // size = 0x0308
#endif