SSBM Decomp
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1#ifndef MELEE_IF_TYPES_H
2#define MELEE_IF_TYPES_H
3
4#include <platform.h>
5#include <placeholder.h>
6
7#include "if/forward.h" // IWYU pragma: export
8#include <baselib/forward.h>
9
19
24
27 /* +04 */ HSD_GObj* next;
28 /* +08 */ u8 player_slot;
29 /* +09 */ u8 unk9;
31 /* +0C */ u16 old_damage;
35 /* +14 */ float translation_x[HUD_PLACE_MAX];
36 /* +24 */ float translation_y[HUD_PLACE_MAX];
37 /* +34 */ float velocity_x[HUD_PLACE_MAX];
38 /* +44 */ float velocity_y[HUD_PLACE_MAX];
40};
41
42struct HudIndex {
44 /* +258 */ HSD_Joint* unk258;
45 /* +25C */ void* jobj_desc_parent;
47 /* +264 */ void* janim_selection_textures;
48 /* +268 */ void* unk268;
49 /* +26C */ void* unk26C;
50 /* +270 */ void* unk270;
51 /* +274 */ void* unk274;
52 // 8 elements of size 0x28, what is this?
53};
54
59
61 /* +00 */ HSD_GObj* x0;
62 /* +04 */ u32 x4;
63 /* +08 */ UNK_T x8;
64 /* +0C */ u32 xC; // flags?
65 /* +10 */ u32 x10; // flags?
66 /* +14 */ s32 x14;
67 /* +18 */ u32 x18;
68 /* +1C */ u32 x1C;
69 /* +20 */ u32 x20;
70 /* +24 */ u32 x24;
71 /* +28 */ u32 x28;
72};
73
78
80 u8 unk80 : 1;
81 u8 unk40 : 1;
82 u8 unk20 : 1;
83 u8 unk10 : 1;
84 u8 unk8 : 1;
85 u8 unk4 : 1;
86 u8 unk2 : 1;
87 u8 unk1 : 1;
88};
89
95
96struct ifMagnify {
97 HSD_Joint* joint; // // ifMagnify_802fc3c0 accesses 0x804A1DE0 for a Joint
98 int x4;
99 int x8;
100 int xC;
101 int x10;
102 struct {
103 HSD_GObj* gobj; // ifMagnify_802fc750 accesses 0x804A1DF4 + slot * 0x10
104 // for a GObj
105 HSD_TObj* tobj; // ifMagnify_802fc3c0 accesses 0x804A1DF8 + slot * 0x10
106 // for a TObj
108 idesc; // ifMagnify_802FBBDC access 0x804A1DFC for an ImageDesc
109 struct {
112 u8 unk : 6;
114 } player[6];
115 u8 unk[0xF0 - 0x74];
116};
117
118#endif
@ HUD_PLACE_MAX
Definition forward.h:19
#define UNK_T
unsigned long u32
An unsigned 32-bit integer.
Definition platform.h:26
unsigned short u16
An unsigned 16-bit integer.
Definition platform.h:23
signed long s32
A signed 32-bit integer.
Definition platform.h:14
unsigned char u8
An unsigned 8-bit integer.
Definition platform.h:20
Definition types.h:55
s32 unk1C
Definition types.h:57
s32 padding[6]
Definition types.h:56
Definition types.h:60
s32 x14
Definition types.h:66
u32 x10
Definition types.h:65
u32 x28
Definition types.h:71
HSD_GObj * x0
Definition types.h:61
u32 x4
Definition types.h:62
u32 x1C
Definition types.h:68
u32 xC
Definition types.h:64
u32 x20
Definition types.h:69
UNK_T x8
Definition types.h:63
u32 x18
Definition types.h:67
u32 x24
Definition types.h:70
Definition aobj.h:57
Definition gobj.h:25
Definition tobj.h:204
Definition jobj.h:108
Definition jobj.h:130
Definition tobj.h:133
Definition types.h:42
void * unk26C
Definition types.h:49
IfDamageState players[6]
Definition types.h:43
HSD_AnimJoint * janim_selection_joints
Definition types.h:46
void * unk268
Definition types.h:48
void * unk270
Definition types.h:50
HSD_Joint * unk258
Definition types.h:44
void * jobj_desc_parent
Definition types.h:45
void * unk274
Definition types.h:51
void * janim_selection_textures
Definition types.h:47
Definition types.h:10
u8 force_digit_shake
Definition types.h:13
u8 unk1
Definition types.h:17
u8 explode_animation
Definition types.h:11
u8 unk10
Definition types.h:14
u8 hide_all_digits
Definition types.h:15
u8 animation_status_id
Definition types.h:16
u8 randomize_velocity
Definition types.h:12
Definition types.h:25
u16 damage_percent
Definition types.h:30
float translation_y[HUD_PLACE_MAX]
Definition types.h:36
IfDamageFlags flags
Definition types.h:34
u8 unk9
Definition types.h:29
u8 frames_of_shake_remaining
Definition types.h:33
u8 damage_from_last_attack
Definition types.h:32
float velocity_y[HUD_PLACE_MAX]
Definition types.h:38
HSD_JObj * jobjs[HUD_PLACE_MAX]
Definition types.h:39
u16 old_damage
Definition types.h:31
float velocity_x[HUD_PLACE_MAX]
Definition types.h:37
HSD_GObj * next
Definition types.h:27
u8 player_slot
Definition types.h:28
HSD_GObj * HUD_parent_entity
Definition types.h:26
float translation_x[HUD_PLACE_MAX]
Definition types.h:35
Definition types.h:79
u8 unk8
Definition types.h:84
u8 unk1
Definition types.h:87
u8 unk4
Definition types.h:85
u8 unk80
Definition types.h:80
u8 unk20
Definition types.h:82
u8 unk10
Definition types.h:83
u8 unk2
Definition types.h:86
u8 unk40
Definition types.h:81
Definition types.h:90
Placeholder_8016AE50_flags flags
Definition types.h:93
u8 unk1
Definition types.h:92
u8 unk0
Definition types.h:91
Definition types.h:74
Element_803F9628 things[8]
Definition types.h:75
u32 extra[6]
Definition types.h:76
Definition types.h:20
s32 padding[0x24]
Definition types.h:21
HSD_JObj * unk28
Definition types.h:22
Definition types.h:96
u8 ignore_offscreen
Definition types.h:111
int xC
Definition types.h:100
HSD_TObj * tobj
Definition types.h:105
int x8
Definition types.h:99
HSD_ImageDesc * idesc
Definition types.h:108
struct ifMagnify::@173::@174 state
int x10
Definition types.h:101
int x4
Definition types.h:98
HSD_Joint * joint
Definition types.h:97
struct ifMagnify::@173 player[6]
u8 is_offscreen
Definition types.h:110
HSD_GObj * gobj
Definition types.h:103
u8 unk
Definition types.h:112
Definition lbcollision.c:66