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: "???"
38 lines
906 B
C
38 lines
906 B
C
#ifndef Z_EFC_ERUPC_H
|
|
#define Z_EFC_ERUPC_H
|
|
|
|
#include "ultra64.h"
|
|
#include "global.h"
|
|
|
|
struct EfcErupc;
|
|
|
|
typedef void (*EfcErupcActionFunc)(struct EfcErupc*, GlobalContext*);
|
|
|
|
typedef struct {
|
|
/* 0x00 */ Vec3f pos;
|
|
/* 0x0C */ Vec3f vel;
|
|
/* 0x18 */ Vec3f accel;
|
|
/* 0x24 */ u8 isActive;
|
|
/* 0x25 */ u8 animTimer;
|
|
/* 0x28 */ Color_RGB8 color;
|
|
/* 0x2C */ s16 alpha;
|
|
/* 0x30 */ char unk_2C[4];
|
|
/* 0x34 */ f32 scale;
|
|
/* 0x38 */ char unk_34[8];
|
|
} EfcErupcParticles; // size 0x3C
|
|
|
|
#define EFC_ERUPC_NUM_PARTICLES 100
|
|
|
|
typedef struct EfcErupc {
|
|
/* 0x0000 */ Actor actor;
|
|
/* 0x014C */ s16 unk14C;
|
|
/* 0x014E */ s16 unk14E;
|
|
/* 0x0150 */ s16 unk150;
|
|
/* 0x0152 */ s16 unk152;
|
|
/* 0x0154 */ s16 unk154;
|
|
/* 0x0158 */ EfcErupcParticles particles[EFC_ERUPC_NUM_PARTICLES];
|
|
/* 0x18C8 */ EfcErupcActionFunc actionFunc;
|
|
} EfcErupc; // size = 0x18CC
|
|
|
|
#endif
|