Definition at line 13 of file ObjectDirector.hh.
Public Member Functions | |
void | init () |
void | calc () |
void | addObject (ObjectCollidable *obj) |
void | addObjectNoImpl (ObjectNoImpl *obj) |
size_t | checkKartObjectCollision (Kart::KartObject *kartObj, ObjectCollisionConvexHull *convexHull) |
const ObjectFlowTable & | flowTable () const |
const ObjectBase * | collidingObject (size_t idx) const |
Kart::Reaction | reaction (size_t idx) const |
const EGG::Vector3f & | hitDepth (size_t idx) const |
Static Public Member Functions | |
static ObjectDirector * | CreateInstance () |
static void | DestroyInstance () |
static ObjectDirector * | Instance () |
Private Member Functions | |
void | createObjects () |
ObjectBase * | createObject (const System::MapdataGeoObj ¶ms) |
![]() |
Private Attributes | |
ObjectFlowTable | m_flowTable |
ObjectHitTable | m_hitTableKart |
ObjectHitTable | m_hitTableKartObject |
std::vector< ObjectBase * > | m_objects |
All objects live here. | |
std::vector< ObjectBase * > | m_calcObjects |
Objects needing calc() live here too. | |
std::vector< ObjectBase * > | m_collisionObjects |
Objects having collision live here too. | |
std::array< ObjectBase *, MAX_UNIT_COUNT > | m_collidingObjects |
Objects we are currently colliding with. | |
std::array< EGG::Vector3f, MAX_UNIT_COUNT > | m_hitDepths |
std::array< Kart::Reaction, MAX_UNIT_COUNT > | m_reactions |
Static Private Attributes | |
static constexpr size_t | MAX_UNIT_COUNT = 0x100 |
static ObjectDirector * | s_instance = nullptr |
Additional Inherited Members | |
![]() | |
static constexpr u16 | getLinkOffset () |
|
private0x8082A38C |
Definition at line 126 of file ObjectDirector.cc.
|
overrideprivate0x8082A694 |
Definition at line 131 of file ObjectDirector.cc.
|
0x8082B0E8 |
Definition at line 37 of file ObjectDirector.cc.
void Field::ObjectDirector::addObjectNoImpl | ( | ObjectNoImpl * | obj | ) |
Definition at line 53 of file ObjectDirector.cc.
|
0x8082A8F4 |
Definition at line 24 of file ObjectDirector.cc.
|
0x8082AB04 |
Definition at line 58 of file ObjectDirector.cc.
|
inlinenodiscard |
Definition at line 27 of file ObjectDirector.hh.
|
static0x8082A784 |
Definition at line 104 of file ObjectDirector.cc.
|
nodiscardprivate0x80821E14 |
Definition at line 174 of file ObjectDirector.cc.
|
private0x80826E8C |
Definition at line 143 of file ObjectDirector.cc.
|
static0x8082A824 |
Definition at line 116 of file ObjectDirector.cc.
|
inlinenodiscard |
Definition at line 23 of file ObjectDirector.hh.
|
inlinenodiscard |
Definition at line 37 of file ObjectDirector.hh.
|
0x8082A2B4 |
Definition at line 14 of file ObjectDirector.cc.
|
inlinestaticnodiscard |
Definition at line 45 of file ObjectDirector.hh.
|
inlinenodiscard |
Definition at line 32 of file ObjectDirector.hh.
|
private |
Objects needing calc() live here too.
Definition at line 61 of file ObjectDirector.hh.
|
private |
Objects we are currently colliding with.
Definition at line 67 of file ObjectDirector.hh.
|
private |
Objects having collision live here too.
Definition at line 62 of file ObjectDirector.hh.
|
private |
Definition at line 56 of file ObjectDirector.hh.
|
private |
Definition at line 68 of file ObjectDirector.hh.
|
private |
Definition at line 57 of file ObjectDirector.hh.
|
private |
Definition at line 58 of file ObjectDirector.hh.
|
private |
All objects live here.
Definition at line 60 of file ObjectDirector.hh.
|
private |
Definition at line 69 of file ObjectDirector.hh.
|
staticconstexprprivate |
Definition at line 64 of file ObjectDirector.hh.
|
staticprivate0x809C4330 |
Definition at line 71 of file ObjectDirector.hh.