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
713 B
C
28 lines
713 B
C
#ifndef Z_EN_GM_H
|
|
#define Z_EN_GM_H
|
|
|
|
#include "ultra64.h"
|
|
#include "global.h"
|
|
|
|
struct EnGm;
|
|
|
|
typedef void (*EnGmUpdateFunc)(struct EnGm*, GlobalContext*);
|
|
typedef void (*EnGmActionFunc)(struct EnGm*, GlobalContext*);
|
|
|
|
typedef struct EnGm {
|
|
/* 0x0000 */ Actor actor;
|
|
/* 0x014C */ SkelAnime skelAnime;
|
|
/* 0x0190 */ Vec3s jointTable[18];
|
|
/* 0x01FC */ Vec3s morphTable[18];
|
|
/* 0x0268 */ EnGmUpdateFunc updateFunc;
|
|
/* 0x026C */ EnGmActionFunc actionFunc;
|
|
/* 0x0270 */ ColliderCylinder collider;
|
|
/* 0x02BC */ s8 objGmBankIndex;
|
|
/* 0x02BE */ s16 timer;
|
|
/* 0x02C0 */ s16 blinkTimer;
|
|
/* 0x02C2 */ u8 eyeTexIndex;
|
|
/* 0x02C4 */ Vec3f talkPos;
|
|
} EnGm; // size = 0x02D0
|
|
|
|
#endif
|