SSBM Decomp
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1#ifndef MELEE_MP_TYPES_H
2#define MELEE_MP_TYPES_H
3
4#include <placeholder.h>
5
6#include "gr/forward.h"
7#include "mp/forward.h" // IWYU pragma: export
8
9#include <dolphin/mtx.h>
10
13 /* +4 */ int x4;
14 /* +8 */ S32Vec3 x8;
15 /* +14 */ S32Vec3 x14;
16 /* +20 */ int x20;
17 /* +24 */ short x24;
18 /* +26 */ short x26;
19 /* +28 */ short x28;
20 /* +2A */ short x2A;
21 /* +2C */ mp_UnkStruct3* ptr;
22};
23
26 /* +4 */ int x4;
27 /* +8 */ Vec3 x8;
28 /* +14 */ Vec3 x14;
29 /* +20 */ int x20;
30 /* +24 */ short x24;
31 /* +26 */ short x26;
32 /* +28 */ short x28;
33 /* +2A */ short x2A;
34 /* +2C */ mp_UnkStruct3* ptr;
35};
36
38 /* +0 */ u16 x0;
39 /* +2 */ u16 x2;
40 /* +4 */ short x4;
41 /* +6 */ short x6;
42};
43
45 /* +0 */ mp_UnkStruct1* x0;
46 /* +4 */ int x4;
47};
48
49struct mpisland {
50 /* +0 */ int x0[8];
51 /* +20 */ int x20[8];
52};
53
55 int x0;
56 int x4;
57 int xC;
58};
59
61 /* +0 */ u8 x0[0x4];
62 /* +4 */ u16 x4;
63 /* +6 */ u16 x6;
64 /* +8 */ Vec3 x8;
65 /* +14 */ Vec3 x14;
66 /* +20 */ u8 x20[0x28 - 0x20];
67 /* +28 */ short x28;
68 /* +2A */ short x2A;
69 /* +2C */ u16 x2C;
70 /* +30 */ int x30;
71 /* +34 */ int x34;
72 /* +38 */ int x38;
73 /* +3C */ int x3C;
74};
75
77 /* +0 */ short x0;
78 /* +2 */ short x2;
79 /* +4 */ short* x4;
80};
81
83 /* 0x00 */ char pad_0[8];
84 /* 0x08 */ f32 unk_8; /* inferred */
85 /* 0x0C */ f32 unk_C; /* inferred */
86 /* 0x10 */ char pad_10[8]; /* maybe part of unk_C[3]? */
87}; /* size = 0x18 */
88STATIC_ASSERT(sizeof(struct mpLib_804D64B8_t) == 0x18);
89
91 /* 0x00 */ UNK_T x0;
92 /* 0x04 */ s16* x4;
93 /* 0x08 */ u32 flags;
94 /* 0x0C */ s16 xC;
95 /* 0x0E */ s16 xE;
96 /* 0x10 */ char pad_0[0x14];
98 /* 0x28 */ Ground* x28;
99 /* 0x2C */ int unk_2C; /* inferred */
100 /* 0x30 */ int unk_30; /* inferred */
101}; /* size = 0x34 */
102STATIC_ASSERT(sizeof(struct mpLib_804D64C0_t) == 0x34);
103
105 /* +0 */ struct mp_UnkStruct7* next;
106 /* +4 */ s32 x4;
107 /* +8 */ s32 x8;
108 /* +C */ u8 xC[0x10 - 0xC];
109 /* +10 */ float x10;
110 /* +14 */ float x14;
111 /* +18 */ float x18;
112 /* +1C */ float x1C;
113};
114
115#endif
void(* mpLib_GroundCallback)(Ground *gp, UNK_T, UNK_T, UNK_T, mpLib_GroundEnum arg4)
Definition forward.h:30
#define UNK_T
Definition placeholder.h:32
#define STATIC_ASSERT(cond)
Definition platform.h:110
Definition types.h:628
Definition types.h:11
S32Vec3 x14
Definition types.h:15
short x26
Definition types.h:18
S32Vec3 x8
Definition types.h:14
int x4
Definition types.h:13
short x2A
Definition types.h:20
int x20
Definition types.h:16
short x28
Definition types.h:19
mp_UnkStruct3 * ptr
Definition types.h:21
mp_UnkStruct0 * next
Definition types.h:12
short x24
Definition types.h:17
Definition types.h:82
char pad_0[8]
Definition types.h:83
f32 unk_8
Definition types.h:84
char pad_10[8]
Definition types.h:86
f32 unk_C
Definition types.h:85
Definition types.h:90
int unk_30
Definition types.h:100
s16 * x4
Definition types.h:92
s16 xE
Definition types.h:95
s16 xC
Definition types.h:94
u32 flags
Definition types.h:93
UNK_T x0
Definition types.h:91
mpLib_GroundCallback x24
Definition types.h:97
Ground * x28
Definition types.h:98
char pad_0[0x14]
Definition types.h:96
int unk_2C
Definition types.h:99
Definition types.h:24
Vec3 x8
Definition types.h:27
short x2A
Definition types.h:33
short x28
Definition types.h:32
Vec3 x14
Definition types.h:28
mp_UnkStruct3 * ptr
Definition types.h:34
int x20
Definition types.h:29
int x4
Definition types.h:26
mp_UnkStruct0 * next
Definition types.h:25
short x24
Definition types.h:30
short x26
Definition types.h:31
Definition types.h:37
short x6
Definition types.h:41
u16 x2
Definition types.h:39
short x4
Definition types.h:40
u16 x0
Definition types.h:38
Definition types.h:44
mp_UnkStruct1 * x0
Definition types.h:45
int x4
Definition types.h:46
Definition types.h:54
int x0
Definition types.h:55
int xC
Definition types.h:57
int x4
Definition types.h:56
Definition types.h:60
short x2A
Definition types.h:68
Vec3 x14
Definition types.h:65
int x38
Definition types.h:72
short x28
Definition types.h:67
u8 x20[0x28 - 0x20]
Definition types.h:66
u8 x0[0x4]
Definition types.h:61
int x3C
Definition types.h:73
int x30
Definition types.h:70
Vec3 x8
Definition types.h:64
u16 x6
Definition types.h:63
u16 x2C
Definition types.h:69
u16 x4
Definition types.h:62
int x34
Definition types.h:71
Definition types.h:76
short * x4
Definition types.h:79
short x0
Definition types.h:77
short x2
Definition types.h:78
Definition types.h:104
u8 xC[0x10 - 0xC]
Definition types.h:108
struct mp_UnkStruct7 * next
Definition types.h:105
float x18
Definition types.h:111
float x10
Definition types.h:109
float x1C
Definition types.h:112
float x14
Definition types.h:110
s32 x4
Definition types.h:106
s32 x8
Definition types.h:107
Definition types.h:49
int x0[8]
Definition types.h:50
int x20[8]
Definition types.h:51