SSBM Decomp
Loading...
Searching...
No Matches
inlines.h
Go to the documentation of this file.
1
#ifndef MELEE_PL_INLINES_H
2
#define MELEE_PL_INLINES_H
3
4
#include <
melee/gm/gm_1601.h
>
5
#include <
melee/it/it_26B1.h
>
6
#include <
melee/pl/player.h
>
7
#include <
melee/pl/plbonusinline.h
>
8
#include <
melee/pl/types.h
>
9
10
static
inline
bool
pl_CheckIfSameTeam
(
int
slotA,
int
slotB)
11
{
12
int
teamA;
13
int
teamB;
14
15
if
(
gm_8016B168
()) {
16
teamA =
Player_GetTeam
(slotA);
17
teamB =
Player_GetTeam
(slotB);
18
if
(teamB == teamA) {
19
return
true
;
20
}
21
}
22
return
false
;
23
}
24
25
static
inline
bool
pl_Verify_gm_8016AEDC
(
void
)
26
{
27
if
((
gm_8016AEDC
() != 0U) && (
gm_8016AEDC
() != -2U)) {
28
return
true
;
29
}
else
{
30
return
false
;
31
}
32
}
33
34
#endif
gm_8016AEDC
u32 gm_8016AEDC(void)
Definition
gm_1601.c:664
gm_1601.h
gm_8016B168
bool gm_8016B168(void)
it_26B1.h
pl_Verify_gm_8016AEDC
static bool pl_Verify_gm_8016AEDC(void)
Definition
inlines.h:25
pl_CheckIfSameTeam
static bool pl_CheckIfSameTeam(int slotA, int slotB)
Definition
inlines.h:10
types.h
Player_GetTeam
int Player_GetTeam(int slot)
Definition
player.c:758
player.h
plbonusinline.h
src
melee
pl
inlines.h
Generated by
1.9.8