NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
d_a_player_manager.hpp
1#pragma once
2#include <game/bases/d_a_player.hpp>
4
5class daPyMng_c {
6public:
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};
static int getPlayerIndex(PLAYER_CHARACTER_e)
PLAYER_CHARACTER_e
The identifiers for each character.