NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_a_player_manager.hpp
1
#pragma once
2
#include <game/bases/d_a_player.hpp>
3
#include <
constants/game_constants.h
>
4
5
class
daPyMng_c
{
6
public
:
7
8
static
int
getPlayerIndex
(
PLAYER_CHARACTER_e
);
///< @unofficial
9
static
dAcPy_c
*getPlayer(
int
);
10
static
void
addScore(
int
,
int
);
11
12
static
bool
checkPlayer(u8 plrNo) {
return
mActPlayerInfo & (1 << plrNo); }
13
static
int
getRest(
PLAYER_CHARACTER_e
plrNo) {
return
mRest[plrNo]; }
14
15
static
int
mNum;
16
static
u8 mActPlayerInfo;
17
18
static
int
mPlayerType[4];
19
static
int
mPlayerMode[4];
20
static
int
mRest[4];
21
static
u32 mCtrlPlrNo;
22
};
dAcPy_c
Definition
d_a_player.hpp:4
daPyMng_c
Definition
d_a_player_manager.hpp:5
daPyMng_c::getPlayerIndex
static int getPlayerIndex(PLAYER_CHARACTER_e)
game_constants.h
PLAYER_CHARACTER_e
PLAYER_CHARACTER_e
The identifiers for each character.
Definition
game_constants.h:46
include
game
bases
d_a_player_manager.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2