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

Description

Definition at line 10 of file ObjectDrivable.hh.

Inheritance diagram for Field::ObjectDrivable:

Public Member Functions

 ObjectDrivable (const System::MapdataGeoObj &params)
 
void load () override
 
f32 getCollisionRadius () const override
 
virtual void initCollision ()
 
virtual void loadAABB (f32 radius)
 
virtual bool checkPointPartial (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfoPartial *info, KCLTypeMask *maskOut)=0
 
virtual bool checkPointPartialPush (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask flags, CollisionInfoPartial *info, KCLTypeMask *maskOut)=0
 
virtual bool checkPointFull (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfo *info, KCLTypeMask *maskOut)=0
 
virtual bool checkPointFullPush (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfo *info, KCLTypeMask *maskOut)=0
 
virtual bool checkSpherePartial (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfoPartial *info, KCLTypeMask *maskOut, u32 timeOffset)=0
 
virtual bool checkSpherePartialPush (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfoPartial *info, KCLTypeMask *maskOut, u32 timeOffset)=0
 
virtual bool checkSphereFull (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfo *info, KCLTypeMask *maskOut, u32 timeOffset)=0
 
virtual bool checkSphereFullPush (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfo *info, KCLTypeMask *maskOut, u32 timeOffset)=0
 
virtual void narrScLocal (f32, const EGG::Vector3f &, KCLTypeMask, u32)
 
virtual bool checkPointCachedPartial (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfoPartial *info, KCLTypeMask *maskOut)=0
 
virtual bool checkPointCachedPartialPush (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfoPartial *info, KCLTypeMask *maskOut)=0
 
virtual bool checkPointCachedFull (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfo *info, KCLTypeMask *maskOut)=0
 
virtual bool checkPointCachedFullPush (const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfo *info, KCLTypeMask *maskOut)=0
 
virtual bool checkSphereCachedPartial (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfoPartial *info, KCLTypeMask *maskOut, u32 timeOffset)=0
 
virtual bool checkSphereCachedPartialPush (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfoPartial *info, KCLTypeMask *maskOut, u32 timeOffset)=0
 
virtual bool checkSphereCachedFull (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfo *info, KCLTypeMask *maskOut, u32 timeOffset)=0
 
virtual bool checkSphereCachedFullPush (f32 radius, const EGG::Vector3f &pos, const EGG::Vector3f &prevPos, KCLTypeMask mask, CollisionInfo *info, KCLTypeMask *maskOut, u32 timeOffset)=0
 
- Public Member Functions inherited from Field::ObjectBase
 ObjectBase (const System::MapdataGeoObj &params)
 
virtual void init ()
 
virtual void calc ()
 
virtual void calcModel ()
 
virtual void createCollision ()=0
 
virtual void loadRail ()
 
virtual void calcCollisionTransform ()=0
 
virtual u32 loadFlags () const
 
virtual const char * getKclName () const
 
virtual const EGG::Vector3fgetPosition () const
 
ObjectId id () const
 

Additional Inherited Members

- Protected Member Functions inherited from Field::ObjectBase
void calcTransform ()
 
- Protected Attributes inherited from Field::ObjectBase
ObjectId m_id
 
RailInterpolatorm_railInterpolator
 
BoxColUnitm_boxColUnit
 
u16 m_flags
 
EGG::Vector3f m_pos
 
EGG::Vector3f m_rot
 
EGG::Vector3f m_scale
 
EGG::Matrix34f m_transform
 
const System::MapdataGeoObjm_mapObj
 

Constructor & Destructor Documentation

◆ ObjectDrivable()

Field::ObjectDrivable::ObjectDrivable ( const System::MapdataGeoObj & params)
0x8081A6D0

Definition at line 8 of file ObjectDrivable.cc.

Member Function Documentation

◆ getCollisionRadius()

f32 Field::ObjectDrivable::getCollisionRadius ( ) const
inlinenodiscardoverridevirtual0x80682918

Reimplemented from Field::ObjectBase.

Definition at line 18 of file ObjectDrivable.hh.

◆ initCollision()

virtual void Field::ObjectDrivable::initCollision ( )
inlinevirtual

Definition at line 22 of file ObjectDrivable.hh.

◆ load()

void Field::ObjectDrivable::load ( )
overridevirtual0x8081A79C

Implements Field::ObjectBase.

Definition at line 14 of file ObjectDrivable.cc.

◆ loadAABB()

void Field::ObjectDrivable::loadAABB ( f32 radius)
virtual0x8081A85C

Definition at line 23 of file ObjectDrivable.cc.

◆ narrScLocal()

virtual void Field::ObjectDrivable::narrScLocal ( f32 ,
const EGG::Vector3f & ,
KCLTypeMask ,
u32  )
inlinevirtual

Definition at line 51 of file ObjectDrivable.hh.