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
11
struct
mpIsland_80458E88_t
{
12
/* +0 */
mp_UnkStruct0
*
next
;
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
24
struct
mp_UnkStruct0
{
25
/* +0 */
mp_UnkStruct0
*
next
;
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
37
struct
mp_UnkStruct1
{
38
/* +0 */
u16
x0
;
39
/* +2 */
u16
x2
;
40
/* +4 */
short
x4
;
41
/* +6 */
short
x6
;
42
};
43
44
struct
mp_UnkStruct2
{
45
/* +0 */
mp_UnkStruct1
*
x0
;
46
/* +4 */
int
x4
;
47
};
48
49
struct
mpisland
{
50
/* +0 */
int
x0
[8];
51
/* +20 */
int
x20
[8];
52
};
53
54
struct
mp_UnkStruct3
{
55
int
x0
;
56
int
x4
;
57
int
xC
;
58
};
59
60
struct
mp_UnkStruct5
{
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
76
struct
mp_UnkStruct6
{
77
/* +0 */
short
x0
;
78
/* +2 */
short
x2
;
79
/* +4 */
short
*
x4
;
80
};
81
82
struct
mpLib_804D64B8_t
{
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 */
88
STATIC_ASSERT
(
sizeof
(
struct
mpLib_804D64B8_t
) == 0x18);
89
90
struct
mpLib_804D64C0_t
{
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];
97
/* 0x24 */
mpLib_GroundCallback
x24
;
98
/* 0x28 */
Ground
*
x28
;
99
/* 0x2C */
int
unk_2C
;
/* inferred */
100
/* 0x30 */
int
unk_30
;
/* inferred */
101
};
/* size = 0x34 */
102
STATIC_ASSERT
(
sizeof
(
struct
mpLib_804D64C0_t
) == 0x34);
103
104
struct
mp_UnkStruct7
{
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
forward.h
forward.h
mpLib_GroundCallback
void(* mpLib_GroundCallback)(Ground *gp, UNK_T, UNK_T, UNK_T, mpLib_GroundEnum arg4)
Definition
forward.h:30
placeholder.h
UNK_T
#define UNK_T
Definition
placeholder.h:32
STATIC_ASSERT
#define STATIC_ASSERT(cond)
Definition
platform.h:110
Ground
Definition
types.h:628
mpIsland_80458E88_t
Definition
types.h:11
mpIsland_80458E88_t::x14
S32Vec3 x14
Definition
types.h:15
mpIsland_80458E88_t::x26
short x26
Definition
types.h:18
mpIsland_80458E88_t::x8
S32Vec3 x8
Definition
types.h:14
mpIsland_80458E88_t::x4
int x4
Definition
types.h:13
mpIsland_80458E88_t::x2A
short x2A
Definition
types.h:20
mpIsland_80458E88_t::x20
int x20
Definition
types.h:16
mpIsland_80458E88_t::x28
short x28
Definition
types.h:19
mpIsland_80458E88_t::ptr
mp_UnkStruct3 * ptr
Definition
types.h:21
mpIsland_80458E88_t::next
mp_UnkStruct0 * next
Definition
types.h:12
mpIsland_80458E88_t::x24
short x24
Definition
types.h:17
mpLib_804D64B8_t
Definition
types.h:82
mpLib_804D64B8_t::pad_0
char pad_0[8]
Definition
types.h:83
mpLib_804D64B8_t::unk_8
f32 unk_8
Definition
types.h:84
mpLib_804D64B8_t::pad_10
char pad_10[8]
Definition
types.h:86
mpLib_804D64B8_t::unk_C
f32 unk_C
Definition
types.h:85
mpLib_804D64C0_t
Definition
types.h:90
mpLib_804D64C0_t::unk_30
int unk_30
Definition
types.h:100
mpLib_804D64C0_t::x4
s16 * x4
Definition
types.h:92
mpLib_804D64C0_t::xE
s16 xE
Definition
types.h:95
mpLib_804D64C0_t::xC
s16 xC
Definition
types.h:94
mpLib_804D64C0_t::flags
u32 flags
Definition
types.h:93
mpLib_804D64C0_t::x0
UNK_T x0
Definition
types.h:91
mpLib_804D64C0_t::x24
mpLib_GroundCallback x24
Definition
types.h:97
mpLib_804D64C0_t::x28
Ground * x28
Definition
types.h:98
mpLib_804D64C0_t::pad_0
char pad_0[0x14]
Definition
types.h:96
mpLib_804D64C0_t::unk_2C
int unk_2C
Definition
types.h:99
mp_UnkStruct0
Definition
types.h:24
mp_UnkStruct0::x8
Vec3 x8
Definition
types.h:27
mp_UnkStruct0::x2A
short x2A
Definition
types.h:33
mp_UnkStruct0::x28
short x28
Definition
types.h:32
mp_UnkStruct0::x14
Vec3 x14
Definition
types.h:28
mp_UnkStruct0::ptr
mp_UnkStruct3 * ptr
Definition
types.h:34
mp_UnkStruct0::x20
int x20
Definition
types.h:29
mp_UnkStruct0::x4
int x4
Definition
types.h:26
mp_UnkStruct0::next
mp_UnkStruct0 * next
Definition
types.h:25
mp_UnkStruct0::x24
short x24
Definition
types.h:30
mp_UnkStruct0::x26
short x26
Definition
types.h:31
mp_UnkStruct1
Definition
types.h:37
mp_UnkStruct1::x6
short x6
Definition
types.h:41
mp_UnkStruct1::x2
u16 x2
Definition
types.h:39
mp_UnkStruct1::x4
short x4
Definition
types.h:40
mp_UnkStruct1::x0
u16 x0
Definition
types.h:38
mp_UnkStruct2
Definition
types.h:44
mp_UnkStruct2::x0
mp_UnkStruct1 * x0
Definition
types.h:45
mp_UnkStruct2::x4
int x4
Definition
types.h:46
mp_UnkStruct3
Definition
types.h:54
mp_UnkStruct3::x0
int x0
Definition
types.h:55
mp_UnkStruct3::xC
int xC
Definition
types.h:57
mp_UnkStruct3::x4
int x4
Definition
types.h:56
mp_UnkStruct5
Definition
types.h:60
mp_UnkStruct5::x2A
short x2A
Definition
types.h:68
mp_UnkStruct5::x14
Vec3 x14
Definition
types.h:65
mp_UnkStruct5::x38
int x38
Definition
types.h:72
mp_UnkStruct5::x28
short x28
Definition
types.h:67
mp_UnkStruct5::x20
u8 x20[0x28 - 0x20]
Definition
types.h:66
mp_UnkStruct5::x0
u8 x0[0x4]
Definition
types.h:61
mp_UnkStruct5::x3C
int x3C
Definition
types.h:73
mp_UnkStruct5::x30
int x30
Definition
types.h:70
mp_UnkStruct5::x8
Vec3 x8
Definition
types.h:64
mp_UnkStruct5::x6
u16 x6
Definition
types.h:63
mp_UnkStruct5::x2C
u16 x2C
Definition
types.h:69
mp_UnkStruct5::x4
u16 x4
Definition
types.h:62
mp_UnkStruct5::x34
int x34
Definition
types.h:71
mp_UnkStruct6
Definition
types.h:76
mp_UnkStruct6::x4
short * x4
Definition
types.h:79
mp_UnkStruct6::x0
short x0
Definition
types.h:77
mp_UnkStruct6::x2
short x2
Definition
types.h:78
mp_UnkStruct7
Definition
types.h:104
mp_UnkStruct7::xC
u8 xC[0x10 - 0xC]
Definition
types.h:108
mp_UnkStruct7::next
struct mp_UnkStruct7 * next
Definition
types.h:105
mp_UnkStruct7::x18
float x18
Definition
types.h:111
mp_UnkStruct7::x10
float x10
Definition
types.h:109
mp_UnkStruct7::x1C
float x1C
Definition
types.h:112
mp_UnkStruct7::x14
float x14
Definition
types.h:110
mp_UnkStruct7::x4
s32 x4
Definition
types.h:106
mp_UnkStruct7::x8
s32 x8
Definition
types.h:107
mpisland
Definition
types.h:49
mpisland::x0
int x0[8]
Definition
types.h:50
mpisland::x20
int x20[8]
Definition
types.h:51
src
melee
mp
types.h
Generated by
1.9.8