SSBM Decomp
Toggle main menu visibility
Loading...
Searching...
No Matches
inlines.h
Go to the documentation of this file.
1
#ifndef MELEE_GM_INLINES_H
2
#define MELEE_GM_INLINES_H
3
4
#include <
melee/gm/gmregtyfall.h
>
5
#include <
melee/ty/toy.h
>
6
7
static
inline
s32
gmClampResultStat
(
s32
value)
8
{
9
if
(value > 999999) {
10
value = 999999;
11
}
else
if
(value < -999999) {
12
value = -999999;
13
}
14
return
value;
15
}
16
18
static
inline
s32
fn_801A7FB4_inline
(
void
)
19
{
20
s32
i;
21
s32
count;
22
count = 0;
23
for
(i = count; i < 0x1A; i++) {
24
if
(
Toy_803048C0
(
gm_801A659C
(i)) ?
true
:
false
) {
25
count++;
26
}
27
}
28
return
count;
29
}
30
31
static
inline
s32
fn_801A7FB4_inline2
(
void
)
32
{
33
s32
count;
34
s32
i;
35
count = 0;
36
for
(i = count; i < 0x1A; i++) {
37
if
(
Toy_803048C0
(
gm_801A659C
(i)) ?
true
:
false
) {
38
count++;
39
}
40
}
41
return
count;
42
}
43
44
#endif
s32
signed long s32
Definition
types.h:8
fn_801A7FB4_inline
static s32 fn_801A7FB4_inline(void)
Definition
inlines.h:18
gmClampResultStat
static s32 gmClampResultStat(s32 value)
Definition
inlines.h:7
fn_801A7FB4_inline2
static s32 fn_801A7FB4_inline2(void)
Definition
inlines.h:31
gm_801A659C
bool gm_801A659C(int arg0)
Definition
gmregtyfall.c:93
gmregtyfall.h
Toy_803048C0
s32 Toy_803048C0(int arg0)
Definition
toy.c:576
toy.h
src
melee
gm
inlines.h
Generated by
1.17.0