New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
InputMgr Class Reference

#include <InputMgr.h>

Classes

class  Controller

Public Member Functions

 InputMgr ()
Controller & getController (s32 player_no)
const Controller & getController (s32 player_no) const
sead::Random & getRandom ()
u8 getBgmBeatTrg () const
bool isBgmBeatTrg (u8 trg) const
u8 getBgmAccentSign () const
bool isBgmAccentSign (u8 mask) const
u8 getBgmAccentSignCredit () const
u16 getBgmTempo () const
bool isPlayerControllerConnected (s32 player_no) const
bool isFadein () const
bool isAreaSceneSwitch () const
bool isInputEnabled () const

Protected Attributes

Controller mControllers [4]
u32 _4e0 [4]
u32 _4f0
u32 _4f4 [4]
u32 _504 [4]
u32 _514
bool _518
u8 _519 [3]
u32 _51c [4]
sead::Random mRandom
bool mControllersRegistered
u16 mBgmTempo
u8 mBgmBeatTrg
u8 mBgmAccentSign
u8 mBgmAccentSignCredit
u32 _544 [(0x56C - 0x544)/sizeof(u32)]
u8 mControllerConnectionInfo
bool mIsAreaSceneSwitch
u32 _570 [(0x57C - 0x570)/sizeof(u32)]

Constructor & Destructor Documentation

◆ InputMgr()

InputMgr::InputMgr ( )

Member Function Documentation

◆ getController() [1/2]

Controller & InputMgr::getController ( s32 player_no)
inline

◆ getController() [2/2]

const Controller & InputMgr::getController ( s32 player_no) const
inline

◆ getRandom()

sead::Random & InputMgr::getRandom ( )
inline

◆ getBgmBeatTrg()

u8 InputMgr::getBgmBeatTrg ( ) const
inline

◆ isBgmBeatTrg()

bool InputMgr::isBgmBeatTrg ( u8 trg) const
inline

◆ getBgmAccentSign()

u8 InputMgr::getBgmAccentSign ( ) const
inline

◆ isBgmAccentSign()

bool InputMgr::isBgmAccentSign ( u8 mask) const
inline

◆ getBgmAccentSignCredit()

u8 InputMgr::getBgmAccentSignCredit ( ) const
inline

◆ getBgmTempo()

u16 InputMgr::getBgmTempo ( ) const
inline

◆ isPlayerControllerConnected()

bool InputMgr::isPlayerControllerConnected ( s32 player_no) const
inline

◆ isFadein()

bool InputMgr::isFadein ( ) const
inline

◆ isAreaSceneSwitch()

bool InputMgr::isAreaSceneSwitch ( ) const
inline

◆ isInputEnabled()

bool InputMgr::isInputEnabled ( ) const
inline

Member Data Documentation

◆ mControllers

Controller InputMgr::mControllers[4]
protected

◆ _4e0

u32 InputMgr::_4e0[4]
protected

◆ _4f0

u32 InputMgr::_4f0
protected

◆ _4f4

u32 InputMgr::_4f4[4]
protected

◆ _504

u32 InputMgr::_504[4]
protected

◆ _514

u32 InputMgr::_514
protected

◆ _518

bool InputMgr::_518
protected

◆ _519

u8 InputMgr::_519[3]
protected

◆ _51c

u32 InputMgr::_51c[4]
protected

◆ mRandom

sead::Random InputMgr::mRandom
protected

◆ mControllersRegistered

bool InputMgr::mControllersRegistered
protected

◆ mBgmTempo

u16 InputMgr::mBgmTempo
protected

◆ mBgmBeatTrg

u8 InputMgr::mBgmBeatTrg
protected

◆ mBgmAccentSign

u8 InputMgr::mBgmAccentSign
protected

◆ mBgmAccentSignCredit

u8 InputMgr::mBgmAccentSignCredit
protected

◆ _544

u32 InputMgr::_544[(0x56C - 0x544)/sizeof(u32)]
protected

◆ mControllerConnectionInfo

u8 InputMgr::mControllerConnectionInfo
protected

◆ mIsAreaSceneSwitch

bool InputMgr::mIsAreaSceneSwitch
protected

◆ _570

u32 InputMgr::_570[(0x57C - 0x570)/sizeof(u32)]
protected