A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
System::KPadDirector Class Reference0x809BD70C

#include <KPadDirector.hh>

Description

The highest level abstraction for controller processing.

Definition at line 9 of file KPadDirector.hh.

Inheritance diagram for System::KPadDirector:

Public Member Functions

void calc ()
 
void calcPads ()
 
void clear ()
 
void reset ()
 
void startGhostProxies ()
 
void endGhostProxies ()
 
const KPadPlayerplayerInput () const
 
KPadHostControllerhostController ()
 
void setGhostPad (const u8 *inputs, bool driftIsAuto)
 
void setHostPad (bool driftIsAuto)
 

Static Public Member Functions

static KPadDirectorCreateInstance ()
 
static void DestroyInstance ()
 
static KPadDirectorInstance ()
 

Private Attributes

KPadPlayer m_playerInput
 
KPadGhostControllerm_ghostController
 
KPadHostControllerm_hostController
 

Static Private Attributes

static KPadDirectors_instance = nullptr
 

Additional Inherited Members

- Private Member Functions inherited from EGG::Disposer
- Static Private Member Functions inherited from EGG::Disposer
static constexpr u16 getLinkOffset ()
 

Constructor & Destructor Documentation

◆ KPadDirector()

System::KPadDirector::KPadDirector ( )
private0x805232F0

Definition at line 56 of file KPadDirector.cc.

Member Function Documentation

◆ ~KPadDirector()

System::KPadDirector::~KPadDirector ( )
overrideprivate0x805231DC

Definition at line 62 of file KPadDirector.cc.

◆ calc()

void System::KPadDirector::calc ( )
0x805238F0

Definition at line 6 of file KPadDirector.cc.

◆ calcPads()

void System::KPadDirector::calcPads ( )
0x805237E8

Definition at line 12 of file KPadDirector.cc.

◆ clear()

void System::KPadDirector::clear ( )
inline0x80523724

Definition at line 15 of file KPadDirector.hh.

◆ CreateInstance()

KPadDirector * System::KPadDirector::CreateInstance ( )
static0x8052313C

Definition at line 42 of file KPadDirector.cc.

◆ DestroyInstance()

void System::KPadDirector::DestroyInstance ( )
static0x8052318C

Definition at line 48 of file KPadDirector.cc.

◆ endGhostProxies()

void System::KPadDirector::endGhostProxies ( )
0x805245DC

Definition at line 28 of file KPadDirector.cc.

◆ hostController()

KPadHostController * System::KPadDirector::hostController ( )
inlinenodiscard

Definition at line 25 of file KPadDirector.hh.

◆ Instance()

static KPadDirector * System::KPadDirector::Instance ( )
inlinestaticnodiscard

Definition at line 35 of file KPadDirector.hh.

◆ playerInput()

const KPadPlayer & System::KPadDirector::playerInput ( ) const
inlinenodiscard

Definition at line 21 of file KPadDirector.hh.

◆ reset()

void System::KPadDirector::reset ( )
0x80523690

Definition at line 18 of file KPadDirector.cc.

◆ setGhostPad()

void System::KPadDirector::setGhostPad ( const u8 * inputs,
bool driftIsAuto )
0x8052453C

Definition at line 33 of file KPadDirector.cc.

◆ setHostPad()

void System::KPadDirector::setHostPad ( bool driftIsAuto)

Definition at line 37 of file KPadDirector.cc.

◆ startGhostProxies()

void System::KPadDirector::startGhostProxies ( )
0x80524580

Definition at line 23 of file KPadDirector.cc.

Member Data Documentation

◆ m_ghostController

KPadGhostController* System::KPadDirector::m_ghostController
private

Definition at line 44 of file KPadDirector.hh.

◆ m_hostController

KPadHostController* System::KPadDirector::m_hostController
private

Definition at line 45 of file KPadDirector.hh.

◆ m_playerInput

KPadPlayer System::KPadDirector::m_playerInput
private

Definition at line 43 of file KPadDirector.hh.

◆ s_instance

KPadDirector * System::KPadDirector::s_instance = nullptr
staticprivate0x809BD70C

Definition at line 47 of file KPadDirector.hh.