![]() |
Tactics: Western Philosophers Vs. Musicians
0.12
A turn-based tactical game combining rules and gameplay elements inspired by Final Fantasy Tactics and the Mayfair Exponential Game System. Unlike most games of this type, motion is in full, grid-less 3D.
|
#include <CPhysicalObject.h>
Public Member Functions | |
PhysicalObject (CD::Volume *colVol_) | |
PhysicalObject (CD::Shape *shape_, Utils::uint colGroup_=COL_GROUP_HIT_ALL_HIT_BY_ALL, const Math::Point<> ¢er_=Math::g_origin, const Math::Matrix3x3 &rot_=Math::g_identityMatrix3x3) | |
virtual | ~PhysicalObject () |
const CD::Volume * | getCollisionVolume () const |
CD::Volume * | getCollisionVolume () |
Object interface methods | |
virtual Math::Point | getPos () const |
virtual void | getPos (Math::Point<> &pos_) const |
virtual void | setPos (const Math::Point<> &pos_) |
virtual Math::Matrix3x3 | getRot () const |
virtual void | getRot (Math::Matrix3x3 &rot_) const |
virtual void | setRot (const Math::Matrix3x3 &rot_) |
virtual Math::Point | getVel () const |
virtual void | getVel (Math::Point<> &vel_) const |
virtual void | setVel (const Math::Point<> &vel_) |
virtual const PhysicalObject * | getPhysicalObject () const |
virtual PhysicalObject * | getPhysicalObject () |
CollisionListener interface methods | |
virtual void | setNonCollidingData (Object *obj_) |
virtual bool | handleCollisions (Object *collidee_, std::vector< CD::HitInfo > &colliders_, float &dt_) |
![]() | |
ABCObject () | |
virtual | ~ABCObject () |
virtual bool | getHasPosChanged () const |
virtual void | setHasPosChanged (bool val_) |
virtual bool | getHasRotChanged () const |
virtual void | setHasRotChanged (bool val_) |
virtual bool | getHasVelChanged () const |
virtual void | setHasVelChanged (bool val_) |
virtual Math::Point | getAngVel () const |
virtual void | getAngVel (Math::Point<> &angVel_) const |
virtual void | setAngVel (const Math::Point<> &angVel_) |
virtual bool | getHasAngVelChanged () const |
virtual void | setHasAngVelChanged (bool val_) |
virtual const VisibleObject * | getVisibleObject () const |
virtual VisibleObject * | getVisibleObject () |
virtual const std::string & | getName () const |
virtual void | setName (const std::string &name_) |
![]() | |
Object () | |
virtual | ~Object () |
![]() | |
virtual void | handleNonCollidingTransformApplied (Object *obj_) |
virtual void | handleNewCollisions (Object *collidee_, std::vector< Object * > &colliders_) |
virtual void | handleDeletedCollisions (Object *collidee_, std::vector< Object * > &colliders_) |
virtual bool | handleWrongSidedness (Object *collidee_, std::vector< CD::HitInfo > &collisions_) |
virtual bool | handleOutOfGrid (Object *obj_) |
Additional Inherited Members | |
![]() | |
std::string | _name |
bool | _hasPosChanged |
bool | _hasRotChanged |
bool | _hasVelChanged |
bool | _hasAngVelChanged |
Wraps an object with collision and rigid body data for creation via the ObjectFactory.
|
inline |
OpenSkyNet::Core::PhysicalObject::PhysicalObject | ( | CD::Shape * | shape_, |
Utils::uint | colGroup_ = COL_GROUP_HIT_ALL_HIT_BY_ALL , |
||
const Math::Point<> & | center_ = Math::g_origin , |
||
const Math::Matrix3x3 & | rot_ = Math::g_identityMatrix3x3 |
||
) |
|
virtual |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from OpenSkyNet::Core::ABCObject.
|
inlinevirtual |
Reimplemented from OpenSkyNet::Core::ABCObject.
|
inlinevirtual |
Implements OpenSkyNet::Core::Object.
|
inlinevirtual |
Implements OpenSkyNet::Core::Object.
|
virtual |
Implements OpenSkyNet::Core::Object.
|
virtual |
Implements OpenSkyNet::Core::Object.
|
inlinevirtual |
Reimplemented from OpenSkyNet::Core::ABCObject.
|
inlinevirtual |
Reimplemented from OpenSkyNet::Core::ABCObject.
|
virtual |
Called every Core::CollisionDetector update() when a collision is detected.
dt_ | An IN param signifying the time delta for all collision tests and an OUT param signifying the time left for any future recalculations |
Reimplemented from OpenSkyNet::Core::CollisionListener.
Saves the motion info for obj_ when it is known not to cause collisions w/ other objects. This data is used in iterative collision detection routines whereby only one object can be tested for a new position/rotation at a time; the rest of the objects have to be at "safe" positions/rotations.
Reimplemented from OpenSkyNet::Core::CollisionListener.
|
inlinevirtual |
Implements OpenSkyNet::Core::Object.
|
virtual |
Implements OpenSkyNet::Core::Object.
|
inlinevirtual |
Reimplemented from OpenSkyNet::Core::ABCObject.