SSBM Decomp
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1#ifndef MELEE_EF_TYPES_H
2#define MELEE_EF_TYPES_H
3
4#include <placeholder.h>
5
6#include "dolphin/mtx.h"
7
8#include "ef/forward.h" // IWYU pragma: export
9
10#include "sc/types.h"
11
12#include <baselib/forward.h>
13
15 /* +0 */ HSD_JObj* x0;
16 /* +0 */ HSD_GObj* x4;
17}; /* size = 0x8 */
18
19struct Effect {
20 /* +0 */ ef_UnkStruct2* x0; // Should this really be ef_UnkStruct2*?
21 /* +4 */ HSD_GObj* gobj;
23 /* +C */ HSD_JObj* xC;
25 /* +14 */ void* x14;
26 /* +18 */ Vec3 translate;
27 /* +24 */ u16 x24;
28 /* +26 */ s8 x26;
29 /* +27 */ s8 x27;
30 /* +28 */ s8 x28; // Effect update control (?) in fn_8005BC50
31 /* +29 */ u8 x29;
32 /* +2A */ s8 x2A;
33 /* +2B */ s8 x2B;
34}; /* size = 0x2C */
35
36struct EffectDesc {
37 /* +0 */ float x0;
39}; /* size = 0x14 */
40
42 /* +0 */ int x0;
43 /* +4 */ int x4;
44 /* +8 */ int x8;
45 /* +C */ int xC;
46}; /* size = 0x10 */
47
48// Same as efAsync_80067980_objalloc_t ??
49// Same size as __va_list struct?
51 /* +0 */ ef_UnkStruct3* next; // actually next?
52 /* +4 */ u8 eff_type;
53 /* +8 */ s32 gfx_id;
54 /* +C */ HSD_JObj* xC;
55 /* +10 */ Vec3 x10;
56 /* +1C */ f32 x1C;
57 /* +20 */ f32 x20;
58}; /* size = 0x24 */
59
61 /* 0x0 */ char* ef_DAT_file;
62 /* 0x4 */ char* effDataTable_name;
63 /* 0x8 */ void* unk8;
64}; /* size = 0xC */
65
67 /* 0x0 */ void* unk0; /* inferred */
68 /* 0x4 */ u16 pad4;
69 /* 0x6 */ u16 unk6; /* inferred */
70}; /* size = 0x8? */
71
72#endif
void(* efLib_UnkCallback)(Effect *)
Definition forward.h:12
Definition types.h:36
StaticModelDesc model_desc
Definition types.h:38
float x0
Definition types.h:37
Definition types.h:19
s8 x28
Definition types.h:30
s8 x2A
Definition types.h:32
s8 x26
Definition types.h:28
u16 x24
Definition types.h:27
ef_UnkStruct2 * x0
Definition types.h:20
efLib_UnkCallback x10
Definition types.h:24
Vec3 translate
Definition types.h:26
HSD_GObj * parent_gobj
Definition types.h:22
s8 x2B
Definition types.h:33
HSD_GObj * gobj
Definition types.h:21
u8 x29
Definition types.h:31
HSD_JObj * xC
Definition types.h:23
void * x14
Definition types.h:25
s8 x27
Definition types.h:29
was using this to try and fix some matches, unsuccessfully
Definition gobj.h:26
Definition jobj.h:107
Model with a single animation or no animation.
Definition types.h:10
Definition types.h:60
void * unk8
Definition types.h:63
char * effDataTable_name
Definition types.h:62
char * ef_DAT_file
Definition types.h:61
Definition types.h:66
void * unk0
Definition types.h:67
u16 pad4
Definition types.h:68
u16 unk6
Definition types.h:69
Definition types.h:41
int xC
Definition types.h:45
int x4
Definition types.h:43
int x0
Definition types.h:42
int x8
Definition types.h:44
Definition types.h:14
HSD_JObj * x0
Definition types.h:15
HSD_GObj * x4
Definition types.h:16
Definition types.h:50
f32 x20
Definition types.h:57
Vec3 x10
Definition types.h:55
u8 eff_type
Definition types.h:52
ef_UnkStruct3 * next
Definition types.h:51
f32 x1C
Definition types.h:56
HSD_JObj * xC
Definition types.h:54
s32 gfx_id
Definition types.h:53