#include <MercuryODE.h>
Inheritance diagram for MercuryODEObjectLoadable:
Public Member Functions | |
MercuryODEObjectLoadable () | |
MercuryODEObjectLoadable (const MString &sName) | |
virtual | ~MercuryODEObjectLoadable () |
virtual void | Update (const float dTime) |
[internal] Update (call this update last when abstracting because Update can destroy the object) | |
virtual void | RemoveODE () |
virtual bool | Collide (MercuryODEObject *pHit, dContact &pContact, MercuryODEWorld *pCollide) |
Collide into another object (if you want to, return true). | |
virtual bool | LoadFromINI (MercuryINI &pINI, const MString &sShapeName, const dWorldID &oWorld) |
Load this object from the INI file. | |
CLASS_RTTI (MercuryODEObjectLoadable, MercuryODEObject) | |
Public Attributes | |
bool | m_bBodied |
Is this object associated with a body, or is it fixed? | |
MercuryPoint | m_pPrePosition |
MercuryPoint | m_pPreRotation |
MVector< dGeomID > | m_vAllGeoms |
MVector< dGeomID > | m_vAllTransforms |
dSpaceID | m_oWorldSpace |
MVector< MercuryObject * > | m_vMercuryShapes |
Protected Attributes | |
dWorldID | m_oParentWorld |
Private Attributes | |
MVector< InternalTrimesh * > | m_vTrimeshes |
Vector containing pointers to all. | |
Classes | |
struct | InternalTrimesh |
Internal trimesh information. More... |
Definition at line 44 of file MercuryODE.h.
MercuryODEObjectLoadable::MercuryODEObjectLoadable | ( | ) | [inline] |
Definition at line 47 of file MercuryODE.h.
MercuryODEObjectLoadable::MercuryODEObjectLoadable | ( | const MString & | sName | ) | [inline] |
Definition at line 50 of file MercuryODE.h.
MercuryODEObjectLoadable::~MercuryODEObjectLoadable | ( | ) | [virtual] |
Definition at line 38 of file MercuryODE.cpp.
void MercuryODEObjectLoadable::Update | ( | const float | dTime | ) | [virtual] |
[internal] Update (call this update last when abstracting because Update can destroy the object)
Reimplemented from MercuryObject.
Reimplemented in BetaBetaMari, ExplodingCokeCan, ODEFluid, and Projectile.
Definition at line 389 of file MercuryODE.cpp.
void MercuryODEObjectLoadable::RemoveODE | ( | ) | [virtual] |
virtual bool MercuryODEObjectLoadable::Collide | ( | MercuryODEObject * | pHit, | |
dContact & | pContact, | |||
MercuryODEWorld * | pWorld | |||
) | [inline, virtual] |
Collide into another object (if you want to, return true).
Implements MercuryODEObject.
Reimplemented in BetaBetaMari, ExplodingCokeCan, ODEFluid, Projectile, and RaceCar.
Definition at line 60 of file MercuryODE.h.
bool MercuryODEObjectLoadable::LoadFromINI | ( | MercuryINI & | pINI, | |
const MString & | sShapeName, | |||
const dWorldID & | oWorld | |||
) | [virtual] |
Load this object from the INI file.
See how many pieces this object has.
Reimplemented in ODEFluid, and RaceCar.
Definition at line 48 of file MercuryODE.cpp.
MercuryODEObjectLoadable::CLASS_RTTI | ( | MercuryODEObjectLoadable | , | |
MercuryODEObject | ||||
) |
Definition at line 68 of file MercuryODE.h.
Definition at line 69 of file MercuryODE.h.
MVector< dGeomID > MercuryODEObjectLoadable::m_vAllGeoms |
Definition at line 71 of file MercuryODE.h.
Definition at line 72 of file MercuryODE.h.
Definition at line 74 of file MercuryODE.h.
Definition at line 77 of file MercuryODE.h.
dWorldID MercuryODEObjectLoadable::m_oParentWorld [protected] |
Definition at line 80 of file MercuryODE.h.
MVector< InternalTrimesh * > MercuryODEObjectLoadable::m_vTrimeshes [private] |