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 <placeholder.h>
5#include <platform.h>
6
7#include "if/forward.h" // IWYU pragma: export
8#include "sc/forward.h"
9#include <baselib/forward.h>
10
20
22 s32 padding[0x24];
24};
25
28 /* +04 */ HSD_GObj* next;
29 /* +08 */ u8 player_slot;
30 /* +09 */ u8 unk9;
31 /* +0A */ u16 damage_percent;
32 /* +0C */ u16 old_damage;
36 /* +14 */ float translation_x[HUD_PLACE_MAX];
37 /* +24 */ float translation_y[HUD_PLACE_MAX];
38 /* +34 */ float velocity_x[HUD_PLACE_MAX];
39 /* +44 */ float velocity_y[HUD_PLACE_MAX];
41};
42
43struct HudIndex {
45 /* +258 */ HSD_Joint* unk258;
46 /* +25C */ void* jobj_desc_parent;
48 /* +264 */ void* janim_selection_textures;
49 /* +268 */ void* unk268;
50 /* +26C */ void* unk26C;
51 /* +270 */ void* unk270;
52 /* +274 */ void* unk274;
53 // 8 elements of size 0x28, what is this?
54};
55
57 s32 padding[6];
58 s32 unk1C;
59};
60
62 /* +00 */ HSD_GObj* x0;
63 /* +04 */ u32 x4;
64 /* +08 */ void(*x8)(HSD_GObj*);
65 /* +0C */ u32 xC; // flags?
66 /* +10 */ u32 x10; // flags?
68 /* +18 */ u32 x18;
69 /* +1C */ u32 x1C;
70 /* +20 */ u32 x20;
71 /* +24 */ u32 x24;
72};
73
75 u8 unk80 : 1;
76 u8 unk40 : 1;
77 u8 unk20 : 1;
78 u8 unk10 : 1;
79 u8 unk8 : 1;
80 u8 unk4 : 1;
81 u8 unk2 : 1;
82 u8 unk1 : 1;
83};
84
90
91struct ifMagnify {
92 HSD_Joint* joint; // // ifMagnify_802fc3c0 accesses 0x804A1DE0 for a Joint
93 int x4;
94 int x8;
95 int xC;
96 int x10;
97 struct {
98 HSD_GObj* gobj; // ifMagnify_802fc750 accesses 0x804A1DF4 + slot * 0x10
99 // for a GObj
100 HSD_TObj* tobj; // ifMagnify_802fc3c0 accesses 0x804A1DF8 + slot * 0x10
101 // for a TObj
103 idesc; // ifMagnify_802FBBDC access 0x804A1DFC for an ImageDesc
104 struct {
107 u8 unk : 6;
109 } player[6];
110 u8 unk[0xF0 - 0x74];
111};
112
113#endif
@ HUD_PLACE_MAX
Definition forward.h:19
Model with multiple animations.
Definition types.h:18
Definition types.h:56
s32 unk1C
Definition types.h:58
s32 padding[6]
Definition types.h:57
Definition types.h:61
DynamicModelDesc * x14
Definition types.h:67
u32 x10
Definition types.h:66
HSD_GObj * x0
Definition types.h:62
u32 x4
Definition types.h:63
u32 x1C
Definition types.h:69
u32 xC
Definition types.h:65
u32 x20
Definition types.h:70
void(* x8)(HSD_GObj *)
Definition types.h:64
u32 x18
Definition types.h:68
u32 x24
Definition types.h:71
Definition aobj.h:58
was using this to try and fix some matches, unsuccessfully
Definition gobj.h:26
Definition tobj.h:205
Definition jobj.h:107
Definition jobj.h:130
Definition tobj.h:134
Definition types.h:43
void * unk26C
Definition types.h:50
IfDamageState players[6]
Definition types.h:44
HSD_AnimJoint * janim_selection_joints
Definition types.h:47
void * unk268
Definition types.h:49
void * unk270
Definition types.h:51
HSD_Joint * unk258
Definition types.h:45
void * jobj_desc_parent
Definition types.h:46
void * unk274
Definition types.h:52
void * janim_selection_textures
Definition types.h:48
Definition types.h:11
u8 force_digit_shake
Definition types.h:14
u8 unk1
Definition types.h:18
u8 explode_animation
Definition types.h:12
u8 unk10
Definition types.h:15
u8 hide_all_digits
Definition types.h:16
u8 animation_status_id
Definition types.h:17
u8 randomize_velocity
Definition types.h:13
Definition types.h:26
u16 damage_percent
Definition types.h:31
float translation_y[HUD_PLACE_MAX]
Definition types.h:37
IfDamageFlags flags
Definition types.h:35
u8 unk9
Definition types.h:30
u8 frames_of_shake_remaining
Definition types.h:34
u8 damage_from_last_attack
Definition types.h:33
float velocity_y[HUD_PLACE_MAX]
Definition types.h:39
HSD_JObj * jobjs[HUD_PLACE_MAX]
Definition types.h:40
u16 old_damage
Definition types.h:32
float velocity_x[HUD_PLACE_MAX]
Definition types.h:38
HSD_GObj * next
Definition types.h:28
u8 player_slot
Definition types.h:29
HSD_GObj * HUD_parent_entity
Definition types.h:27
float translation_x[HUD_PLACE_MAX]
Definition types.h:36
Definition types.h:74
u8 unk8
Definition types.h:79
u8 unk1
Definition types.h:82
u8 unk4
Definition types.h:80
u8 unk80
Definition types.h:75
u8 unk20
Definition types.h:77
u8 unk10
Definition types.h:78
u8 unk2
Definition types.h:81
u8 unk40
Definition types.h:76
Definition types.h:85
Placeholder_8016AE50_flags flags
Definition types.h:88
u8 unk1
Definition types.h:87
u8 unk0
Definition types.h:86
Definition types.h:21
s32 padding[0x24]
Definition types.h:22
HSD_JObj * unk28
Definition types.h:23
Definition types.h:91
u8 ignore_offscreen
Definition types.h:106
struct ifMagnify::@215 player[6]
int xC
Definition types.h:95
HSD_TObj * tobj
Definition types.h:100
int x8
Definition types.h:94
HSD_ImageDesc * idesc
Definition types.h:103
int x10
Definition types.h:96
int x4
Definition types.h:93
HSD_Joint * joint
Definition types.h:92
struct ifMagnify::@215::@216 state
u8 is_offscreen
Definition types.h:105
HSD_GObj * gobj
Definition types.h:98
u8 unk
Definition types.h:107
Definition lbcardgame.c:306