SSBM Decomp
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
_
b
c
d
e
f
g
h
i
j
k
l
m
n
p
r
s
u
v
w
Enumerations
_
a
c
d
e
f
g
h
i
j
m
n
p
r
s
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
v
w
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
inlines.h
Go to the documentation of this file.
1
#ifndef MELEE_IT_INLINES_H
2
#define MELEE_IT_INLINES_H
3
4
#include "
it/types.h
"
5
6
#include <
baselib/gobj.h
>
7
8
#define GET_ITEM(gobj) ((Item*) HSD_GObjGetUserData(gobj))
9
10
static
inline
Item
*
GetItemData
(
HSD_GObj
* gobj)
11
{
12
Item
* item_data = gobj->
user_data
;
13
return
item_data;
14
}
10
static
inline
Item
*
GetItemData
(
HSD_GObj
* gobj) {
…
}
15
16
static
inline
void
itResetVelocity
(
Item
* ip)
17
{
18
ip->
x40_vel
.x = ip->
x40_vel
.y = ip->
x40_vel
.z = 0.0F;
19
}
16
static
inline
void
itResetVelocity
(
Item
* ip) {
…
}
20
21
#endif
gobj.h
itResetVelocity
static void itResetVelocity(Item *ip)
Definition
inlines.h:16
GetItemData
static Item * GetItemData(HSD_GObj *gobj)
Definition
inlines.h:10
types.h
HSD_GObj
Definition
gobj.h:25
HSD_GObj::user_data
void * user_data
Definition
gobj.h:41
Item
Definition
types.h:196
Item::x40_vel
Vec3 x40_vel
Definition
types.h:245
src
melee
it
inlines.h
Generated by
1.9.8