A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
Field::ObjectDrivableDirector Class Reference

Description

Definition at line 10 of file ObjectDrivableDirector.hh.

Inheritance diagram for Field::ObjectDrivableDirector:

Public Member Functions

void init ()
 
void calc ()
 
void addObject (ObjectDrivable *obj)
 
bool checkSpherePartial (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfoPartial *info, KCLTypeMask *maskOut, u32 timeOffset)
 
bool checkSpherePartialPush (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfoPartial *info, KCLTypeMask *maskOut, u32 timeOffset)
 
bool checkSphereFull (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfo *info, KCLTypeMask *maskOut, u32 timeOffset)
 
bool checkSphereFullPush (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfo *info, KCLTypeMask *maskOut, u32 timeOffset)
 
bool checkSphereCachedPartial (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfoPartial *info, KCLTypeMask *maskOut, u32 timeOffset)
 
bool checkSphereCachedPartialPush (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfoPartial *info, KCLTypeMask *maskOut, u32 timeOffset)
 
bool checkSphereCachedFullPush (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfo *info, KCLTypeMask *maskOut, u32 timeOffset)
 
void colNarScLocal (f32 radius, const EGG::Vector3f &pos, KCLTypeMask mask, u32 timeOffset)
 

Static Public Member Functions

static ObjectDrivableDirectorCreateInstance ()
 
static void DestroyInstance ()
 
static ObjectDrivableDirectorInstance ()
 

Private Attributes

std::vector< ObjectDrivable * > m_objects
 All objects live here.
 
std::vector< ObjectDrivable * > m_calcObjects
 Objects needing calc() live here too.
 

Static Private Attributes

static ObjectDrivableDirectors_instance = nullptr
 

Additional Inherited Members

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

Member Function Documentation

◆ ~ObjectDrivableDirector()

Field::ObjectDrivableDirector::~ObjectDrivableDirector ( )
overrideprivate0x8081B380

Definition at line 221 of file ObjectDrivableDirector.cc.

◆ addObject()

void Field::ObjectDrivableDirector::addObject ( ObjectDrivable * obj)
0x8081B6C8

Definition at line 25 of file ObjectDrivableDirector.cc.

◆ calc()

void Field::ObjectDrivableDirector::calc ( )
0x8081B618

Definition at line 14 of file ObjectDrivableDirector.cc.

◆ checkSphereCachedFullPush()

bool Field::ObjectDrivableDirector::checkSphereCachedFullPush ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask mask,
CollisionInfo * info,
KCLTypeMask * maskOut,
u32 timeOffset )
nodiscard0x8081C958

Definition at line 163 of file ObjectDrivableDirector.cc.

◆ checkSphereCachedPartial()

bool Field::ObjectDrivableDirector::checkSphereCachedPartial ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask mask,
CollisionInfoPartial * info,
KCLTypeMask * maskOut,
u32 timeOffset )
nodiscard0x8081C5A0

Definition at line 113 of file ObjectDrivableDirector.cc.

◆ checkSphereCachedPartialPush()

bool Field::ObjectDrivableDirector::checkSphereCachedPartialPush ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask mask,
CollisionInfoPartial * info,
KCLTypeMask * maskOut,
u32 timeOffset )
nodiscard0x8081C6B4

Definition at line 138 of file ObjectDrivableDirector.cc.

◆ checkSphereFull()

bool Field::ObjectDrivableDirector::checkSphereFull ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask mask,
CollisionInfo * info,
KCLTypeMask * maskOut,
u32 timeOffset )
nodiscard0x8081BE48

Definition at line 74 of file ObjectDrivableDirector.cc.

◆ checkSphereFullPush()

bool Field::ObjectDrivableDirector::checkSphereFullPush ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask mask,
CollisionInfo * info,
KCLTypeMask * maskOut,
u32 timeOffset )
nodiscard0x8081BFA0

Definition at line 93 of file ObjectDrivableDirector.cc.

◆ checkSpherePartial()

bool Field::ObjectDrivableDirector::checkSpherePartial ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask mask,
CollisionInfoPartial * info,
KCLTypeMask * maskOut,
u32 timeOffset )
nodiscard0x8081BC98

Definition at line 34 of file ObjectDrivableDirector.cc.

◆ checkSpherePartialPush()

bool Field::ObjectDrivableDirector::checkSpherePartialPush ( f32 radius,
const EGG::Vector3f & pos,
const EGG::Vector3f & prevPos,
KCLTypeMask mask,
CollisionInfoPartial * info,
KCLTypeMask * maskOut,
u32 timeOffset )
nodiscard0x8081BD70

Definition at line 54 of file ObjectDrivableDirector.cc.

◆ colNarScLocal()

void Field::ObjectDrivableDirector::colNarScLocal ( f32 radius,
const EGG::Vector3f & pos,
KCLTypeMask mask,
u32 timeOffset )
0x8081B7CC

Definition at line 188 of file ObjectDrivableDirector.cc.

◆ CreateInstance()

ObjectDrivableDirector * Field::ObjectDrivableDirector::CreateInstance ( )
static0x8081B428

Definition at line 203 of file ObjectDrivableDirector.cc.

◆ DestroyInstance()

void Field::ObjectDrivableDirector::DestroyInstance ( )
static0x8081B4B0

Definition at line 210 of file ObjectDrivableDirector.cc.

◆ init()

void Field::ObjectDrivableDirector::init ( )
0x8081B500

Definition at line 6 of file ObjectDrivableDirector.cc.

◆ Instance()

static ObjectDrivableDirector * Field::ObjectDrivableDirector::Instance ( )
inlinestaticnodiscard

Definition at line 42 of file ObjectDrivableDirector.hh.

Member Data Documentation

◆ m_calcObjects

std::vector<ObjectDrivable *> Field::ObjectDrivableDirector::m_calcObjects
private

Objects needing calc() live here too.

Definition at line 51 of file ObjectDrivableDirector.hh.

◆ m_objects

std::vector<ObjectDrivable *> Field::ObjectDrivableDirector::m_objects
private

All objects live here.

Definition at line 50 of file ObjectDrivableDirector.hh.

◆ s_instance

ObjectDrivableDirector * Field::ObjectDrivableDirector::s_instance = nullptr
staticprivate0x809C4310

Definition at line 53 of file ObjectDrivableDirector.hh.