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

Description

Definition at line 13 of file ObjectBase.hh.

Inheritance diagram for Field::ObjectBase:

Public Member Functions

 ObjectBase (const System::MapdataGeoObj &params)
 
virtual void init ()
 
virtual void calc ()
 
virtual void calcModel ()
 
virtual void load ()=0
 
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
 
virtual f32 getCollisionRadius () const
 
ObjectId id () const
 

Protected Member Functions

void calcTransform ()
 

Protected Attributes

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

◆ ObjectBase()

Field::ObjectBase::ObjectBase ( const System::MapdataGeoObj & params)
0x8081F828

Definition at line 13 of file ObjectBase.cc.

Member Function Documentation

◆ calc()

virtual void Field::ObjectBase::calc ( )
inlinevirtual

Definition at line 19 of file ObjectBase.hh.

◆ calcModel()

void Field::ObjectBase::calcModel ( )
virtual0x808217B8

Definition at line 22 of file ObjectBase.cc.

◆ calcTransform()

void Field::ObjectBase::calcTransform ( )
protected0x80821640

Definition at line 57 of file ObjectBase.cc.

◆ getCollisionRadius()

virtual f32 Field::ObjectBase::getCollisionRadius ( ) const
inlinenodiscardvirtual0x8080BDC0

Reimplemented in Field::ObjectCollidable.

Definition at line 40 of file ObjectBase.hh.

◆ getKclName()

const char * Field::ObjectBase::getKclName ( ) const
nodiscardvirtual0x806806DC

Definition at line 49 of file ObjectBase.cc.

◆ getPosition()

virtual const EGG::Vector3f & Field::ObjectBase::getPosition ( ) const
inlinenodiscardvirtual0x80681598

Definition at line 35 of file ObjectBase.hh.

◆ id()

ObjectId Field::ObjectBase::id ( ) const
inlinenodiscard0x80572574

Definition at line 45 of file ObjectBase.hh.

◆ init()

virtual void Field::ObjectBase::init ( )
inlinevirtual

Definition at line 18 of file ObjectBase.hh.

◆ loadFlags()

virtual u32 Field::ObjectBase::loadFlags ( ) const
inlinenodiscardvirtual0x806BF434

Definition at line 27 of file ObjectBase.hh.

◆ loadRail()

void Field::ObjectBase::loadRail ( )
virtual0x80820980

Definition at line 27 of file ObjectBase.cc.

Member Data Documentation

◆ m_boxColUnit

BoxColUnit* Field::ObjectBase::m_boxColUnit
protected

Definition at line 54 of file ObjectBase.hh.

◆ m_flags

u16 Field::ObjectBase::m_flags
protected

Definition at line 55 of file ObjectBase.hh.

◆ m_id

ObjectId Field::ObjectBase::m_id
protected

Definition at line 52 of file ObjectBase.hh.

◆ m_mapObj

const System::MapdataGeoObj* Field::ObjectBase::m_mapObj
protected

Definition at line 60 of file ObjectBase.hh.

◆ m_pos

EGG::Vector3f Field::ObjectBase::m_pos
protected

Definition at line 56 of file ObjectBase.hh.

◆ m_railInterpolator

RailInterpolator* Field::ObjectBase::m_railInterpolator
protected

Definition at line 53 of file ObjectBase.hh.

◆ m_rot

EGG::Vector3f Field::ObjectBase::m_rot
protected

Definition at line 57 of file ObjectBase.hh.

◆ m_scale

EGG::Vector3f Field::ObjectBase::m_scale
protected

Definition at line 58 of file ObjectBase.hh.

◆ m_transform

EGG::Matrix34f Field::ObjectBase::m_transform
protected

Definition at line 59 of file ObjectBase.hh.