2021-07-21 16:46:58 +02:00
|
|
|
#ifndef _EFFECTS_H_
|
|
|
|
#define _EFFECTS_H_
|
|
|
|
|
|
|
|
#include "types.h"
|
2022-01-03 18:36:01 +01:00
|
|
|
#include "common_structs.h"
|
2021-07-21 16:46:58 +02:00
|
|
|
|
2022-01-24 17:58:33 +01:00
|
|
|
typedef struct BigSmokePuffFXData {
|
2021-12-30 06:14:55 +01:00
|
|
|
/* 0x00 */ s16 unk_00;
|
|
|
|
/* 0x02 */ s16 unk_02;
|
|
|
|
/* 0x04 */ s16 unk_04;
|
|
|
|
/* 0x06 */ s16 unk_06;
|
|
|
|
/* 0x08 */ s32 unk_08;
|
|
|
|
/* 0x0C */ f32 x;
|
|
|
|
/* 0x10 */ f32 y;
|
|
|
|
/* 0x14 */ f32 z;
|
|
|
|
/* 0x18 */ f32 partX;
|
|
|
|
/* 0x1C */ f32 partY;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ char unk_28[0x4];
|
2022-01-24 17:58:33 +01:00
|
|
|
} BigSmokePuffFXData; // size = 0x2C
|
2021-12-30 06:14:55 +01:00
|
|
|
|
2022-01-24 17:58:33 +01:00
|
|
|
typedef struct LandingDustFXData {
|
2021-12-30 06:14:55 +01:00
|
|
|
/* 0x00 */ u16 type;
|
|
|
|
/* 0x02 */ char unk_02[0x2];
|
|
|
|
/* 0x04 */ f32 x;
|
|
|
|
/* 0x08 */ f32 y;
|
|
|
|
/* 0x0C */ f32 z;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
2022-01-24 17:58:33 +01:00
|
|
|
} LandingDustFXData; // size = 0x44
|
2021-12-30 06:14:55 +01:00
|
|
|
|
2022-01-24 17:58:33 +01:00
|
|
|
typedef struct WalkingDustFXData {
|
2021-12-30 06:14:55 +01:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ u16 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ char unk_14[0x44];
|
|
|
|
/* 0x58 */ f32 unk_58;
|
|
|
|
/* 0x5C */ f32 unk_5C;
|
|
|
|
/* 0x60 */ f32 unk_60;
|
|
|
|
/* 0x64 */ f32 unk_64;
|
|
|
|
/* 0x68 */ f32 unk_68;
|
|
|
|
/* 0x6C */ s32 unk_6C;
|
|
|
|
/* 0x70 */ s32 unk_70;
|
|
|
|
/* 0x74 */ s32 unk_74;
|
2022-01-24 17:58:33 +01:00
|
|
|
} WalkingDustFXData; // size = 0x78
|
2021-12-30 06:14:55 +01:00
|
|
|
|
2022-01-24 17:58:33 +01:00
|
|
|
// Used by both flower_splash and flower_trail
|
|
|
|
typedef struct FlowerFXData {
|
2022-08-10 15:36:38 +02:00
|
|
|
/* 0x00 */ s32 alive;
|
|
|
|
/* 0x04 */ u16 triggeredByNpc;
|
|
|
|
/* 0x06 */ s16 timeLeft;
|
2021-11-19 15:31:28 +01:00
|
|
|
/* 0x08 */ u8 primAlpha;
|
2022-08-10 15:36:38 +02:00
|
|
|
/* 0x09 */ s8 useAltColor;
|
2021-11-19 15:31:28 +01:00
|
|
|
/* 0x0A */ char unk_0A[0x2];
|
2022-08-10 15:36:38 +02:00
|
|
|
/* 0x0C */ Vec3f pos;
|
|
|
|
/* 0x18 */ Vec3f scale;
|
|
|
|
/* 0x24 */ Vec3f rot;
|
|
|
|
/* 0x30 */ Mtx transformMtx;
|
2023-07-30 07:08:07 +02:00
|
|
|
/* 0x70 */ f32 velScaleA;
|
|
|
|
/* 0x74 */ f32 velScaleB;
|
2022-08-10 15:36:38 +02:00
|
|
|
/* 0x78 */ f32 visibilityAmt; // when this is zero, the flower can vanish. may have once controlled alpha.
|
2021-11-19 15:31:28 +01:00
|
|
|
/* 0x7C */ f32 unk_7C;
|
2022-08-10 15:36:38 +02:00
|
|
|
/* 0x80 */ f32 integrator[4];
|
2023-07-30 07:08:07 +02:00
|
|
|
/* 0x90 */ VecXZf vel;
|
2022-01-24 17:58:33 +01:00
|
|
|
} FlowerFXData; // size = 0x98
|
2021-11-19 15:31:28 +01:00
|
|
|
|
2022-01-24 17:58:33 +01:00
|
|
|
typedef struct CloudPuffFXData {
|
2021-12-28 12:43:24 +01:00
|
|
|
/* 0x00 */ s32 alive;
|
|
|
|
/* 0x04 */ char unk_04[0x2];
|
2022-08-10 17:29:06 +02:00
|
|
|
/* 0x06 */ s16 timeLeft;
|
2021-12-28 12:43:24 +01:00
|
|
|
/* 0x08 */ u8 alpha;
|
|
|
|
/* 0x09 */ char unk_09[0x3];
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
/* 0x44 */ f32 unk_44;
|
|
|
|
/* 0x48 */ f32 unk_48;
|
2022-01-24 17:58:33 +01:00
|
|
|
} CloudPuffFXData; // size = 0x4C
|
2021-12-28 12:43:24 +01:00
|
|
|
|
2022-01-24 17:58:33 +01:00
|
|
|
typedef struct CloudTrailFXData {
|
2021-12-28 12:43:24 +01:00
|
|
|
/* 0x00 */ s32 alive;
|
|
|
|
/* 0x04 */ u16 unk_04;
|
|
|
|
/* 0x06 */ s16 lifetime;
|
|
|
|
/* 0x08 */ u8 alpha;
|
|
|
|
/* 0x09 */ char unk_09[0x3];
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ char unk_34[0x4];
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ s32 unk_44;
|
|
|
|
/* 0x48 */ char unk_48[0x8];
|
2022-01-24 17:58:33 +01:00
|
|
|
} CloudTrailFXData; // size = 0x50
|
2021-12-28 12:43:24 +01:00
|
|
|
|
2022-01-24 17:58:33 +01:00
|
|
|
typedef struct FootprintFXData {
|
2021-12-28 12:43:24 +01:00
|
|
|
/* 0x00 */ s32 alive;
|
|
|
|
/* 0x04 */ char unk_04[0x2];
|
|
|
|
/* 0x06 */ s16 lifetime;
|
|
|
|
/* 0x08 */ u8 alpha;
|
|
|
|
/* 0x09 */ char unk_09[0x3];
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
2021-11-19 15:31:28 +01:00
|
|
|
/* 0x28 */ f32 unk_28;
|
2021-12-28 12:43:24 +01:00
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ Mtx mtx;
|
|
|
|
/* 0x70 */ s32 unk_70;
|
|
|
|
/* 0x74 */ char unk_74[0x8];
|
|
|
|
/* 0x7C */ s32 unk_7C;
|
|
|
|
/* 0x80 */ s32 unk_80;
|
|
|
|
/* 0x84 */ s32 unk_84;
|
|
|
|
/* 0x88 */ char unk_88[0x8];
|
|
|
|
/* 0x90 */ f32 unk_90;
|
|
|
|
/* 0x94 */ f32 unk_94;
|
2022-01-24 17:58:33 +01:00
|
|
|
} FootprintFXData; // size = 0x98
|
2021-11-19 15:31:28 +01:00
|
|
|
|
2022-01-24 17:58:33 +01:00
|
|
|
typedef struct FloatingFlowerFXData {
|
2023-02-20 16:22:38 +01:00
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ Vec3f vel;
|
|
|
|
/* 0x1C */ f32 accelY;
|
|
|
|
/* 0x20 */ f32 jerkY;
|
|
|
|
/* 0x24 */ Vec2f rot;
|
|
|
|
/* 0x2C */ Vec2f angularVel;
|
|
|
|
/* 0x34 */ s32 timeLeft;
|
|
|
|
/* 0x38 */ s32 lifetime;
|
2021-12-30 06:14:55 +01:00
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
/* 0x44 */ s32 unk_44;
|
2022-01-24 17:58:33 +01:00
|
|
|
} FloatingFlowerFXData; // size = 0x48
|
2021-12-30 06:14:55 +01:00
|
|
|
|
2022-01-24 17:58:33 +01:00
|
|
|
typedef struct SnowflakeFXData {
|
2022-08-10 17:29:06 +02:00
|
|
|
/* 0x00 */ Vec3f pos;
|
2021-12-30 06:14:55 +01:00
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
2022-01-24 17:58:33 +01:00
|
|
|
} SnowflakeFXData; // size = 0x2C
|
2021-12-30 06:14:55 +01:00
|
|
|
|
2023-08-21 20:07:08 +02:00
|
|
|
enum StarFXTypes {
|
|
|
|
FX_STAR_BACKGROUND = 0,
|
|
|
|
FX_STAR_FOREGROUND = 1,
|
|
|
|
FX_STAR_LARGE_BOUNCING = 2,
|
|
|
|
FX_STAR_SMALL_BOUNCING = 3,
|
|
|
|
};
|
|
|
|
|
2022-01-24 17:58:33 +01:00
|
|
|
typedef struct StarFXData {
|
2023-08-21 20:07:08 +02:00
|
|
|
/* 0x000 */ b32 canBounce;
|
2023-08-12 23:08:33 +02:00
|
|
|
/* 0x004 */ Vec3f pos;
|
|
|
|
/* 0x010 */ Vec3f vel;
|
2023-08-21 20:07:08 +02:00
|
|
|
/* 0x01C */ f32 bounceTime;
|
|
|
|
/* 0x020 */ f32 trailAngle;
|
|
|
|
/* 0x024 */ f32 starAngle;
|
|
|
|
/* 0x028 */ f32 unk_28;
|
|
|
|
/* 0x02C */ f32 starAngleVel;
|
|
|
|
/* 0x030 */ s32 timeLeft;
|
|
|
|
/* 0x034 */ f32 projVel;
|
2023-08-12 23:08:33 +02:00
|
|
|
/* 0x038 */ s32 type;
|
2023-08-21 20:07:08 +02:00
|
|
|
/* 0x03C */ s32 trailMatrixPos;
|
|
|
|
/* 0x040 */ Mtx trailMatrices[8];
|
2023-08-12 23:08:33 +02:00
|
|
|
/* 0x240 */ f32 scale;
|
|
|
|
/* 0x244 */ s32 primR;
|
|
|
|
/* 0x248 */ s32 primG;
|
|
|
|
/* 0x24C */ s32 primB;
|
2022-01-24 17:58:33 +01:00
|
|
|
} StarFXData; // size = 0x250
|
2021-12-30 06:14:55 +01:00
|
|
|
|
2022-01-24 17:58:33 +01:00
|
|
|
typedef struct EmoteFXData {
|
2021-12-30 06:14:55 +01:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
2022-09-21 09:09:22 +02:00
|
|
|
/* 0x3C */ Npc* unk_3C;
|
2022-01-24 17:58:33 +01:00
|
|
|
} EmoteFXData; // size = 0x40
|
2021-12-30 06:14:55 +01:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct SparklesFXData {
|
2022-10-18 12:07:21 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
} SparklesFXData; // size = 0x30
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2022-08-17 03:04:23 +02:00
|
|
|
enum SparkesFXTypes {
|
|
|
|
FX_SPARKLES_0 = 0,
|
|
|
|
FX_SPARKLES_1 = 1,
|
|
|
|
FX_SPARKLES_2 = 2,
|
|
|
|
FX_SPARKLES_3 = 3,
|
|
|
|
FX_SPARKLES_4 = 4
|
|
|
|
};
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct ShapeSpellFXData {
|
2023-05-09 05:46:47 +02:00
|
|
|
/* 0x00 */ b32 isChild;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-01-29 02:01:26 +01:00
|
|
|
/* 0x10 */ f32 unk_10;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
2022-01-29 02:01:26 +01:00
|
|
|
/* 0x28 */ f32 unk_28;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 timeLeft;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
} ShapeSpellFXData; // size = 0x38
|
|
|
|
|
|
|
|
typedef struct GatherEnergyPinkFXData {
|
2022-09-11 18:23:47 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ Vec3f posA;
|
|
|
|
/* 0x10 */ Vec3f posB;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
/* 0x44 */ s32 unk_44;
|
|
|
|
/* 0x48 */ s32 unk_48;
|
|
|
|
/* 0x4C */ s32 unk_4C;
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x50 */ f32 unk_50;
|
2022-09-11 18:23:47 +02:00
|
|
|
/* 0x54 */ f32 unk_54;
|
|
|
|
/* 0x58 */ f32 unk_58;
|
|
|
|
/* 0x5C */ f32 unk_5C;
|
|
|
|
} GatherEnergyPinkFXData; // size = 0x60
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct DropLeavesFXData {
|
2022-09-13 11:52:01 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
} DropLeavesFXData; // size = 0x30
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct DustFXData {
|
2022-09-05 06:53:21 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
/* 0x44 */ s32 unk_44;
|
|
|
|
} DustFXData; // size = 0x48
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct ShatteringStonesFXData {
|
2022-10-30 02:22:40 +02:00
|
|
|
/* 0x00 */ f32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
} ShatteringStonesFXData; // size = 0x40
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct SmokeRingFXData {
|
2022-10-30 02:22:40 +02:00
|
|
|
/* 0x00 */ u16 unk_00;
|
|
|
|
/* 0x02 */ char unk_02[2];
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
} SmokeRingFXData; // size = 0x44
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2023-08-21 20:07:08 +02:00
|
|
|
enum DamageStarsFXTypes {
|
|
|
|
FX_DAMAGE_STARS_0 = 0,
|
|
|
|
FX_DAMAGE_STARS_1 = 1,
|
|
|
|
FX_DAMAGE_STARS_2 = 2,
|
|
|
|
FX_DAMAGE_STARS_3 = 3,
|
|
|
|
FX_DAMAGE_STARS_4 = 4,
|
|
|
|
};
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct DamageStarsFXData {
|
2023-08-21 20:07:08 +02:00
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x14 */ Vec3f pos;
|
|
|
|
/* 0x10 */ Vec3f vel;
|
|
|
|
/* 0x1C */ f32 rollAngle;
|
|
|
|
/* 0x20 */ f32 rollAngleVel;
|
|
|
|
/* 0x24 */ s32 alpha;
|
|
|
|
/* 0x28 */ s32 timeLeft;
|
|
|
|
/* 0x2C */ s32 lifetime;
|
2022-09-08 11:46:35 +02:00
|
|
|
} DamageStarsFXData; // size = 0x30
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct ExplosionFXData {
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
2022-12-04 03:05:33 +01:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x10 */ char unk_10[0x10];
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
} ExplosionFXData; // size = 0x3C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct LensFlareFXData {
|
2023-05-09 05:46:47 +02:00
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ f32 largeFlareRot;
|
|
|
|
/* 0x14 */ f32 largeFlareRotVel;
|
|
|
|
/* 0x18 */ f32 largeFlareScale;
|
|
|
|
/* 0x1C */ f32 largeFlareScaleVel;
|
|
|
|
/* 0x20 */ f32 smallFlareScale;
|
|
|
|
/* 0x24 */ s32 largeFlareAlpha;
|
|
|
|
/* 0x28 */ s32 smallFlareAlpha;
|
|
|
|
/* 0x2C */ s32 timeLeft;
|
|
|
|
/* 0x30 */ s32 lifetime;
|
2022-11-02 13:51:32 +01:00
|
|
|
} LensFlareFXData; // size = 0x34
|
2022-01-29 02:01:26 +01:00
|
|
|
|
2022-06-12 17:33:32 +02:00
|
|
|
typedef struct GotItemOutlineFXData {
|
2023-05-09 05:46:47 +02:00
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ s32 lifetime;
|
|
|
|
/* 0x14 */ s32 timeLeft;
|
|
|
|
/* 0x18 */ f32 scale;
|
|
|
|
/* 0x1C */ s32 alpha;
|
2022-09-27 20:10:05 +02:00
|
|
|
} GotItemOutlineFXData; // size = 0x20
|
2022-06-12 17:33:32 +02:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct SpikyWhiteAuraFXData {
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
} SpikyWhiteAuraFXData; // size = 0x30
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct SmokeImpactFXData {
|
2022-10-30 02:22:40 +02:00
|
|
|
/* 0x00 */ u16 unk_00;
|
|
|
|
/* 0x02 */ char unk_02[2];
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
} SmokeImpactFXData; // size = 0x34
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct DamageIndicatorFXData {
|
2021-12-30 06:14:55 +01:00
|
|
|
/* 0x00 */ s32 unk_00;
|
2023-05-20 19:26:11 +02:00
|
|
|
/* 0x04 */ Vec3f basePos;
|
|
|
|
/* 0x10 */ Vec3f curPos;
|
|
|
|
/* 0x1C */ Vec3f relPos;
|
|
|
|
/* 0x28 */ f32 radius;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x2C */ s32 alpha;
|
2023-05-20 19:26:11 +02:00
|
|
|
/* 0x30 */ s32 timeLeft;
|
|
|
|
/* 0x34 */ s32 lifetime;
|
|
|
|
/* 0x38 */ f32 scale;
|
|
|
|
/* 0x3C */ s32 damageAmt;
|
2022-08-07 14:42:54 +02:00
|
|
|
} DamageIndicatorFXData; // size = 0x40
|
|
|
|
|
|
|
|
typedef struct PurpleRingFXData {
|
2022-10-30 02:22:40 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ Matrix4f unk_1C;
|
|
|
|
/* 0x5C */ f32 unk_5C;
|
|
|
|
/* 0x60 */ f32 unk_60;
|
|
|
|
/* 0x64 */ f32 unk_64;
|
|
|
|
/* 0x68 */ s32 unk_68;
|
|
|
|
/* 0x6C */ s32 unk_6C;
|
|
|
|
/* 0x70 */ s32 unk_70;
|
|
|
|
/* 0x74 */ u8 unk_74;
|
|
|
|
/* 0x75 */ u8 unk_75;
|
|
|
|
/* 0x76 */ u8 unk_76;
|
|
|
|
/* 0x77 */ u8 unk_77;
|
|
|
|
/* 0x78 */ u8 unk_78;
|
|
|
|
/* 0x79 */ u8 unk_79;
|
|
|
|
/* 0x7A */ char unk_7A[2];
|
|
|
|
} PurpleRingFXData; // size = 0x7C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2023-09-23 07:57:29 +02:00
|
|
|
enum FlameFXTypes {
|
|
|
|
FX_FLAME_BLUE = 0,
|
|
|
|
FX_FLAME_RED = 1,
|
|
|
|
FX_FLAME_SMALL_BLUE = 2,
|
|
|
|
FX_FLAME_PINK = 3,
|
|
|
|
};
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct FlameFXData {
|
2023-09-23 07:57:29 +02:00
|
|
|
/* 0x00 */ s32 type;
|
2022-09-16 18:45:16 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2023-09-23 07:57:29 +02:00
|
|
|
/* 0x10 */ f32 baseScale;
|
2022-09-16 18:45:16 +02:00
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
2022-10-18 12:07:21 +02:00
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
2022-09-16 18:45:16 +02:00
|
|
|
/* 0x28 */ f32 unk_28;
|
2023-09-23 07:57:29 +02:00
|
|
|
/* 0x2C */ f32 scaleH;
|
|
|
|
/* 0x30 */ f32 scaleW;
|
2022-09-16 18:45:16 +02:00
|
|
|
} FlameFXData; // size = 0x34
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct StarsBurstFXData {
|
2022-10-06 01:26:03 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ char unk_1C[8];
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
} StarsBurstFXData; // size = 0x38
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct StarsShimmerFXData {
|
2022-11-27 21:38:13 +01:00
|
|
|
/* 0x00 */ s16 unk_00;
|
2023-01-24 04:33:04 +01:00
|
|
|
/* 0x02 */ s16 state;
|
2022-11-27 21:38:13 +01:00
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ s32 lifeTime;
|
|
|
|
/* 0x24 */ s32 timeLeft;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
} StarsShimmerFXData; // size = 0x2C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct RisingBubbleFXData {
|
2022-10-12 14:39:03 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-09-10 19:04:04 +02:00
|
|
|
/* 0x10 */ f32 unk_10;
|
2022-09-07 15:19:01 +02:00
|
|
|
/* 0x14 */ s32 unk_14;
|
2022-10-12 14:39:03 +02:00
|
|
|
/* 0x18 */ s32 timeLeft;
|
|
|
|
/* 0x1C */ s32 lifeTime;
|
2022-09-07 15:19:01 +02:00
|
|
|
/* 0x20 */ s32 unk_20;
|
2022-09-10 19:04:04 +02:00
|
|
|
/* 0x24 */ f32 unk_24;
|
2022-10-12 14:39:03 +02:00
|
|
|
} RisingBubbleFXData; // size = 0x28
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct RingBlastFXData {
|
2022-10-12 14:39:03 +02:00
|
|
|
/* 0x00 */ u16 unk_00;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ s32 timeLeft;
|
|
|
|
/* 0x18 */ s32 lifeTime;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
} RingBlastFXData; // size = 0x2C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2022-10-12 02:28:15 +02:00
|
|
|
// Likely to be the same as GreenImpactFXData and RedImpactFXData
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct ShockwaveFXData {
|
2022-10-12 02:28:15 +02:00
|
|
|
/* 0x00 */ u16 unk_00;
|
|
|
|
/* 0x02 */ char unk_02[2]; // likely padding
|
2022-12-04 03:05:33 +01:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-10-12 02:28:15 +02:00
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
2022-12-04 03:05:33 +01:00
|
|
|
/* 0x38 */ s32 alpha;
|
2022-10-12 02:28:15 +02:00
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ f32 unk_44;
|
|
|
|
/* 0x48 */ f32 unk_48;
|
|
|
|
/* 0x4C */ s32 unk_4C;
|
2022-12-04 03:05:33 +01:00
|
|
|
/* 0x50 */ Color_RGB8 prim;
|
|
|
|
/* 0x53 */ Color_RGB8 env;
|
2022-10-12 02:28:15 +02:00
|
|
|
/* 0x56 */ char unk_56[2]; // likely padding
|
|
|
|
} ShockwaveFXData; // size = 0x58
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct MusicNoteFXData {
|
2023-08-12 23:08:33 +02:00
|
|
|
/* 0x00 */ s32 type;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2023-08-12 23:08:33 +02:00
|
|
|
/* 0x10 */ f32 scale;
|
|
|
|
/* 0x14 */ s32 alpha;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x18 */ s32 timeLeft;
|
2023-08-12 23:08:33 +02:00
|
|
|
/* 0x1C */ s32 lifetime;
|
|
|
|
/* 0x20 */ s32 noteType;
|
|
|
|
/* 0x24 */ f32 velX;
|
|
|
|
/* 0x28 */ f32 velY;
|
|
|
|
/* 0x2C */ f32 finalVelX;
|
|
|
|
/* 0x30 */ f32 finalVelY;
|
2022-08-07 14:42:54 +02:00
|
|
|
} MusicNoteFXData; // size = 0x34
|
2021-12-30 06:14:55 +01:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct SmokeBurstFXData {
|
2022-10-30 02:22:40 +02:00
|
|
|
/* 0x00 */ u16 unk_00;
|
2022-10-07 09:31:45 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ s32 timeLeft;
|
|
|
|
/* 0x18 */ s32 lifeTime;
|
2022-10-03 01:05:04 +02:00
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
2022-10-07 09:31:45 +02:00
|
|
|
/* 0x24 */ Color_RGBA8 rgba;
|
|
|
|
} SmokeBurstFXData; // size = 0x28
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct SweatFXData {
|
2022-10-07 09:31:45 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
2022-10-03 20:12:44 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-10-07 09:31:45 +02:00
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ char unk_14[0x04];
|
2022-10-03 20:12:44 +02:00
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ s32 timeLeft;
|
|
|
|
} SweatFXData; // size = 0x28
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct SleepBubbleFXData {
|
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ s32 timeLeft;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ Vec2f points[20];
|
|
|
|
/* 0xC4 */ f32 unk_C4;
|
|
|
|
/* 0xC8 */ f32 unk_C8;
|
|
|
|
} SleepBubbleFXData; // size = 0xCC
|
|
|
|
|
|
|
|
typedef struct WindyLeavesFXData {
|
2022-11-25 17:06:31 +01:00
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ Vec3f unk_04;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ s32 alpha;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
} WindyLeavesFXData; // size = 0x3C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct FallingLeavesFXData {
|
2022-09-21 09:09:22 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ char unk_30[4];
|
|
|
|
} FallingLeavesFXData; // size = 0x34
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct StarsSpreadFXData {
|
2022-11-02 13:51:32 +01:00
|
|
|
/* 0x00 */ s16 unk_00;
|
|
|
|
/* 0x02 */ char unk_02[2];
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
} StarsSpreadFXData; // size = 0x34
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct SteamBurstFXData {
|
2022-11-02 13:51:32 +01:00
|
|
|
/* 0x00 */ u16 unk_00;
|
|
|
|
/* 0x02 */ char unk_02[2];
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
} SteamBurstFXData; // size = 0x34
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct StarsOrbitingFXData {
|
2023-02-14 01:46:48 +01:00
|
|
|
/* 0x00 */ s32 type;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2023-02-14 01:46:48 +01:00
|
|
|
/* 0x10 */ f32 orbitRadius;
|
|
|
|
/* 0x14 */ f32 targetRadius;
|
|
|
|
/* 0x18 */ f32 roll;
|
|
|
|
/* 0x1C */ f32 rollSpinRate;
|
|
|
|
/* 0x20 */ f32 pitch;
|
|
|
|
/* 0x24 */ s32 yaw;
|
|
|
|
/* 0x28 */ s32 enabled;
|
2022-10-25 11:49:05 +02:00
|
|
|
} StarsOrbitingFXData; // size = 0x2C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct BigSnowflakesFXData {
|
2021-12-30 06:14:55 +01:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
} BigSnowflakesFXData; // size = 0x30
|
2021-12-30 06:14:55 +01:00
|
|
|
|
2022-02-21 17:05:36 +01:00
|
|
|
typedef struct DebuffFXData {
|
2023-04-26 01:33:17 +02:00
|
|
|
/* 0x00 */ s16 type;
|
2022-02-21 17:05:36 +01:00
|
|
|
/* 0x02 */ char unk_02[2];
|
2023-04-26 01:33:17 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-02-21 17:05:36 +01:00
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
2023-04-26 01:33:17 +02:00
|
|
|
/* 0x1C */ f32 scaleY;
|
|
|
|
/* 0x20 */ f32 scaleX;
|
|
|
|
/* 0x24 */ s32 timeLeft;
|
|
|
|
/* 0x28 */ s32 lifetime;
|
|
|
|
/* 0x2C */ f32 rotZ;
|
2022-02-21 17:05:36 +01:00
|
|
|
/* 0x30 */ f32 unk_30;
|
2023-04-26 01:33:17 +02:00
|
|
|
/* 0x34 */ s32 alpha;
|
|
|
|
/* 0x38 */ Color_RGB8 primCol;
|
2023-10-02 02:12:53 +02:00
|
|
|
/* 0x3B */ Color_RGB8 envCol;
|
2022-02-21 17:05:36 +01:00
|
|
|
/* 0x3E */ char unk_3E[2];
|
|
|
|
} DebuffFXData; // size = 0x40
|
|
|
|
|
2022-10-12 02:28:15 +02:00
|
|
|
// Likely to be the same as RedImpactFXData and ShockwaveFXData
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct GreenImpactFXData {
|
2022-09-21 09:09:22 +02:00
|
|
|
/* 0x00 */ u16 unk_00;
|
|
|
|
/* 0x02 */ char unk_02[2]; // likely padding
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ f32 unk_44;
|
|
|
|
/* 0x48 */ f32 unk_48;
|
|
|
|
/* 0x4C */ s32 unk_4C;
|
|
|
|
/* 0x50 */ Color_RGB8 unk_50;
|
|
|
|
/* 0x53 */ Color_RGB8 unk_53;
|
|
|
|
/* 0x56 */ char unk_56[2]; // likely padding
|
|
|
|
} GreenImpactFXData; // size = 0x58
|
2022-01-20 14:08:24 +01:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct RadialShimmerFXData {
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
2022-11-27 21:38:13 +01:00
|
|
|
/* 0x28 */ s32 timeLeft;
|
|
|
|
/* 0x2C */ s32 lifeTime;
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ f32 unk_44;
|
|
|
|
/* 0x48 */ f32 unk_48;
|
|
|
|
/* 0x4C */ f32 unk_4C;
|
|
|
|
/* 0x50 */ f32 unk_50;
|
|
|
|
/* 0x54 */ f32 unk_54;
|
|
|
|
/* 0x58 */ f32 unk_58;
|
|
|
|
/* 0x5C */ f32 unk_5C;
|
|
|
|
/* 0x60 */ f32 unk_60;
|
|
|
|
/* 0x64 */ f32 unk_64;
|
|
|
|
/* 0x68 */ u8 unk_68;
|
|
|
|
/* 0x69 */ u8 unk_69;
|
|
|
|
/* 0x6A */ u8 unk_6A;
|
|
|
|
/* 0x6B */ u8 unk_6B;
|
|
|
|
/* 0x6C */ u8 unk_6C;
|
|
|
|
/* 0x6D */ u8 unk_6D;
|
|
|
|
/* 0x6E */ char unk_6E[2];
|
|
|
|
} RadialShimmerFXData; // size = 0x70
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct EndingDecalsFXData {
|
2023-02-01 03:31:09 +01:00
|
|
|
/* 0x00 */ s32 type;
|
2022-08-26 12:13:57 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2023-02-01 03:31:09 +01:00
|
|
|
/* 0x10 */ f32 scale;
|
2022-09-21 09:09:22 +02:00
|
|
|
/* 0x14 */ f32 unk_14;
|
2023-02-01 03:31:09 +01:00
|
|
|
/* 0x18 */ s32 haloAlpha;
|
2022-09-21 09:09:22 +02:00
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ u8 unk_24;
|
|
|
|
/* 0x25 */ u8 unk_25;
|
|
|
|
/* 0x26 */ u8 unk_26;
|
|
|
|
/* 0x27 */ u8 unk_27;
|
|
|
|
/* 0x28 */ u8 unk_28;
|
|
|
|
/* 0x29 */ u8 unk_29;
|
|
|
|
/* 0x2A */ char unk_2A[2];
|
|
|
|
} EndingDecalsFXData; // size = 0x2C
|
2022-02-25 14:19:53 +01:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct LightRaysFXData {
|
2023-02-01 03:31:09 +01:00
|
|
|
/* 0x00 */ s32 type;
|
2022-10-08 12:07:10 +02:00
|
|
|
/* 0x04 */ char unk_04[0xC];
|
2023-02-01 03:31:09 +01:00
|
|
|
/* 0x10 */ Vec3f pos;
|
2022-10-08 12:07:10 +02:00
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
2023-02-01 03:31:09 +01:00
|
|
|
/* 0x24 */ s32 alpha;
|
|
|
|
/* 0x28 */ s32 timeLeft;
|
|
|
|
/* 0x2C */ s32 lifetime;
|
2022-10-08 12:07:10 +02:00
|
|
|
/* 0x30 */ char unk_30[4];
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ char unk_44[4];
|
|
|
|
/* 0x48 */ f32 unk_48;
|
|
|
|
/* 0x4C */ f32 unk_4C;
|
|
|
|
/* 0x50 */ f32 unk_50;
|
|
|
|
/* 0x54 */ f32 unk_54;
|
|
|
|
/* 0x58 */ f32 unk_58;
|
2023-07-30 07:08:07 +02:00
|
|
|
/* 0x5C */ Vec3f rot;
|
2022-10-08 12:07:10 +02:00
|
|
|
/* 0x68 */ f32 unk_68;
|
|
|
|
/* 0x6C */ f32 unk_6C;
|
2023-02-01 03:31:09 +01:00
|
|
|
/* 0x70 */ Vec3f initialRot;
|
2022-10-08 12:07:10 +02:00
|
|
|
/* 0x7C */ s32 unk_7C;
|
|
|
|
/* 0x80 */ f32 unk_80;
|
|
|
|
/* 0x84 */ f32 unk_84;
|
|
|
|
/* 0x88 */ f32 unk_88;
|
|
|
|
/* 0x8C */ f32 unk_8C;
|
|
|
|
/* 0x90 */ s32 unk_90;
|
|
|
|
} LightRaysFXData; // size = 0x94
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct LightningFXData {
|
2022-10-08 12:07:10 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ s32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x40 */ s32 unk_40;
|
2022-10-08 12:07:10 +02:00
|
|
|
/* 0x44 */ struct EffectInstance* unk_44;
|
|
|
|
/* 0x48 */ struct EffectInstance* unk_48;
|
|
|
|
} LightningFXData; // size = 0x4C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct FireBreathFXData {
|
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ s32 numChildren;
|
|
|
|
/* 0x08 */ s32 spawnDelay;
|
|
|
|
/* 0x0C */ Vec3f pos;
|
|
|
|
/* 0x18 */ Vec3f initPos;
|
|
|
|
/* 0x24 */ Vec3f endPos;
|
2023-09-23 07:57:29 +02:00
|
|
|
/* 0x30 */ f32 initialScale;
|
|
|
|
/* 0x34 */ f32 targetScale;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x38 */ f32 scale;
|
2023-09-23 07:57:29 +02:00
|
|
|
/* 0x3C */ f32 scaleChangeRate;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x40 */ s32 alpha;
|
2023-09-23 07:57:29 +02:00
|
|
|
/* 0x44 */ s32 duration;
|
2022-08-10 17:29:06 +02:00
|
|
|
/* 0x48 */ s32 timeLeft;
|
2023-09-23 07:57:29 +02:00
|
|
|
/* 0x4C */ s32 lifetime;
|
|
|
|
/* 0x50 */ Vec3f offsetPos;
|
|
|
|
/* 0x5C */ f32 animTime; // each integer value corresponds to a new frame
|
|
|
|
/* 0x60 */ f32 velY;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x64 */ s32 primR;
|
|
|
|
/* 0x68 */ s32 primG;
|
|
|
|
/* 0x6C */ s32 primB;
|
|
|
|
/* 0x70 */ s32 envR;
|
|
|
|
/* 0x74 */ s32 envG;
|
|
|
|
/* 0x78 */ s32 envB;
|
|
|
|
} FireBreathFXData; // size = 0x7C
|
|
|
|
|
|
|
|
typedef struct ShimmerBurstFXData {
|
2022-11-05 01:43:44 +01:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
/* 0x44 */ s32 unk_44;
|
|
|
|
/* 0x48 */ s32 unk_48;
|
|
|
|
/* 0x4C */ s32 unk_4C;
|
|
|
|
/* 0x50 */ s32 unk_50;
|
|
|
|
/* 0x54 */ s32 unk_54;
|
|
|
|
/* 0x58 */ s32 unk_58;
|
|
|
|
/* 0x5C */ s32 unk_5C;
|
|
|
|
/* 0x60 */ f32 unk_60;
|
|
|
|
/* 0x64 */ f32 unk_64;
|
|
|
|
/* 0x68 */ f32 unk_68;
|
|
|
|
} ShimmerBurstFXData; // size = 0x6C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct EnergyShockwaveFXData {
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ char unk_10[0xC];
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ f32 unk_44;
|
|
|
|
/* 0x48 */ f32 unk_48;
|
|
|
|
/* 0x4C */ f32 unk_4C;
|
|
|
|
/* 0x50 */ u8 unk_50;
|
|
|
|
/* 0x51 */ u8 unk_51;
|
|
|
|
/* 0x52 */ s8 unk_52;
|
|
|
|
/* 0x53 */ char unk_53[1];
|
|
|
|
} EnergyShockwaveFXData; // size = 0x54
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct ShimmerWaveFXData {
|
2022-11-02 13:51:32 +01:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
/* 0x44 */ s32 unk_44;
|
|
|
|
/* 0x48 */ s32 unk_48;
|
|
|
|
/* 0x4C */ s32 unk_4C;
|
|
|
|
/* 0x50 */ s32 unk_50;
|
|
|
|
/* 0x54 */ s32 unk_54;
|
|
|
|
/* 0x58 */ s32 unk_58;
|
|
|
|
/* 0x5C */ s32 unk_5C;
|
|
|
|
/* 0x60 */ f32 unk_60;
|
|
|
|
/* 0x64 */ f32 unk_64;
|
|
|
|
/* 0x68 */ f32 unk_68;
|
|
|
|
} ShimmerWaveFXData; // size = 0x6C
|
2022-05-27 15:03:19 +02:00
|
|
|
|
2023-10-14 21:43:12 +02:00
|
|
|
enum AuraFXTypes {
|
|
|
|
FX_AURA_CAPTURE = 0, // star spirit being captured in the intro
|
|
|
|
FX_AURA_RED = 1, // used by Kooper's Fire Shell
|
|
|
|
FX_AURA_BLUE = 2, // used by Final Bowser
|
|
|
|
FX_AURA_GOLD = 3, // used by The Master (final form)
|
|
|
|
};
|
|
|
|
|
2022-02-25 14:19:53 +01:00
|
|
|
typedef struct AuraFXData {
|
2022-03-20 11:12:30 +01:00
|
|
|
/* 0x00 */ s32 type;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x04 */ Vec3f posA;
|
|
|
|
/* 0x10 */ Vec3f posB;
|
|
|
|
/* 0x1C */ Vec2f scale;
|
2022-02-25 14:19:53 +01:00
|
|
|
/* 0x24 */ f32 unk_24;
|
2022-05-27 15:03:19 +02:00
|
|
|
/* 0x28 */ s32 primA;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x2C */ s32 fadeTime;
|
|
|
|
/* 0x30 */ s32 lifeTime;
|
2022-02-25 14:19:53 +01:00
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ f32 unk_44;
|
|
|
|
/* 0x48 */ f32 unk_48;
|
|
|
|
/* 0x4C */ f32 unk_4C;
|
|
|
|
/* 0x50 */ f32 unk_50;
|
|
|
|
/* 0x54 */ f32 unk_54;
|
|
|
|
/* 0x58 */ f32 unk_58;
|
|
|
|
/* 0x5C */ f32 unk_5C;
|
|
|
|
/* 0x60 */ f32 unk_60;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x64 */ f32 renderYaw;
|
2022-05-27 15:03:19 +02:00
|
|
|
/* 0x68 */ u8 primR;
|
|
|
|
/* 0x69 */ u8 primG;
|
|
|
|
/* 0x6A */ u8 primB;
|
|
|
|
/* 0x6B */ u8 envR;
|
|
|
|
/* 0x6C */ u8 envG;
|
|
|
|
/* 0x6D */ u8 engB;
|
|
|
|
/* 0x6E */ u8 engA;
|
2022-02-25 14:19:53 +01:00
|
|
|
} AuraFXData; // size = 0x70
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct BulbGlowFXData {
|
2023-10-02 02:12:53 +02:00
|
|
|
/* 0x00 */ s32 type;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2023-10-02 02:12:53 +02:00
|
|
|
/* 0x10 */ s32 brightness;
|
|
|
|
/* 0x14 */ s32 timeLeft;
|
|
|
|
/* 0x18 */ s32 lifetime;
|
|
|
|
/* 0x1C */ s32 depthQueryID;
|
2022-09-05 06:53:21 +02:00
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
} BulbGlowFXData; // size = 0x24
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct Effect3DFXData {
|
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ s32 unk_04;
|
|
|
|
/* 0x08 */ Vec3f pos;
|
2022-09-13 11:52:01 +02:00
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ f32 unk_44;
|
|
|
|
/* 0x48 */ f32 unk_48;
|
|
|
|
/* 0x4C */ f32 unk_4C;
|
|
|
|
/* 0x50 */ f32 unk_50;
|
|
|
|
/* 0x54 */ f32 unk_54;
|
|
|
|
/* 0x58 */ s32 unk_58;
|
|
|
|
/* 0x5C */ s32 unk_5C;
|
|
|
|
/* 0x60 */ s32 unk_60;
|
|
|
|
/* 0x64 */ s32 unk_64;
|
|
|
|
} Effect3DFXData; // size = 0x68
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2022-02-25 14:19:53 +01:00
|
|
|
typedef struct BlastFXData {
|
|
|
|
/* 0x00 */ s16 unk_00;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ s32 timeLeft;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
} BlastFXData; // size = 0x2C
|
|
|
|
|
|
|
|
typedef struct FireFlowerFXData {
|
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ s32 unk_04;
|
|
|
|
/* 0x08 */ Vec3f pos;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x28 */ f32 unk_28;
|
2022-02-25 14:19:53 +01:00
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
2022-02-25 14:19:53 +01:00
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ Vec3i unk_40;
|
|
|
|
} FireFlowerFXData; // size = 0x4C
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct RecoverFXData {
|
2023-08-12 23:08:33 +02:00
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ Vec3f vel;
|
|
|
|
/* 0x1C */ f32 angle;
|
2022-10-12 02:28:15 +02:00
|
|
|
/* 0x20 */ s32 unk_20;
|
2023-08-12 23:08:33 +02:00
|
|
|
/* 0x24 */ f32 offsetX;
|
|
|
|
/* 0x28 */ s32 alpha;
|
|
|
|
/* 0x2C */ s32 timeLeft;
|
|
|
|
/* 0x30 */ s32 lifetime;
|
2022-10-12 02:28:15 +02:00
|
|
|
/* 0x34 */ s32 unk_34;
|
2023-08-12 23:08:33 +02:00
|
|
|
/* 0x38 */ f32 scaleX;
|
|
|
|
/* 0x3C */ f32 scaleY;
|
2022-10-12 02:28:15 +02:00
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
/* 0x44 */ s32 unk_44;
|
|
|
|
} RecoverFXData; // size = 0x48
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2022-05-05 16:08:16 +02:00
|
|
|
typedef struct DisableXFXData {
|
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ s32 unk_04;
|
|
|
|
/* 0x08 */ Vec3f pos;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ s32 alpha;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 scale;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
2023-01-10 07:33:09 +01:00
|
|
|
/* 0x3C */ s32 koDuration;
|
2022-05-05 16:08:16 +02:00
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ s32 unk_44;
|
|
|
|
} DisableXFXData; // size = 0x48
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct BombetteBreakingFXData {
|
2022-08-10 17:29:06 +02:00
|
|
|
/* 0x00 */ s16 type;
|
|
|
|
/* 0x02 */ s16 treeIndex;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ Vec3f center;
|
|
|
|
/* 0x14 */ Vec3f unk_14;
|
|
|
|
/* 0x20 */ Vec3f unk_20;
|
|
|
|
/* 0x2C */ Vec3f unk_2C;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ s32 timeLeft;
|
|
|
|
/* 0x48 */ s32 unk_48;
|
|
|
|
/* 0x4C */ s32 alpha;
|
|
|
|
} BombetteBreakingFXData;
|
2022-03-13 18:33:10 +01:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct FireworkFXData {
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ s32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ char unk_18[4];
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ u8 unk_3C;
|
|
|
|
/* 0x3D */ u8 unk_3D;
|
|
|
|
/* 0x3E */ u8 unk_3E;
|
|
|
|
/* 0x3F */ u8 unk_3F;
|
|
|
|
/* 0x40 */ u8 unk_40;
|
|
|
|
/* 0x41 */ u8 unk_41;
|
|
|
|
/* 0x42 */ char unk_42[2];
|
|
|
|
} FireworkFXData; // size = 0x44
|
2022-05-10 12:25:50 +02:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct ConfettiFXData {
|
2022-09-08 11:46:35 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
} ConfettiFXData; // size = 0x34
|
2021-11-14 21:23:07 +01:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct SnowfallFXData {
|
2022-10-12 14:39:03 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ s32 unk_04;
|
2022-11-27 21:38:13 +01:00
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
2022-10-12 14:39:03 +02:00
|
|
|
/* 0x20 */ s32 timeLeft;
|
|
|
|
/* 0x24 */ s32 lifeTime;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
} SnowfallFXData; // size = 0x34
|
2022-01-16 18:22:23 +01:00
|
|
|
|
2023-05-23 14:57:34 +02:00
|
|
|
typedef struct SpinFXData {
|
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ PlayerStatus* player;
|
|
|
|
/* 0x08 */ Vec3f pos;
|
|
|
|
/* 0x14 */ f32 scale;
|
|
|
|
/* 0x18 */ f32 initialScale;
|
|
|
|
/* 0x1C */ s32 alpha;
|
|
|
|
/* 0x20 */ s32 duration;
|
|
|
|
/* 0x24 */ s32 timeLeft;
|
|
|
|
/* 0x28 */ s32 lifetime;
|
|
|
|
/* 0x2C */ Vec3f rot;
|
|
|
|
/* 0x38 */ Vec3f rotVel;
|
|
|
|
/* 0x44 */ Color_RGB8 color;
|
2022-09-13 11:52:01 +02:00
|
|
|
/* 0x47 */ char unk_47;
|
2023-05-23 14:57:34 +02:00
|
|
|
} SpinFXData; // size = 0x48
|
2022-05-30 20:39:42 +02:00
|
|
|
|
2022-07-08 14:57:08 +02:00
|
|
|
typedef struct GatherMagicFXData {
|
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ s32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x28 */ f32 unk_28;
|
2022-07-08 14:57:08 +02:00
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
/* 0x44 */ s32 unk_44;
|
|
|
|
} GatherMagicFXData;
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct AttackResultTextFXData {
|
2023-05-20 19:26:11 +02:00
|
|
|
/* 0x00 */ s32 type;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x04 */ s32 unk_04;
|
2023-05-20 19:26:11 +02:00
|
|
|
/* 0x08 */ Vec3f pos;
|
|
|
|
/* 0x14 */ s32 alpha;
|
|
|
|
/* 0x18 */ s32 timeLeft;
|
|
|
|
/* 0x1C */ s32 lifetime;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x20 */ s32 unk_20;
|
2023-05-20 19:26:11 +02:00
|
|
|
/* 0x24 */ b32 isVisible;
|
|
|
|
/* 0x28 */ f32 scale;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x2C */ char unk_2C[0x4];
|
2023-05-20 19:26:11 +02:00
|
|
|
/* 0x30 */ Vec2f vel;
|
2022-08-07 14:42:54 +02:00
|
|
|
} AttackResultTextFXData; // size = 0x38
|
|
|
|
|
|
|
|
typedef struct SmallGoldSparkleFXData {
|
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ s32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
} SmallGoldSparkleFXData; // size = 0x24
|
|
|
|
|
|
|
|
typedef struct FlashingBoxShockwaveFXData {
|
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x10 */ s32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
/* 0x44 */ s32 unk_44;
|
|
|
|
} FlashingBoxShockwaveFXData; // size = 0x48
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct BalloonFXData {
|
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
} BalloonFXData; // size = 0x24
|
|
|
|
|
|
|
|
typedef struct FloatingRockFXData {
|
2023-05-20 19:26:11 +02:00
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ f32 floorY;
|
|
|
|
/* 0x14 */ Vec3f vel;
|
|
|
|
/* 0x20 */ f32 fallAccel;
|
|
|
|
/* 0x24 */ Vec3f rot;
|
|
|
|
/* 0x30 */ Vec3f rotVel;
|
|
|
|
/* 0x3C */ f32 scale;
|
2022-09-05 06:53:21 +02:00
|
|
|
/* 0x40 */ s32 unk_40;
|
2023-05-20 19:26:11 +02:00
|
|
|
/* 0x44 */ s32 alpha;
|
|
|
|
/* 0x48 */ s32 timeLeft;
|
|
|
|
/* 0x4C */ s32 lifetime;
|
2022-09-05 06:53:21 +02:00
|
|
|
} FloatingRockFXData; // size = 0x50
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct ChompDropFXData {
|
2022-09-05 06:53:21 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
/* 0x44 */ s32 unk_44;
|
|
|
|
} ChompDropFXData; // size = 0x48
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct QuizmoStageFXData {
|
2022-10-12 14:39:03 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x04 */ s32 vanishTimer;
|
|
|
|
/* 0x08 */ s32 lifetime;
|
2022-10-12 14:39:03 +02:00
|
|
|
/* 0x0C */ Vec3f origin;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x18 */ s32 microphoneRaiseAmt;
|
|
|
|
/* 0x1C */ s32 rearWallRaiseAmt;
|
|
|
|
/* 0x20 */ s32 leftWallRaiseAmt;
|
|
|
|
/* 0x24 */ s32 rightWallRaiseAmt;
|
|
|
|
/* 0x28 */ s32 podiumRaiseAmt;
|
|
|
|
/* 0x2C */ s32 lightScrollAmt;
|
|
|
|
/* 0x30 */ s32 lightScrollIncrement;
|
|
|
|
/* 0x34 */ s32 lightScrollDelay;
|
|
|
|
/* 0x38 */ s32 unkEffectMode;
|
|
|
|
/* 0x3C */ s32 unk_3C; // stage hidden when == 0xFF
|
2022-10-12 14:39:03 +02:00
|
|
|
/* 0x40 */ char unk_40[0x04];
|
|
|
|
} QuizmoStageFXData; // size 0x44
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct RadiatingEnergyOrbFXData {
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x00 */ char unk_00[4];
|
|
|
|
/* 0x04 */ s32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ char unk_24[4];
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
} RadiatingEnergyOrbFXData; // size = 0x34
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2024-03-06 17:03:33 +01:00
|
|
|
#define UNK_ARRAY_SIZE_1 4
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct MotionBlurFlameFXData {
|
2022-10-18 12:07:21 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
2022-11-01 08:41:14 +01:00
|
|
|
/* 0x10 */ Vec3f pos;
|
2024-03-06 17:03:33 +01:00
|
|
|
/* 0x1C */ f32 unk_1C[UNK_ARRAY_SIZE_1];
|
|
|
|
/* 0x2C */ f32 unk_2C[UNK_ARRAY_SIZE_1];
|
|
|
|
/* 0x3C */ f32 unk_3C[UNK_ARRAY_SIZE_1];
|
2022-10-18 12:07:21 +02:00
|
|
|
/* 0x4C */ s32 unk_4C;
|
|
|
|
/* 0x50 */ s32 unk_50;
|
|
|
|
/* 0x54 */ s32 unk_54;
|
|
|
|
/* 0x58 */ char unk_58[4];
|
|
|
|
/* 0x5C */ s32 unk_5C;
|
|
|
|
/* 0x60 */ s32 unk_60;
|
|
|
|
/* 0x64 */ s32 unk_64;
|
|
|
|
} MotionBlurFlameFXData; // size = 0x68
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct EnergyOrbWaveFXData {
|
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-09-21 09:09:22 +02:00
|
|
|
/* 0x10 */ s32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
2022-09-21 09:09:22 +02:00
|
|
|
/* 0x2C */ s32 unk_2C;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x30 */ f32 scale;
|
2022-09-21 09:09:22 +02:00
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
} EnergyOrbWaveFXData; // size = 0x38
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct MerlinHouseStarsFXData {
|
2022-10-18 12:07:21 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ s32 unk_04;
|
|
|
|
/* 0x08 */ s32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
2023-11-24 05:06:58 +01:00
|
|
|
/* 0x18 */ s32 alpha;
|
2022-10-18 12:07:21 +02:00
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
} MerlinHouseStarsFXData; // size = 0x3C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2022-12-04 03:05:33 +01:00
|
|
|
#define MAX_QUIZMO_AUDIENCE 10
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct QuizmoAudienceFXData {
|
2022-10-27 15:07:27 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ s32 timeLeft;
|
|
|
|
/* 0x08 */ s32 lifeTime;
|
|
|
|
/* 0x0C */ Vec3f pos;
|
2022-12-04 03:05:33 +01:00
|
|
|
/* 0x18 */ s32 primColor;
|
|
|
|
/* 0x1C */ s32 compState[MAX_QUIZMO_AUDIENCE];
|
|
|
|
/* 0x44 */ s32 compType[MAX_QUIZMO_AUDIENCE];
|
|
|
|
/* 0x6C */ s32 compPosIdx[MAX_QUIZMO_AUDIENCE];
|
|
|
|
/* 0x94 */ f32 compMoveMagnitude[MAX_QUIZMO_AUDIENCE];
|
|
|
|
/* 0xBC */ f32 compX[MAX_QUIZMO_AUDIENCE];
|
|
|
|
/* 0xE4 */ f32 compY[MAX_QUIZMO_AUDIENCE];
|
2022-10-27 15:07:27 +02:00
|
|
|
} QuizmoAudienceFXData; // size = 0x10C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct ButterfliesFXData {
|
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ s32 unk_04;
|
|
|
|
/* 0x08 */ s32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
2022-05-30 20:39:42 +02:00
|
|
|
/* 0x30 */ s32 unk_30;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ f32 unk_44;
|
|
|
|
} ButterfliesFXData; // size = 0x48
|
|
|
|
|
|
|
|
typedef struct StatChangeFXData {
|
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ f32 scale;
|
|
|
|
/* 0x14 */ s32 timeLeft;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 arrowType;
|
|
|
|
/* 0x20 */ s32 arrowValue;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ f32 scaleX;
|
|
|
|
/* 0x2C */ f32 scaleY;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
2022-08-07 14:42:54 +02:00
|
|
|
} StatChangeFXData;
|
2022-05-30 20:39:42 +02:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct SnakingStaticFXData {
|
2023-08-31 20:51:10 +02:00
|
|
|
/* 0x00 */ s32 type;
|
2022-08-10 15:36:38 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-12-04 03:39:46 +01:00
|
|
|
/* 0x10 */ s32 timeLeft;
|
|
|
|
/* 0x14 */ s32 lifeTime;
|
2022-10-08 12:07:10 +02:00
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
2022-12-04 03:39:46 +01:00
|
|
|
/* 0x24 */ s32 unk_24;
|
2023-08-31 20:51:10 +02:00
|
|
|
/* 0x28 */ Color3i envCol;
|
2022-12-04 03:39:46 +01:00
|
|
|
/* 0x34 */ f32 unk_34;
|
2023-08-31 20:51:10 +02:00
|
|
|
/* 0x38 */ f32 scale;
|
2022-12-04 03:39:46 +01:00
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
} SnakingStaticFXData; // size = 0x44
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct ThunderboltRingFXData {
|
2022-10-12 14:39:03 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ s32 timeLeft;
|
|
|
|
/* 0x14 */ s32 lifeTime;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x30 */ s32 unk_30;
|
2022-10-12 14:39:03 +02:00
|
|
|
} ThunderboltRingFXData; // size = 0x34
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct SquirtFXData {
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x000 */ s32 unk_00;
|
|
|
|
/* 0x004 */ f32 unk_04;
|
|
|
|
/* 0x008 */ f32 unk_08;
|
|
|
|
/* 0x00C */ f32 unk_0C;
|
|
|
|
/* 0x010 */ f32 unk_10;
|
|
|
|
/* 0x014 */ f32 unk_14;
|
|
|
|
/* 0x018 */ f32 unk_18;
|
|
|
|
/* 0x01C */ f32 unk_1C;
|
|
|
|
/* 0x020 */ f32 unk_20;
|
|
|
|
/* 0x024 */ f32 unk_24;
|
|
|
|
/* 0x028 */ s32 unk_28;
|
|
|
|
/* 0x02C */ s32 unk_2C;
|
|
|
|
/* 0x030 */ s32 unk_30;
|
|
|
|
/* 0x034 */ s32 unk_34;
|
|
|
|
/* 0x038 */ s32 unk_38;
|
|
|
|
/* 0x03C */ s32 unk_3C;
|
|
|
|
/* 0x040 */ s32 unk_40;
|
|
|
|
/* 0x044 */ s32 unk_44;
|
|
|
|
/* 0x048 */ s32 unk_48;
|
|
|
|
/* 0x04C */ s32 unk_4C;
|
|
|
|
/* 0x050 */ f32 unk_50;
|
|
|
|
/* 0x054 */ s32 unk_54;
|
|
|
|
/* 0x058 */ f32 unk_58[12];
|
|
|
|
/* 0x088 */ f32 unk_88[12];
|
|
|
|
/* 0x0B8 */ s32 unk_B8[12];
|
|
|
|
/* 0x0E8 */ f32 unk_E8[12];
|
|
|
|
/* 0x118 */ f32 unk_118[12];
|
|
|
|
/* 0x148 */ f32 unk_148[12];
|
|
|
|
/* 0x178 */ s32 unk_178[12];
|
|
|
|
/* 0x1A8 */ s32 unk_1A8[12];
|
|
|
|
/* 0x1D8 */ u8 unk_1D8[12];
|
|
|
|
} SquirtFXData; // size = 0x1E4
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2023-10-14 21:43:12 +02:00
|
|
|
enum WaterBlockFXTypes {
|
|
|
|
FX_WATER_BLOCK_CREATE = 0,
|
|
|
|
FX_WATER_BLOCK_DESTROY = 1,
|
|
|
|
};
|
|
|
|
|
2022-12-12 07:13:49 +01:00
|
|
|
#define NUM_WATER_BLOCK_COMPONENTS 4
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct WaterBlockFXData {
|
2023-10-14 21:43:12 +02:00
|
|
|
/* 0x00 */ s32 type;
|
2022-08-26 12:13:57 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2023-10-14 21:43:12 +02:00
|
|
|
/* 0x10 */ s32 timeLeft;
|
|
|
|
/* 0x14 */ s32 lifetime;
|
|
|
|
/* 0x18 */ Color4i color;
|
|
|
|
/* 0x28 */ s32 alpha;
|
2022-12-12 07:13:49 +01:00
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38[NUM_WATER_BLOCK_COMPONENTS];
|
|
|
|
/* 0x48 */ f32 unk_48[NUM_WATER_BLOCK_COMPONENTS];
|
|
|
|
/* 0x58 */ f32 unk_58[NUM_WATER_BLOCK_COMPONENTS];
|
|
|
|
/* 0x68 */ f32 unk_68[NUM_WATER_BLOCK_COMPONENTS];
|
|
|
|
/* 0x78 */ f32 unk_78[NUM_WATER_BLOCK_COMPONENTS];
|
|
|
|
/* 0x88 */ s32 unk_88[NUM_WATER_BLOCK_COMPONENTS];
|
|
|
|
} WaterBlockFXData; // size = 0x98
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct WaterfallFXData {
|
2022-11-05 01:43:44 +01:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ s32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C[12];
|
|
|
|
/* 0x5C */ f32 unk_5C[12];
|
|
|
|
} WaterfallFXData; // size = 0x8C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct WaterFountainFXData {
|
2022-10-27 15:07:27 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ s32 timeLeft;
|
|
|
|
/* 0x14 */ s32 lifeTime;
|
2022-05-27 15:03:19 +02:00
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
2022-10-27 15:07:27 +02:00
|
|
|
/* 0x24 */ s32 unk_24;
|
2022-05-27 15:03:19 +02:00
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
2022-10-27 15:07:27 +02:00
|
|
|
/* 0x34 */ f32 unk_34;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x38 */ f32 unk_38;
|
2022-10-15 00:21:50 +02:00
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
2022-10-27 15:07:27 +02:00
|
|
|
} WaterFountainFXData; // size = 0x44
|
2022-05-27 15:03:19 +02:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct UnderwaterFXData {
|
2022-11-05 01:43:44 +01:00
|
|
|
/* 0x000 */ s32 unk_00;
|
|
|
|
/* 0x004 */ f32 unk_04;
|
|
|
|
/* 0x008 */ f32 unk_08;
|
|
|
|
/* 0x00C */ f32 unk_0C;
|
2023-03-23 02:45:12 +01:00
|
|
|
/* 0x010 */ s32 timeLeft;
|
|
|
|
/* 0x014 */ s32 lifeTime;
|
2022-11-05 01:43:44 +01:00
|
|
|
/* 0x018 */ f32 unk_18;
|
2023-03-23 02:45:12 +01:00
|
|
|
/* 0x01C */ Color_RGBA8 waterColor;
|
|
|
|
/* 0x020 */ Color_RGB8 unk_20;
|
2022-11-05 01:43:44 +01:00
|
|
|
/* 0x023 */ s8 unk_23[19][13];
|
|
|
|
/* 0x11A */ s16 unk_11A[19][13];
|
|
|
|
} UnderwaterFXData; // size = 0x308
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct LightningBoltFXData {
|
2022-10-30 16:23:13 +01:00
|
|
|
/* 0x000 */ s32 type;
|
|
|
|
/* 0x004 */ Vec3f tipPos;
|
|
|
|
/* 0x010 */ Vec3f startPos;
|
|
|
|
/* 0x01C */ Vec3f endPos;
|
|
|
|
/* 0x028 */ s32 timeLeft;
|
|
|
|
/* 0x02C */ s32 lifetime;
|
|
|
|
/* 0x030 */ Color4i outerColor;
|
|
|
|
/* 0x040 */ Color3i innerColor;
|
2023-03-02 22:59:54 +01:00
|
|
|
/* 0x04C */ f32 widthScale;
|
|
|
|
/* 0x050 */ f32 boltVertexPosX[12];
|
|
|
|
/* 0x080 */ f32 boltVertexPosY[12];
|
|
|
|
/* 0x0B0 */ f32 boltVertexPosZ[12];
|
|
|
|
/* 0x0E0 */ f32 edgeLength[12];
|
2022-10-08 12:07:10 +02:00
|
|
|
/* 0x110 */ s32 unk_110;
|
|
|
|
/* 0x114 */ f32 unk_114;
|
|
|
|
} LightningBoltFXData; // size = 0x118
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct WaterSplashFXData {
|
2022-11-25 17:06:31 +01:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ Vec3f unk_04;
|
|
|
|
/* 0x10 */ Vec3f unk_10;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
} WaterSplashFXData; // size = 0x38
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct SnowmanDollFXData {
|
2022-11-02 13:51:32 +01:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ s32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ f32 unk_44;
|
|
|
|
/* 0x48 */ f32 unk_48;
|
|
|
|
/* 0x4C */ f32 unk_4C;
|
|
|
|
/* 0x50 */ f32 unk_50;
|
|
|
|
/* 0x54 */ s32 unk_54;
|
|
|
|
/* 0x58 */ s32 unk_58;
|
|
|
|
/* 0x5C */ s32 unk_5C;
|
|
|
|
} SnowmanDollFXData; // size = 0x60
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct FrightJarFXData {
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ s32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
} FrightJarFXData; // size = 0x2C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct StopWatchFXData {
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x000 */ s32 unk_00;
|
|
|
|
/* 0x004 */ f32 unk_04;
|
|
|
|
/* 0x008 */ f32 unk_08;
|
|
|
|
/* 0x00C */ f32 unk_0C;
|
|
|
|
/* 0x010 */ s32 unk_10;
|
|
|
|
/* 0x014 */ s32 unk_14;
|
|
|
|
/* 0x018 */ s32 unk_18;
|
|
|
|
/* 0x01C */ s32 unk_1C;
|
|
|
|
/* 0x020 */ s32 unk_20;
|
|
|
|
/* 0x024 */ s32 unk_24;
|
|
|
|
/* 0x028 */ f32 unk_28;
|
|
|
|
/* 0x02C */ s32 unk_2C;
|
|
|
|
/* 0x030 */ f32 unk_30;
|
|
|
|
/* 0x034 */ f32 unk_34[10];
|
|
|
|
/* 0x05C */ f32 unk_5C[10];
|
|
|
|
/* 0x084 */ f32 unk_84[10];
|
|
|
|
/* 0x0AC */ f32 unk_AC[10];
|
|
|
|
/* 0x0D4 */ f32 unk_D4[10];
|
|
|
|
/* 0x0FC */ f32 unk_FC[10];
|
|
|
|
/* 0x124 */ s32 unk_124[10];
|
|
|
|
/* 0x14C */ s32 unk_14C[10];
|
|
|
|
} StopWatchFXData; // size = 0x174
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct Effect63FXData {
|
2022-09-21 09:09:22 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
/* 0x44 */ s32 unk_44;
|
|
|
|
/* 0x48 */ f32 unk_48;
|
|
|
|
/* 0x4C */ f32 unk_4C;
|
|
|
|
/* 0x50 */ f32 unk_50;
|
|
|
|
/* 0x54 */ f32 unk_54;
|
|
|
|
/* 0x58 */ f32 unk_58;
|
|
|
|
/* 0x5C */ char unk_5C[4];
|
|
|
|
/* 0x60 */ f32 unk_60;
|
|
|
|
/* 0x64 */ f32 unk_64;
|
|
|
|
/* 0x68 */ f32 unk_68;
|
|
|
|
/* 0x6C */ f32 unk_6C;
|
|
|
|
/* 0x70 */ f32 unk_70;
|
|
|
|
/* 0x74 */ f32 unk_74;
|
|
|
|
/* 0x78 */ f32 unk_78;
|
|
|
|
} Effect63FXData; // size = 0x7C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct ThrowSpinyFXData {
|
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ s32 life;
|
|
|
|
/* 0x2C */ s32 lifeDuration;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 rgba;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ f32 unk_44;
|
|
|
|
/* 0x48 */ f32 gravity;
|
|
|
|
/* 0x4C */ f32 unk_4C;
|
|
|
|
/* 0x50 */ f32 yaw;
|
2023-07-30 07:08:07 +02:00
|
|
|
/* 0x54 */ f32 rotSpeed;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x58 */ f32 xScale;
|
|
|
|
/* 0x5C */ f32 yScale;
|
|
|
|
/* 0x60 */ u32 state;
|
|
|
|
/* 0x64 */ s32 unk_64;
|
|
|
|
/* 0x68 */ s32 timeUntilFall; //how long until spiny falls to ground?
|
|
|
|
} ThrowSpinyFXData; //sizeof 0x6C
|
2022-01-16 18:22:23 +01:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct Effect65FXData {
|
2023-03-20 02:47:35 +01:00
|
|
|
/* 0x000 */ s32 variation;
|
2022-09-21 09:09:22 +02:00
|
|
|
/* 0x004 */ f32 unk_04;
|
|
|
|
/* 0x008 */ f32 unk_08;
|
|
|
|
/* 0x00C */ f32 unk_0C;
|
2023-03-20 02:47:35 +01:00
|
|
|
/* 0x010 */ s32 timeLeft;
|
|
|
|
/* 0x014 */ s32 lifeTime;
|
|
|
|
/* 0x018 */ s32 primR;
|
|
|
|
/* 0x01C */ s32 primG;
|
|
|
|
/* 0x020 */ s32 primB;
|
|
|
|
/* 0x024 */ s32 alpha;
|
|
|
|
/* 0x028 */ s32 envR;
|
|
|
|
/* 0x02C */ s32 envG;
|
|
|
|
/* 0x030 */ s32 envB;
|
|
|
|
/* 0x034 */ f32 scale;
|
2022-09-21 09:09:22 +02:00
|
|
|
/* 0x038 */ Vec3f pos;
|
2023-03-20 02:47:35 +01:00
|
|
|
/* 0x044 */ f32 pathJitterX;
|
|
|
|
/* 0x048 */ f32 pathJitterY;
|
|
|
|
/* 0x04C */ f32 pathJitterZ;
|
|
|
|
/* 0x050 */ f32 pathX[30];
|
|
|
|
/* 0x0C8 */ f32 pathY[30];
|
|
|
|
/* 0x140 */ f32 pathZ[30];
|
|
|
|
/* 0x1B8 */ s32 pathTimestamp[30];
|
|
|
|
/* 0x230 */ s32 pathPointEnabled[30]; // a bool
|
|
|
|
/* 0x2A8 */ s32 lastPointIndex;
|
|
|
|
/* 0x2AC */ f32 pathLength[30];
|
2022-09-21 09:09:22 +02:00
|
|
|
} Effect65FXData; // size = 0x324
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2023-10-22 14:39:20 +02:00
|
|
|
#define TUBBA_MINI_HEART_COUNT 25
|
|
|
|
|
|
|
|
enum HeartSwarmFXTypes {
|
|
|
|
FX_HEART_SWARM_HIT = 0,
|
|
|
|
FX_HEART_SWARM_MISS = 1,
|
|
|
|
};
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct TubbaHeartAttackFXData {
|
2023-10-22 14:39:20 +02:00
|
|
|
/* 0x000 */ s32 type;
|
|
|
|
/* 0x004 */ f32 centerX;
|
|
|
|
/* 0x008 */ f32 centerY;
|
|
|
|
/* 0x00C */ f32 centerZ;
|
|
|
|
/* 0x010 */ s32 timeLeft;
|
|
|
|
/* 0x014 */ s32 lifetime;
|
|
|
|
/* 0x018 */ s32 primR;
|
|
|
|
/* 0x01C */ s32 primG;
|
|
|
|
/* 0x020 */ s32 primB;
|
|
|
|
/* 0x024 */ s32 primA;
|
|
|
|
/* 0x028 */ f32 overallScale;
|
|
|
|
/* 0x02C */ f32 posX[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x090 */ f32 posY[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x0F4 */ f32 posZ[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x158 */ f32 initialX[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x1BC */ f32 initialY[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x220 */ f32 initialZ[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x284 */ f32 finalX[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x2E8 */ f32 finalY[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x34C */ f32 finalZ[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x3B0 */ f32 scaleX[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x414 */ f32 scaleY[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x478 */ f32 rotZ[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x4DC */ f32 rotXY[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x540 */ f32 shrinkVelX[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x5A4 */ f32 shrinkVelY[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x608 */ f32 shrinkVelZ[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x66C */ s32 appearDelay[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x6D0 */ s32 state[TUBBA_MINI_HEART_COUNT];
|
|
|
|
/* 0x734 */ s32 stateTime[TUBBA_MINI_HEART_COUNT];
|
2022-10-30 02:22:40 +02:00
|
|
|
} TubbaHeartAttackFXData; // size = 0x798
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2022-11-24 15:57:29 +01:00
|
|
|
#define MAX_WHIRLWIND_SEGMENTS 8
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct WhirlwindFXData {
|
2022-11-24 15:57:29 +01:00
|
|
|
/* 0x000 */ s32 unk_00;
|
|
|
|
/* 0x004 */ Vec3f pos;
|
|
|
|
/* 0x010 */ s32 unk_10;
|
|
|
|
/* 0x014 */ s32 unk_14;
|
|
|
|
/* 0x018 */ s32 primR;
|
|
|
|
/* 0x01C */ s32 primG;
|
|
|
|
/* 0x020 */ s32 primB;
|
|
|
|
/* 0x024 */ s32 primAlpha;
|
|
|
|
/* 0x028 */ s32 envR;
|
|
|
|
/* 0x02C */ s32 envG;
|
|
|
|
/* 0x030 */ s32 envB;
|
|
|
|
/* 0x034 */ f32 unk_34;
|
|
|
|
/* 0x038 */ f32 unk_38[MAX_WHIRLWIND_SEGMENTS];
|
|
|
|
/* 0x058 */ f32 unk_58[MAX_WHIRLWIND_SEGMENTS];
|
|
|
|
/* 0x078 */ f32 unk_78[MAX_WHIRLWIND_SEGMENTS];
|
|
|
|
/* 0x098 */ f32 unk_98[MAX_WHIRLWIND_SEGMENTS];
|
|
|
|
/* 0x0B8 */ f32 unk_B8[MAX_WHIRLWIND_SEGMENTS];
|
|
|
|
/* 0x0D8 */ f32 unk_D8[MAX_WHIRLWIND_SEGMENTS];
|
|
|
|
/* 0x0F8 */ f32 unk_F8[MAX_WHIRLWIND_SEGMENTS];
|
|
|
|
/* 0x118 */ f32 unk_118[MAX_WHIRLWIND_SEGMENTS];
|
|
|
|
/* 0x138 */ f32 unk_138;
|
|
|
|
/* 0x13C */ f32 unk_13C;
|
|
|
|
/* 0x140 */ f32 unk_140;
|
|
|
|
} WhirlwindFXData; // size = 0x144
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2022-10-12 02:28:15 +02:00
|
|
|
// Likely to be the same as GreenImpactFXData and ShockwaveFXData
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct RedImpactFXData {
|
2022-10-12 02:28:15 +02:00
|
|
|
/* 0x00 */ u16 unk_00;
|
|
|
|
/* 0x02 */ char unk_02[2]; // likely padding
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ f32 unk_44;
|
|
|
|
/* 0x48 */ f32 unk_48;
|
|
|
|
/* 0x4C */ s32 unk_4C;
|
|
|
|
/* 0x50 */ Color_RGB8 unk_50;
|
|
|
|
/* 0x53 */ Color_RGB8 unk_53;
|
|
|
|
/* 0x56 */ char unk_56[2]; // likely padding
|
|
|
|
} RedImpactFXData; // size = 0x58
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct FloatingCloudPuffFXData {
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ s32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
} FloatingCloudPuffFXData; // size = 0x3C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct EnergyInOutFXData {
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
2021-12-25 02:34:55 +01:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x10 */ s32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x34 */ f32 scale;
|
2022-09-27 20:10:05 +02:00
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
2022-08-10 15:36:38 +02:00
|
|
|
/* 0x44 */ f32 unk_44;
|
2022-09-27 20:10:05 +02:00
|
|
|
} EnergyInOutFXData; // size = 0x48
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct Effect6BFXData {
|
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ char unk_10[12];
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ char unk_24[8];
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ f32 scale;
|
2021-12-25 02:34:55 +01:00
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ char unk_40[0x4];
|
2022-08-07 14:42:54 +02:00
|
|
|
} Effect6BFXData; // size = 0x44
|
|
|
|
|
|
|
|
typedef struct TattleWindowFXData {
|
2023-08-21 20:07:08 +02:00
|
|
|
/* 0x00 */ s32 type;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2023-08-21 20:07:08 +02:00
|
|
|
/* 0x10 */ s32 timeLeft;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
2022-11-05 16:31:01 +01:00
|
|
|
/* 0x1C */ f32 scale;
|
|
|
|
/* 0x20 */ Vec3f rot;
|
|
|
|
/* 0x2C */ Vec2f offset;
|
2023-08-21 20:07:08 +02:00
|
|
|
/* 0x34 */ Vec2bu closeAmt;
|
2022-08-07 14:42:54 +02:00
|
|
|
} TattleWindowFXData; // size = 0x38
|
|
|
|
|
|
|
|
typedef struct ShinyFlareFXData {
|
2022-10-12 14:39:03 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ s32 timeLeft;
|
|
|
|
/* 0x14 */ s32 lifeTime;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
} ShinyFlareFXData; // size = 0x30
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct HuffPuffBreathFXData {
|
2022-11-05 08:06:28 +01:00
|
|
|
/* 0x00 */ s32 type;
|
2022-10-07 09:31:45 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-10-03 20:12:44 +02:00
|
|
|
/* 0x10 */ s32 timeLeft;
|
|
|
|
/* 0x14 */ s32 lifeTime;
|
2023-08-31 20:51:10 +02:00
|
|
|
/* 0x18 */ Color4i primCol;
|
|
|
|
/* 0x28 */ Color4i envCol;
|
2022-11-05 08:06:28 +01:00
|
|
|
/* 0x38 */ f32 texOffsetX;
|
|
|
|
/* 0x3C */ f32 speedX;
|
|
|
|
/* 0x40 */ f32 texOffsetY;
|
|
|
|
/* 0x44 */ f32 speedY;
|
|
|
|
/* 0x48 */ f32 angle;
|
|
|
|
/* 0x4C */ f32 scale;
|
2022-10-07 09:31:45 +02:00
|
|
|
} HuffPuffBreathFXData; // size = 0x50
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct ColdBreathFXData {
|
2023-08-31 20:51:10 +02:00
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ s32 timeLeft;
|
|
|
|
/* 0x14 */ s32 lifetime;
|
|
|
|
/* 0x18 */ Color4i primCol;
|
|
|
|
/* 0x28 */ Color4i envCol;
|
2022-09-05 06:53:21 +02:00
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
2023-08-31 20:51:10 +02:00
|
|
|
/* 0x40 */ f32 scale;
|
2022-09-05 06:53:21 +02:00
|
|
|
} ColdBreathFXData; // size = 0x44
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct EmbersFXData {
|
2022-09-13 11:52:01 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
2023-05-20 19:26:11 +02:00
|
|
|
/* 0x18 */ s32 timeLeft;
|
|
|
|
/* 0x1C */ s32 lifetime;
|
2022-09-13 11:52:01 +02:00
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ f32 unk_44;
|
|
|
|
/* 0x48 */ f32 unk_48;
|
|
|
|
/* 0x4C */ f32 unk_4C;
|
|
|
|
/* 0x50 */ f32 unk_50;
|
|
|
|
/* 0x54 */ f32 unk_54;
|
|
|
|
/* 0x58 */ f32 unk_58;
|
|
|
|
/* 0x5C */ f32 unk_5C;
|
|
|
|
/* 0x60 */ f32 unk_60;
|
|
|
|
/* 0x64 */ s32 unk_64;
|
|
|
|
/* 0x68 */ f32 unk_68;
|
|
|
|
/* 0x6C */ f32 unk_6C;
|
|
|
|
} EmbersFXData; // size = 0x70
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct HieroglyphsFXData {
|
2022-10-07 09:31:45 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-10-03 20:12:44 +02:00
|
|
|
/* 0x10 */ s32 timeLeft;
|
|
|
|
/* 0x14 */ s32 lifeTime;
|
2022-10-07 09:31:45 +02:00
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
2022-10-03 20:12:44 +02:00
|
|
|
/* 0x24 */ s32 unk_24;
|
2022-10-07 09:31:45 +02:00
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
} HieroglyphsFXData; // size = 0x3C
|
2021-12-25 02:34:55 +01:00
|
|
|
|
2022-05-27 15:03:19 +02:00
|
|
|
typedef struct MiscParticlesFXData {
|
2022-10-30 16:23:13 +01:00
|
|
|
/* 0x00 */ s32 variation;
|
2022-10-12 14:39:03 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ f32 scaleX;
|
|
|
|
/* 0x14 */ f32 scaleY;
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ char unk_20[4];
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
2022-10-30 16:23:13 +01:00
|
|
|
/* 0x2C */ s32 animTime;
|
|
|
|
/* 0x30 */ s32 timeLeft;
|
|
|
|
/* 0x34 */ s32 lifetime;
|
|
|
|
/* 0x38 */ Color4i innerColor;
|
|
|
|
/* 0x48 */ Color4i glowColor;
|
|
|
|
/* 0x58 */ f32 scale;
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x5C */ f32 unk_5C;
|
|
|
|
/* 0x60 */ f32 unk_60;
|
|
|
|
} MiscParticlesFXData; // size = 0x64
|
2022-05-27 15:03:19 +02:00
|
|
|
|
2022-06-06 14:34:45 +02:00
|
|
|
typedef struct StaticStatusFXData {
|
2023-03-16 07:41:26 +01:00
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
2023-03-16 07:41:26 +01:00
|
|
|
/* 0x20 */ s32 frame; // not visible when negative
|
2023-07-30 07:08:07 +02:00
|
|
|
/* 0x24 */ f32 rot;
|
2023-03-16 07:41:26 +01:00
|
|
|
/* 0x28 */ s32 timeLeft;
|
|
|
|
/* 0x2C */ s32 lifetime;
|
|
|
|
/* 0x30 */ s32 alpha;
|
|
|
|
/* 0x34 */ f32 scale;
|
2022-08-10 15:36:38 +02:00
|
|
|
} StaticStatusFXData; // size = 0x38
|
2022-06-06 14:34:45 +02:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct MovingCloudFXData {
|
2022-10-30 02:22:40 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
/* 0x44 */ f32 unk_44;
|
|
|
|
} MovingCloudFXData; // size = 0x48
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct Effect75FXData {
|
2023-01-21 09:14:46 +01:00
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-09-13 11:52:01 +02:00
|
|
|
/* 0x10 */ s32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
2023-01-21 09:14:46 +01:00
|
|
|
/* 0x18 */ Color3i primCol;
|
2022-09-13 11:52:01 +02:00
|
|
|
/* 0x24 */ s32 unk_24;
|
2023-01-21 09:14:46 +01:00
|
|
|
/* 0x28 */ Color3i envCol;
|
2022-09-13 11:52:01 +02:00
|
|
|
/* 0x34 */ s32 unk_34;
|
2023-01-21 09:14:46 +01:00
|
|
|
/* 0x38 */ s32 masterAlpha;
|
|
|
|
/* 0x3C */ f32 scale;
|
2022-09-13 11:52:01 +02:00
|
|
|
/* 0x40 */ f32 unk_40;
|
|
|
|
/* 0x44 */ f32 unk_44;
|
|
|
|
/* 0x48 */ f32 unk_48;
|
|
|
|
/* 0x4C */ f32 unk_4C;
|
|
|
|
/* 0x50 */ f32 unk_50;
|
|
|
|
/* 0x54 */ f32 unk_54;
|
|
|
|
/* 0x58 */ f32 unk_58;
|
|
|
|
/* 0x5C */ f32 unk_5C;
|
|
|
|
/* 0x60 */ f32 unk_60;
|
|
|
|
/* 0x64 */ f32 unk_64;
|
|
|
|
/* 0x68 */ f32 unk_68;
|
|
|
|
/* 0x6C */ f32 unk_6C;
|
|
|
|
/* 0x70 */ f32 unk_70;
|
|
|
|
/* 0x74 */ f32 unk_74;
|
|
|
|
/* 0x78 */ f32 unk_78;
|
|
|
|
/* 0x7C */ f32 unk_7C;
|
|
|
|
} Effect75FXData; // size = 0x80
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2024-03-06 17:03:33 +01:00
|
|
|
#define ROCKET_BUF_SIZE 4
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct FireworkRocketFXData {
|
2023-01-03 16:57:48 +01:00
|
|
|
/* 0x00 */ s32 variation;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
2023-07-30 07:08:07 +02:00
|
|
|
/* 0x10 */ Vec3f vel;
|
2023-01-03 16:57:48 +01:00
|
|
|
/* 0x1C */ s32 timeLeft;
|
|
|
|
/* 0x20 */ s32 lifeTime;
|
|
|
|
/* 0x24 */ s32 r;
|
|
|
|
/* 0x28 */ s32 g;
|
|
|
|
/* 0x2C */ s32 b;
|
|
|
|
/* 0x30 */ s32 minBlurAlpha;
|
2022-09-21 09:09:22 +02:00
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
2023-01-03 16:57:48 +01:00
|
|
|
/* 0x44 */ f32 radius;
|
|
|
|
/* 0x48 */ f32 maxRadius;
|
|
|
|
/* 0x4C */ s32 isExploded;
|
2024-03-06 17:03:33 +01:00
|
|
|
/* 0x50 */ f32 rocketX[ROCKET_BUF_SIZE];
|
|
|
|
/* 0x60 */ f32 rocketY[ROCKET_BUF_SIZE];
|
|
|
|
/* 0x70 */ f32 rocketZ[ROCKET_BUF_SIZE];
|
|
|
|
/* 0x80 */ f32 rocketVelX[ROCKET_BUF_SIZE];
|
|
|
|
/* 0x90 */ f32 rocketVelY[ROCKET_BUF_SIZE];
|
|
|
|
/* 0xA0 */ f32 rocketVelZ[ROCKET_BUF_SIZE];
|
2022-09-21 09:09:22 +02:00
|
|
|
} FireworkRocketFXData; // size = 0xB0
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2022-11-14 12:00:29 +01:00
|
|
|
typedef struct PeachStarBeamSpirit {
|
2022-08-25 12:18:04 +02:00
|
|
|
/* 0x00 */ s32 flags;
|
2022-11-14 12:00:29 +01:00
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ Vec3f lockedPos;
|
|
|
|
} PeachStarBeamSpirit; // size = 0x1C
|
2022-08-25 12:18:04 +02:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct PeachStarBeamFXData {
|
2022-08-25 12:18:04 +02:00
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ s32 timeLeft;
|
|
|
|
/* 0x14 */ s32 lifetime;
|
|
|
|
/* 0x18 */ s32 primR;
|
|
|
|
/* 0x1C */ s32 primG;
|
|
|
|
/* 0x20 */ s32 primB;
|
2022-11-14 12:00:29 +01:00
|
|
|
/* 0x24 */ s32 beamAlpha;
|
2022-08-25 12:18:04 +02:00
|
|
|
/* 0x28 */ s32 envR;
|
|
|
|
/* 0x2C */ s32 envG;
|
|
|
|
/* 0x30 */ s32 envB;
|
|
|
|
/* 0x34 */ s32 envA;
|
2022-11-14 12:00:29 +01:00
|
|
|
/* 0x38 */ f32 beamScale;
|
2022-08-25 12:18:04 +02:00
|
|
|
/* 0x3C */ s32 unk_3C;
|
2023-07-30 07:08:07 +02:00
|
|
|
/* 0x40 */ f32 rotSpeed;
|
|
|
|
/* 0x44 */ f32 rotAngle;
|
2022-11-14 12:00:29 +01:00
|
|
|
/* 0x48 */ f32 circleRadius;
|
|
|
|
/* 0x4C */ Vec3f circleCenter;
|
|
|
|
/* 0x58 */ f32 twinkYOffset;
|
|
|
|
/* 0x5C */ PeachStarBeamSpirit spirits[8];
|
2022-08-25 12:18:04 +02:00
|
|
|
} PeachStarBeamFXData; // size = 0x13C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct ChapterChangeFXData {
|
2022-09-05 06:53:21 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
2022-10-17 09:46:24 +02:00
|
|
|
/* 0x04 */ Vec2f chapterPos;
|
2022-09-05 06:53:21 +02:00
|
|
|
/* 0x0C */ f32 unk_0C;
|
2022-10-17 09:46:24 +02:00
|
|
|
/* 0x10 */ Vec2f endOfPos;
|
|
|
|
/* 0x18 */ s32 timeLeft;
|
|
|
|
/* 0x1C */ s32 lifetime;
|
2022-09-05 06:53:21 +02:00
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40;
|
|
|
|
/* 0x44 */ s32 unk_44;
|
|
|
|
/* 0x48 */ s32 unk_48;
|
|
|
|
/* 0x4C */ s32 unk_4C;
|
|
|
|
/* 0x50 */ f32 unk_50;
|
|
|
|
/* 0x54 */ s32 unk_54;
|
|
|
|
} ChapterChangeFXData; // size = 0x58
|
2022-05-27 15:03:19 +02:00
|
|
|
|
2022-06-12 16:44:36 +02:00
|
|
|
typedef struct IceShardFXData {
|
2023-02-03 07:16:32 +01:00
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ s32 timeLeft;
|
|
|
|
/* 0x14 */ s32 lifetime;
|
|
|
|
/* 0x18 */ Color4i primCol;
|
|
|
|
/* 0x28 */ Color4i envCol;
|
|
|
|
/* 0x38 */ f32 scale;
|
2023-07-30 07:08:07 +02:00
|
|
|
/* 0x3C */ f32 rot;
|
2023-02-03 07:16:32 +01:00
|
|
|
/* 0x40 */ f32 angularVel;
|
|
|
|
/* 0x44 */ f32 animFrame;
|
|
|
|
/* 0x48 */ f32 animRate;
|
|
|
|
/* 0x4C */ Vec3f vel;
|
|
|
|
/* 0x58 */ f32 gravAccel;
|
2022-11-02 13:51:32 +01:00
|
|
|
} IceShardFXData; // size = 0x5C
|
2022-06-12 16:44:36 +02:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct SpiritCardFXData {
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
2022-10-17 09:46:24 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x10 */ s32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
2023-05-09 05:46:47 +02:00
|
|
|
/* 0x1C */ struct EffectInstance* child;
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x20 */ f32 unk_20;
|
2022-10-17 09:46:24 +02:00
|
|
|
/* 0x24 */ f32 yaw;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x28 */ char unk_28[0xC];
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x34 */ u8 chapter;
|
|
|
|
/* 0x35 */ char unk_35[3];
|
|
|
|
} SpiritCardFXData; // size = 0x38
|
2022-06-17 11:21:13 +02:00
|
|
|
|
2022-09-10 19:04:04 +02:00
|
|
|
#define MAX_LIL_OINKS 11
|
|
|
|
|
2022-11-30 08:39:42 +01:00
|
|
|
enum LilOinkFlags {
|
|
|
|
LIL_OINK_FLAG_VISIBLE = 1,
|
|
|
|
LIL_OINK_FLAG_ANIM_CHANGED = 2,
|
|
|
|
};
|
|
|
|
|
|
|
|
enum LilOinkTypes {
|
|
|
|
LIL_OINK_TYPE_BLACK = 0,
|
|
|
|
LIL_OINK_TYPE_WHITE = 1,
|
|
|
|
LIL_OINK_TYPE_PINK = 2,
|
|
|
|
LIL_OINK_TYPE_PIKACHU = 3,
|
|
|
|
LIL_OINK_TYPE_SHROOM = 4,
|
|
|
|
LIL_OINK_TYPE_FLOWER = 5,
|
|
|
|
LIL_OINK_TYPE_STAR = 6,
|
|
|
|
LIL_OINK_TYPE_QUESTION = 7,
|
|
|
|
LIL_OINK_TYPE_SILVER = 8,
|
|
|
|
LIL_OINK_TYPE_GOLD = 9,
|
|
|
|
};
|
|
|
|
|
|
|
|
enum LilOinkAnims {
|
|
|
|
LIL_OINK_ANIM_0 = 0,
|
|
|
|
LIL_OINK_ANIM_1 = 1,
|
|
|
|
LIL_OINK_ANIM_2 = 2,
|
|
|
|
LIL_OINK_ANIM_3 = 3,
|
|
|
|
LIL_OINK_ANIM_4 = 4,
|
|
|
|
LIL_OINK_ANIM_5 = 5,
|
|
|
|
};
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct LilOinkFXData {
|
2022-11-30 08:39:42 +01:00
|
|
|
/* 0x000 */ s32 timeLeft;
|
|
|
|
/* 0x004 */ s32 lifetime;
|
2022-09-10 19:04:04 +02:00
|
|
|
/* 0x008 */ s32 flags[MAX_LIL_OINKS];
|
|
|
|
/* 0x034 */ f32 x[MAX_LIL_OINKS];
|
|
|
|
/* 0x060 */ f32 y[MAX_LIL_OINKS];
|
|
|
|
/* 0x08C */ f32 z[MAX_LIL_OINKS];
|
|
|
|
/* 0x0B8 */ f32 rot[MAX_LIL_OINKS];
|
|
|
|
/* 0x0E4 */ u8 type[MAX_LIL_OINKS];
|
2022-11-30 08:39:42 +01:00
|
|
|
/* 0x0EF */ s8 nextAnim[MAX_LIL_OINKS];
|
|
|
|
/* 0x0FA */ u8 anim[MAX_LIL_OINKS];
|
|
|
|
/* 0x105 */ u8 gfxFrame[MAX_LIL_OINKS];
|
2022-09-10 19:04:04 +02:00
|
|
|
/* 0x110 */ f32 jumpOffset[MAX_LIL_OINKS];
|
2022-11-30 08:39:42 +01:00
|
|
|
/* 0x13C */ s8 animTime[MAX_LIL_OINKS];
|
2022-09-10 19:04:04 +02:00
|
|
|
} LilOinkFXData; // size = 0x148
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct SomethingRotatingFXData {
|
2022-10-18 12:07:21 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
2023-02-22 09:22:31 +01:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-10-18 12:07:21 +02:00
|
|
|
/* 0x10 */ s32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x20 */ f32 unk_20;
|
2022-12-06 00:53:46 +01:00
|
|
|
/* 0x24 */ u8 primAlpha;
|
2022-10-18 12:07:21 +02:00
|
|
|
/* 0x25 */ s8 unk_25;
|
2022-12-06 00:53:46 +01:00
|
|
|
/* 0x26 */ Color_RGB8 env;
|
|
|
|
/* 0x29 */ u8 state;
|
2022-10-18 12:07:21 +02:00
|
|
|
/* 0x2A */ char unk_2A[2];
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
} SomethingRotatingFXData; // size = 0x30
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct BreakingJunkFXData {
|
2022-08-10 17:29:06 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ Vec3f vel;
|
|
|
|
/* 0x1C */ s32 timeLeft;
|
|
|
|
/* 0x20 */ s32 lifeTime;
|
|
|
|
/* 0x24 */ f32 scale;
|
|
|
|
/* 0x28 */ f32 rot;
|
|
|
|
/* 0x2C */ s16 primR;
|
|
|
|
/* 0x2E */ s16 primG;
|
|
|
|
/* 0x30 */ s16 primB;
|
|
|
|
/* 0x32 */ s16 primA;
|
|
|
|
/* 0x34 */ s16 envR;
|
|
|
|
/* 0x36 */ s16 envG;
|
|
|
|
/* 0x38 */ s16 envB;
|
|
|
|
/* 0x3A */ s16 envA;
|
2022-08-07 14:42:54 +02:00
|
|
|
} BreakingJunkFXData; // size = unknown
|
|
|
|
|
2022-08-26 12:13:57 +02:00
|
|
|
enum {
|
|
|
|
FX_BUFF_DATA_WATER_BLOCK = 0,
|
|
|
|
FX_BUFF_DATA_CLOUD_NINE = 1,
|
2023-10-22 14:39:20 +02:00
|
|
|
FX_BUFF_DATA_TURBO_CHARGE = 2,
|
2022-08-26 12:13:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
typedef struct BuffData {
|
|
|
|
/* 0x00 */ s16 alpha;
|
|
|
|
/* 0x02 */ s16 turnsDisplay;
|
|
|
|
/* 0x04 */ s16 turnsLeft;
|
|
|
|
/* 0x06 */ s16 state;
|
|
|
|
/* 0x08 */ s16 stateTimer;
|
2022-10-18 12:07:21 +02:00
|
|
|
} BuffData; // size = 0xA
|
2022-08-26 12:13:57 +02:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct PartnerBuffFXData {
|
2022-08-26 12:13:57 +02:00
|
|
|
/* 0x00 */ s16 useRandomValues;
|
2023-10-14 21:43:12 +02:00
|
|
|
/* 0x02 */ s16 visible;
|
2022-08-26 12:13:57 +02:00
|
|
|
/* 0x04 */ s32 timeLeft;
|
|
|
|
/* 0x08 */ s32 lifeTime;
|
|
|
|
/* 0x0C */ BuffData unk_0C[3];
|
|
|
|
} PartnerBuffFXData; // size = 0x2C
|
2022-04-12 08:01:58 +02:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct QuizmoAssistantFXData {
|
2022-11-02 13:51:32 +01:00
|
|
|
/* 0x00 */ s32 unk_00;
|
2023-07-30 07:08:07 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-05-05 16:08:16 +02:00
|
|
|
/* 0x10 */ s32 vanishTimer;
|
2022-04-12 08:01:58 +02:00
|
|
|
/* 0x14 */ s32 lifetime;
|
|
|
|
/* 0x18 */ s32 fadeInAmt; // 0 = all-black, FF = fully-visible
|
|
|
|
/* 0x1C */ s32 anim;
|
2022-08-07 14:42:54 +02:00
|
|
|
} QuizmoAssistantFXData; // size = 0x20
|
2022-04-12 08:01:58 +02:00
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct IcePillarFXData {
|
2022-11-27 21:38:13 +01:00
|
|
|
/* 0x00 */ s32 unk_00;
|
2022-08-25 12:18:04 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-11-27 21:38:13 +01:00
|
|
|
/* 0x10 */ s32 timeLeft;
|
|
|
|
/* 0x14 */ s32 lifeTime;
|
|
|
|
/* 0x18 */ Color_RGBA8 prim;
|
|
|
|
/* 0x1C */ Color_RGBA8 env;
|
|
|
|
/* 0x20 */ f32 scale;
|
|
|
|
/* 0x24 */ s8 unk_24;
|
|
|
|
/* 0x25 */ s8 unk_25;
|
|
|
|
/* 0x26 */ char unk_26[0x2];
|
|
|
|
/* 0x28 */ struct EffectInstance* miscParticles;
|
|
|
|
} IcePillarFXData; // size = 0x2C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
2022-10-30 16:23:13 +01:00
|
|
|
// sun shine directions
|
|
|
|
enum {
|
|
|
|
FX_SUN_FROM_LEFT = 0,
|
|
|
|
FX_SUN_FROM_RIGHT = 1,
|
|
|
|
};
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
typedef struct SunFXData {
|
2022-08-17 03:04:23 +02:00
|
|
|
/* 0x00 */ s32 shineFromRight;
|
|
|
|
/* 0x04 */ Vec3f pos; // does nothing
|
2022-08-10 15:36:38 +02:00
|
|
|
/* 0x10 */ s32 timeLeft;
|
|
|
|
/* 0x14 */ s32 lifeTime;
|
2022-08-17 03:04:23 +02:00
|
|
|
/* 0x18 */ Color_RGB8 primColor;
|
|
|
|
/* 0x1B */ Color_RGBA8 envColor;
|
2022-08-10 15:36:38 +02:00
|
|
|
/* 0x1F */ char unk_1F[0x1];
|
2022-08-17 03:04:23 +02:00
|
|
|
/* 0x20 */ f32 texScrollAmt[5];
|
2022-08-10 15:36:38 +02:00
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ s32 alpha;
|
|
|
|
/* 0x3C */ s32 targetAlpha;
|
|
|
|
} SunFXData; // size = 0x40
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct StarSpiritsEnergyFXData {
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ s32 unk_04;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x34 */ s32 unk_34;
|
2022-10-25 11:49:05 +02:00
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ f32 unk_3C;
|
|
|
|
/* 0x40 */ f32 unk_40[4];
|
|
|
|
/* 0x50 */ s32 unk_50[4];
|
|
|
|
/* 0x60 */ s32 unk_60;
|
|
|
|
/* 0x64 */ s32 unk_64;
|
|
|
|
/* 0x68 */ s32 unk_68;
|
|
|
|
/* 0x6C */ s32 unk_6C;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x70 */ s32 unk_70;
|
|
|
|
/* 0x74 */ s32 unk_74;
|
2022-10-25 11:49:05 +02:00
|
|
|
} StarSpiritsEnergyFXData; // size = 0x78
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct PinkSparklesFXData {
|
2022-10-18 12:07:21 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
} PinkSparklesFXData; // size = 0x2C
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct StarOutlineFXData {
|
2022-10-10 13:26:32 +02:00
|
|
|
/* 0x00 */ s16 unk_00;
|
2022-10-27 15:07:27 +02:00
|
|
|
/* 0x02 */ s16 unk_02;
|
2022-10-10 13:26:32 +02:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2022-10-27 15:07:27 +02:00
|
|
|
/* 0x10 */ s32 timeLeft;
|
|
|
|
/* 0x14 */ s32 lifeTime;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
2022-10-10 13:26:32 +02:00
|
|
|
/* 0x24 */ s32 unk_24;
|
2022-10-27 15:07:27 +02:00
|
|
|
/* 0x28 */ s32 unk_28;
|
|
|
|
/* 0x2C */ s32 unk_2C;
|
|
|
|
/* 0x30 */ s32 unk_30;
|
2022-10-10 13:26:32 +02:00
|
|
|
/* 0x34 */ s32 unk_34;
|
|
|
|
/* 0x38 */ f32 unk_38;
|
|
|
|
/* 0x3C */ Vec3f unk_3C;
|
2022-10-27 15:07:27 +02:00
|
|
|
/* 0x48 */ f32 unk_48;
|
|
|
|
/* 0x4C */ f32 unk_4C;
|
|
|
|
/* 0x50 */ f32 unk_50;
|
|
|
|
/* 0x54 */ f32 unk_54;
|
|
|
|
} StarOutlineFXData; // size = 0x58
|
2022-08-07 14:42:54 +02:00
|
|
|
|
|
|
|
typedef struct Effect86FXData {
|
2022-05-27 15:03:19 +02:00
|
|
|
/* 0x00 */ s32 unk_00;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ s32 unk_10;
|
|
|
|
/* 0x14 */ s32 unk_14;
|
|
|
|
/* 0x18 */ s32 unk_18;
|
|
|
|
/* 0x1C */ s32 unk_1C;
|
|
|
|
/* 0x20 */ s32 unk_20;
|
|
|
|
/* 0x24 */ s32 unk_24;
|
|
|
|
/* 0x28 */ s32 unk_28;
|
2022-05-27 15:03:19 +02:00
|
|
|
/* 0x2C */ s32 unk_2C;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x30 */ s32 unk_30;
|
2022-05-27 15:03:19 +02:00
|
|
|
/* 0x34 */ f32 unk_34;
|
2022-08-07 14:42:54 +02:00
|
|
|
} Effect86FXData; // size = 0x38
|
|
|
|
|
|
|
|
typedef union {
|
|
|
|
s32* any;
|
|
|
|
struct Effect00FXData* unk_00;
|
|
|
|
struct BigSmokePuffFXData* bigSmokePuff;
|
|
|
|
struct Effect02FXData* unk_02;
|
|
|
|
struct Effect03FXData* unk_03;
|
|
|
|
struct Effect04FXData* unk_04;
|
|
|
|
struct Effect05FXData* unk_05;
|
|
|
|
struct LandingDustFXData* landingDust;
|
|
|
|
struct WalkingDustFXData* walkingDust;
|
|
|
|
struct FlowerFXData* flowerSplash; // note: shared
|
|
|
|
struct FlowerFXData* flowerTrail; // note: shared
|
|
|
|
struct CloudPuffFXData* cloudPuff;
|
|
|
|
struct CloudTrailFXData* cloudTrail;
|
|
|
|
struct FootprintFXData* footprint;
|
|
|
|
struct FloatingFlowerFXData* floatingFlower;
|
|
|
|
struct SnowflakeFXData* snowflake;
|
|
|
|
struct StarFXData* star;
|
|
|
|
struct EmoteFXData* emote;
|
|
|
|
struct SparklesFXData* sparkles;
|
|
|
|
struct ShapeSpellFXData* shapeSpell;
|
|
|
|
struct GatherEnergyPinkFXData* gatherEnergyPink;
|
|
|
|
struct DropLeavesFXData* dropLeaves;
|
|
|
|
struct DustFXData* dust;
|
|
|
|
struct ShatteringStonesFXData* shatteringStones;
|
|
|
|
struct SmokeRingFXData* smokeRing;
|
|
|
|
struct DamageStarsFXData* damageStars;
|
|
|
|
struct ExplosionFXData* explosion;
|
|
|
|
struct LensFlareFXData* lensFlare;
|
|
|
|
struct GotItemOutlineFXData* gotItemOutline;
|
|
|
|
struct SpikyWhiteAuraFXData* spikyWhiteAura;
|
|
|
|
struct SmokeImpactFXData* smokeImpact;
|
|
|
|
struct DamageIndicatorFXData* damageIndicator;
|
|
|
|
struct PurpleRingFXData* purpleRing;
|
|
|
|
struct FlameFXData* flame;
|
|
|
|
struct StarsBurstFXData* starsBurst;
|
|
|
|
struct StarsShimmerFXData* starsShimmer;
|
|
|
|
struct RisingBubbleFXData* risingBubble;
|
|
|
|
struct RingBlastFXData* ringBlast;
|
|
|
|
struct ShockwaveFXData* shockwave;
|
|
|
|
struct MusicNoteFXData* musicNote;
|
|
|
|
struct SmokeBurstFXData* smokeBurst;
|
|
|
|
struct SweatFXData* sweat;
|
|
|
|
struct SleepBubbleFXData* sleepBubble;
|
|
|
|
struct Unk2AFXData* unk_2A;
|
|
|
|
struct WindyLeavesFXData* windyLeaves;
|
|
|
|
struct FallingLeavesFXData* fallingLeaves;
|
|
|
|
struct StarsSpreadFXData* starsSpread;
|
|
|
|
struct SteamBurstFXData* steamBurst;
|
|
|
|
struct StarsOrbitingFXData* starsOrbiting;
|
|
|
|
struct BigSnowflakesFXData* bigSnowflakes;
|
|
|
|
struct DebuffFXData* debuff;
|
|
|
|
struct GreenImpactFXData* greenImpact;
|
|
|
|
struct RadialShimmerFXData* radialShimmer;
|
|
|
|
struct EndingDecalsFXData* endingDecals;
|
|
|
|
struct LightRaysFXData* lightRays;
|
|
|
|
struct LightningFXData* lightning;
|
|
|
|
struct FireBreathFXData* fireBreath;
|
|
|
|
struct ShimmerBurstFXData* shimmerBurst;
|
|
|
|
struct EnergyShockwaveFXData* energyShockwave;
|
|
|
|
struct ShimmerWaveFXData* shimmerWave;
|
|
|
|
struct AuraFXData* aura;
|
|
|
|
struct BulbGlowFXData* bulbGlow;
|
|
|
|
struct Effect3DFXData* unk_3D;
|
|
|
|
struct BlastFXData* blast;
|
|
|
|
struct FireFlowerFXData* fireFlower;
|
|
|
|
struct RecoverFXData* recover;
|
|
|
|
struct DisableXFXData* disableX;
|
|
|
|
struct BombetteBreakingFXData* bombetteBreaking;
|
|
|
|
struct FireworkFXData* firework;
|
|
|
|
struct ConfettiFXData* confetti;
|
|
|
|
struct SnowfallFXData* snowfall;
|
2023-05-23 14:57:34 +02:00
|
|
|
struct SpinFXData* spin;
|
2022-08-07 14:42:54 +02:00
|
|
|
struct GatherMagicFXData* gatherMagic;
|
|
|
|
struct AttackResultTextFXData* attackResultText;
|
|
|
|
struct SmallGoldSparkleFXData* smallGoldSparkle;
|
|
|
|
struct FlashingBoxShockwaveFXData* flashingBoxShockwave;
|
|
|
|
struct BalloonFXData* balloon;
|
|
|
|
struct FloatingRockFXData* floatingRock;
|
|
|
|
struct ChompDropFXData* chompDrop;
|
|
|
|
struct QuizmoStageFXData* quizmoStage;
|
|
|
|
struct RadiatingEnergyOrbFXData* radiatingEnergyOrb;
|
2023-02-14 14:14:14 +01:00
|
|
|
void* quizmoAnswer;
|
2022-08-07 14:42:54 +02:00
|
|
|
struct MotionBlurFlameFXData* motionBlurFlame;
|
|
|
|
struct EnergyOrbWaveFXData* energyOrbWave;
|
|
|
|
struct MerlinHouseStarsFXData* merlinHouseStars;
|
|
|
|
struct QuizmoAudienceFXData* quizmoAudience;
|
|
|
|
struct ButterfliesFXData* butterflies;
|
|
|
|
struct StatChangeFXData* statChange;
|
|
|
|
struct SnakingStaticFXData* snakingStatic;
|
|
|
|
struct ThunderboltRingFXData* thunderboltRing;
|
|
|
|
struct SquirtFXData* squirt;
|
|
|
|
struct WaterBlockFXData* waterBlock;
|
|
|
|
struct WaterfallFXData* waterfall;
|
|
|
|
struct WaterFountainFXData* waterFountain;
|
|
|
|
struct UnderwaterFXData* underwater;
|
|
|
|
struct LightningBoltFXData* lightningBolt;
|
|
|
|
struct WaterSplashFXData* waterSplash;
|
|
|
|
struct SnowmanDollFXData* snowmanDoll;
|
|
|
|
struct FrightJarFXData* frightJar;
|
|
|
|
struct StopWatchFXData* stopWatch;
|
|
|
|
struct Effect63FXData* unk_63;
|
|
|
|
struct ThrowSpinyFXData* throwSpiny;
|
|
|
|
struct Effect65FXData* unk_65;
|
|
|
|
struct TubbaHeartAttackFXData* tubbaHeartAttack;
|
|
|
|
struct WhirlwindFXData* whirlwind;
|
|
|
|
struct RedImpactFXData* redImpact;
|
|
|
|
struct FloatingCloudPuffFXData* floatingCloudPuff;
|
|
|
|
struct Effect6AFXData* unk_6A;
|
|
|
|
struct EnergyInOutFXData* energyInOut;
|
|
|
|
struct TattleWindowFXData* tattleWindow;
|
|
|
|
struct ShinyFlareFXData* shinyFlare;
|
|
|
|
struct HuffPuffBreathFXData* huffPuffBreath;
|
|
|
|
struct ColdBreathFXData* coldBreath;
|
|
|
|
struct EmbersFXData* embers;
|
|
|
|
struct HieroglyphsFXData* hieroglyphs;
|
|
|
|
struct MiscParticlesFXData* miscParticles;
|
|
|
|
struct StaticStatusFXData* staticStatus;
|
|
|
|
struct MovingCloudFXData* movingCloud;
|
|
|
|
struct Effect75FXData* unk_75;
|
|
|
|
struct Effect76FXData* unk_76;
|
|
|
|
struct FireworkRocketFXData* fireworkRocket;
|
|
|
|
struct PeachStarBeamFXData* peachStarBeam;
|
|
|
|
struct ChapterChangeFXData* chapterChange;
|
|
|
|
struct IceShardFXData* iceShard;
|
|
|
|
struct SpiritCardFXData* spiritCard;
|
|
|
|
struct LilOinkFXData* lilOink;
|
|
|
|
struct SomethingRotatingFXData* somethingRotating;
|
|
|
|
struct BreakingJunkFXData* breakingJunk;
|
|
|
|
struct PartnerBuffFXData* partnerBuff;
|
|
|
|
struct QuizmoAssistantFXData* quizmoAssistant;
|
|
|
|
struct IcePillarFXData* icePillar;
|
|
|
|
struct SunFXData* sun;
|
|
|
|
struct StarSpiritsEnergyFXData* starSpiritsEnergy;
|
|
|
|
struct PinkSparklesFXData* pinkSparkles;
|
|
|
|
struct StarOutlineFXData* starOutline;
|
|
|
|
struct Effect86FXData* unk_86;
|
|
|
|
} EffectData;
|
2022-05-27 15:03:19 +02:00
|
|
|
|
|
|
|
typedef struct EffectInstance {
|
|
|
|
/* 0x00 */ s32 flags;
|
|
|
|
/* 0x04 */ s32 effectIndex;
|
|
|
|
/* 0x08 */ s32 numParts;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x0C */ EffectData data;
|
2022-05-27 15:03:19 +02:00
|
|
|
/* 0x10 */ struct EffectGraphics* graphics;
|
|
|
|
} EffectInstance; // size = 0x14
|
|
|
|
|
2022-08-07 14:42:54 +02:00
|
|
|
// composite struct for watt effects -- NOT the same as StaticStatusFXData
|
|
|
|
typedef struct WattEffectData {
|
2023-08-21 20:07:08 +02:00
|
|
|
/* 0x00 */ s32 initialized;
|
|
|
|
/* 0x04 */ s32 isBouncing;
|
|
|
|
/* 0x08 */ s32 bouncePhase;
|
|
|
|
/* 0x0C */ s32 isActive;
|
|
|
|
/* 0x10 */ s32 currentEffectIndex;
|
2022-08-10 17:29:06 +02:00
|
|
|
/* 0x14 */ EffectInstance* effect1;
|
|
|
|
/* 0x18 */ EffectInstance* effect2;
|
2022-08-07 14:42:54 +02:00
|
|
|
/* 0x1C */ s32 debuff;
|
|
|
|
} WattEffectData;
|
|
|
|
|
2022-05-27 15:03:19 +02:00
|
|
|
typedef struct StarSpiritData {
|
|
|
|
/* 0x00 */ f32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ f32 unk_14;
|
|
|
|
/* 0x18 */ f32 unk_18;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ f32 unk_2C;
|
|
|
|
/* 0x30 */ f32 unk_30;
|
|
|
|
/* 0x34 */ f32 unk_34;
|
|
|
|
/* 0x38 */ s32 unk_38;
|
|
|
|
/* 0x3C */ s32 unk_3C;
|
|
|
|
/* 0x40 */ s32 unk_40; // a shadowID
|
|
|
|
/* 0x44 */ s16 unk_44;
|
|
|
|
/* 0x46 */ s16 unk_46;
|
|
|
|
/* 0x48 */ s16 unk_48;
|
|
|
|
/* 0x4A */ s16 unk_4A;
|
|
|
|
/* 0x4C */ s16 unk_4C;
|
|
|
|
/* 0x4E */ s16 unk_4E;
|
|
|
|
/* 0x50 */ EffectInstance* unk_50;
|
|
|
|
/* 0x54 */ EffectInstance* unk_54;
|
|
|
|
} StarSpiritData; // size = 0x58
|
|
|
|
|
|
|
|
typedef struct EffectBlueprint {
|
|
|
|
/* 0x00 */ s32 unk_00;
|
|
|
|
/* 0x04 */ s32 effectID;
|
|
|
|
/* 0x08 */ void (*init)(EffectInstance* effectInst);
|
|
|
|
/* 0x0C */ void (*update)(EffectInstance* effectInst);
|
|
|
|
/* 0x10 */ void (*renderWorld)(EffectInstance* effectInst);
|
2023-05-09 05:46:47 +02:00
|
|
|
/* 0x14 */ void (*renderUI)(EffectInstance* effectInst);
|
2022-05-27 15:03:19 +02:00
|
|
|
} EffectBlueprint; // size = 0x18
|
|
|
|
|
|
|
|
typedef struct EffectGraphics {
|
|
|
|
/* 0x00 */ s32 flags;
|
|
|
|
/* 0x04 */ s32 effectIndex;
|
|
|
|
/* 0x08 */ s32 instanceCounter;
|
|
|
|
/* 0x0C */ s32 freeDelay;
|
|
|
|
/* 0x10 */ void (*update)(EffectInstance* effectInst);
|
|
|
|
/* 0x14 */ void (*renderWorld)(EffectInstance* effectInst);
|
|
|
|
/* 0x18 */ void (*renderUI)(EffectInstance* effectInst);
|
|
|
|
/* 0x1C */ s32* data;
|
|
|
|
} EffectGraphics; // size = 0x20
|
|
|
|
|
|
|
|
typedef struct EffectTableEntry {
|
|
|
|
/* 0x00 */ void (*entryPoint);
|
|
|
|
/* 0x04 */ void* dmaStart;
|
|
|
|
/* 0x08 */ void* dmaEnd;
|
|
|
|
/* 0x0C */ void* dmaDest;
|
|
|
|
/* 0x10 */ void* graphicsDmaStart;
|
|
|
|
/* 0x14 */ void* graphicsDmaEnd;
|
|
|
|
} EffectTableEntry; // size = 0x18
|
|
|
|
|
2022-03-13 18:33:10 +01:00
|
|
|
enum FireBreathType {
|
|
|
|
FIRE_BREATH_LARGE = 0,
|
|
|
|
FIRE_BREATH_SMALL = 1,
|
|
|
|
FIRE_BREATH_TINY = 2,
|
|
|
|
};
|
|
|
|
|
2021-09-27 01:19:58 +02:00
|
|
|
EffectInstance* create_effect_instance(EffectBlueprint* effectBp);
|
|
|
|
void remove_effect(EffectInstance*);
|
|
|
|
s32 load_effect(s32 effectIndex);
|
2021-07-21 16:46:58 +02:00
|
|
|
|
2022-10-25 12:04:54 +02:00
|
|
|
void fx_sun_undeclared(s32, s32, s32, s32, s32, s32);
|
|
|
|
|
2023-07-24 19:51:48 +02:00
|
|
|
#include "effects/effect_defs.h"
|
2023-07-19 11:01:28 +02:00
|
|
|
|
2021-07-21 16:46:58 +02:00
|
|
|
#endif
|