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 <CCollisionDetector.h>
Classes | |
struct | ColInfo |
Protected Member Functions | |
bool | doCollide (Object *collidee_, Object *collider_) |
bool | doCollideWhenSwept (Object *collidee_, Object *collider_, float dt_, CD::HitInfo &hitInfo_) |
virtual bool | addObject (Object *obj_, Updater::OBJECT_PRIORITY prio_, bool isOneShot_) |
virtual bool | removeObject (Object *obj_) |
Protected Member Functions inherited from OpenSkyNet::Core::Updater | |
virtual void | removeAllObjects () |
int | getNumToUpdate (float dt_) |
void | allObjectsUpdated () |
void | setPriority (UPDATER_PRIORITY prio_) |
Protected Attributes | |
CD::Grid | _grid |
std::list< CollisionListener * > | _registeredListeners |
Utils::uint | _maxCollisionsPerVolume |
CD::Grid::BinOccupiersMap | _nonCollidingOccupiers |
CD::Grid::OccupiedBinsMap | _nonCollidingOccupiedBins |
Protected Attributes inherited from OpenSkyNet::Core::Updater | |
std::list< Object * > | _objLists [OBJ_NUM_PRIORITIES] |
ObjMap | _objMap |
UPDATER_TYPE | _type |
std::string | _typeName |
UPDATER_PRIORITY | _prio |
float | _interval |
float | _dtSinceAllWereUpdated |
float | _prevTotalTimeForAllUpdates |
float | _partialUpdate |
int | _currPrio |
std::list< Object * >::iterator | _currObj |
Additional Inherited Members | |
Public Types inherited from OpenSkyNet::Core::Updater | |
enum | UPDATER_TYPE { BASE, AI, CAMERA, PATH_FINDER, PATH, TRANSFORM_INTERPOLATOR, PHYSICS, ANIMATION, COLLISION_DETECTOR, PHYS_VIS, TRANSFORM_CHANGE_DETECTOR, CORE_MAX, MAX =32 } |
enum | UPDATER_PRIORITY { UPD_DISABLED, UPD_1, UPD_2, UPD_3, UPD_4, UPD_5, UPD_6, UPD_7, UPD_8, UPD_NUM_PRIORITIES } |
enum | OBJECT_PRIORITY { OBJ_DISABLED, OBJ_1, OBJ_2, OBJ_3, OBJ_NUM_PRIORITIES } |
typedef std::map< Object *, UpdateInfo * > | ObjMap |
Detects collisions and reports them to game objects and interested updaters.
|
inline |
|
inlinevirtual |
|
protectedvirtual |
Returns false if obj_ is already in this updater.
Reimplemented from OpenSkyNet::Core::Updater.
|
virtual |
|
virtual |
|
virtual |
|
inlineprotected |
|
virtual |
Per object options
|
virtual |
|
inline |
|
inline |
|
protectedvirtual |
Returns false if obj_ is not in this updater.
Reimplemented from OpenSkyNet::Core::Updater.
|
virtual |
NOTE: MUST be called at least once before any calls to AddObject().
|
virtual |
Reimplemented from OpenSkyNet::Core::Updater.
|
inline |
|
virtual |
Returns true if all objects were updated over the current interval (that's interval, not dt_), false if objects are left to be updated (see class description).
dt_ | = seconds to update an object this call. dt_ accumulates for objects not updated. |
Reimplemented from OpenSkyNet::Core::Updater.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |