NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_game_key.hpp
1
#pragma once
2
#include <types.h>
3
4
class
dGameKeyCore_c
{
5
public
:
6
enum
EXTENSION_e {
7
EXTENSION_NONE = 0,
8
EXTENSION_NUNCHUK = 1
9
};
10
11
virtual
~dGameKeyCore_c
() {}
12
13
int
mIndex;
14
EXTENSION_e mAttachedExtension;
15
char
mPad1[8];
16
int
mDownButtons
;
///< The buttons currently pressed down.
17
char
mPad2[4];
18
int
mTriggeredButtons
;
///< The buttons newly pressed down.
19
char
mPad3[0x6c];
20
bool
mIsShaking;
21
};
22
23
class
dGameKey_c
{
24
public
:
25
virtual
~dGameKey_c
();
26
27
dGameKeyCore_c
*keys[4];
28
29
static
dGameKey_c
*m_instance;
30
};
dGameKeyCore_c
Definition
d_game_key.hpp:4
dGameKeyCore_c::mDownButtons
int mDownButtons
The buttons currently pressed down.
Definition
d_game_key.hpp:16
dGameKeyCore_c::mTriggeredButtons
int mTriggeredButtons
The buttons newly pressed down.
Definition
d_game_key.hpp:18
dGameKey_c
Definition
d_game_key.hpp:23
include
game
bases
d_game_key.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2