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: "???"
31 lines
703 B
C
31 lines
703 B
C
#ifndef Z_EN_TR_H
|
|
#define Z_EN_TR_H
|
|
|
|
#include "ultra64.h"
|
|
#include "global.h"
|
|
|
|
struct EnTr;
|
|
|
|
typedef void (*EnTrActionFunc)(struct EnTr*, GlobalContext*);
|
|
|
|
typedef struct EnTr {
|
|
/* 0x0000 */ Actor actor;
|
|
/* 0x014C */ SkelAnime skelAnime;
|
|
/* 0x0190 */ Vec3s jointTable[27];
|
|
/* 0x0232 */ Vec3s morphTable[27];
|
|
/* 0x02D4 */ s16 unk_2D4;
|
|
/* 0x02D6 */ u16 timer; // Also used as an angle
|
|
/* 0x02D8 */ s16 actionIndex;
|
|
/* 0x02DC */ EnTrActionFunc actionFunc;
|
|
/* 0x02E0 */ s16 eyeIndex;
|
|
/* 0x02E2 */ s16 blinkTimer;
|
|
/* 0x02E4 */ AnimationHeader* animation;
|
|
} EnTr; // size = 0x02E8
|
|
|
|
typedef enum {
|
|
/* 0 */ TR_KOUME,
|
|
/* 1 */ TR_KOTAKE
|
|
} TwinrovaType;
|
|
|
|
#endif
|