mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
facd1723f8
Co-authored-by: briaguya <briaguya@alice>
55 lines
1.6 KiB
C
55 lines
1.6 KiB
C
#ifndef Z_EN_TK_H
|
|
#define Z_EN_TK_H
|
|
|
|
#include "ultra64.h"
|
|
#include "global.h"
|
|
|
|
/* Dirt particle effect */
|
|
struct EnTkEff;
|
|
|
|
typedef struct EnTkEff {
|
|
/* 0x0000 */ u8 active;
|
|
/* 0x0001 */ u8 timeLeft;
|
|
/* 0x0002 */ u8 timeTotal;
|
|
/* 0x0004 */ f32 size;
|
|
/* 0x0008 */ f32 growth;
|
|
/* 0x000C */ char unk_C[0x8];
|
|
/* 0x0014 */ Vec3f pos;
|
|
/* 0x0020 */ Vec3f speed;
|
|
/* 0x002C */ Vec3f accel;
|
|
u32 epoch;
|
|
} EnTkEff; // size = 0x0038
|
|
|
|
struct EnTk;
|
|
|
|
typedef void (*EnTkActionFunc)(struct EnTk*, GlobalContext*);
|
|
|
|
typedef struct EnTk {
|
|
/* 0x0000 */ Actor actor;
|
|
/* 0x014C */ SkelAnime skelAnime;
|
|
/* 0x0190 */ EnTkActionFunc actionFunc;
|
|
/* 0x0194 */ ColliderCylinder collider;
|
|
/* 0x01E0 */ s16 h_1E0;
|
|
/* 0x01E2 */ char unk_1E2[0x26];
|
|
/* 0x0208 */ u8 validDigHere;
|
|
/* 0x0209 */ u8 rewardCount[4];
|
|
/* 0x0210 */ Actor* currentSpot;
|
|
/* 0x0214 */ s32 currentReward;
|
|
/* 0x0218 */ s16 blinkCycles;
|
|
/* 0x021A */ s16 rewardTimer;
|
|
/* 0x021C */ s16 actionCountdown;
|
|
/* 0x021E */ s16 h_21E;
|
|
/* 0x0220 */ char unk_220[0x2];
|
|
/* 0x0222 */ s16 eyeTextureIdx;
|
|
/* 0x0224 */ s16 blinkCountdown;
|
|
/* 0x0226 */ s16 headRot;
|
|
/* 0x0228 */ s16 currentWaypoint;
|
|
/* 0x022A */ Vec3s jointTable[18];
|
|
/* 0x0296 */ Vec3s morphTable[18];
|
|
/* 0x0304 */ Vec3f v3f_304;
|
|
/* 0x0310 */ EnTkEff eff[20];
|
|
u8 heartPieceSpawned;
|
|
} EnTk; // size = 0x0770
|
|
|
|
#endif
|