ScummVM API documentation
Tetraedge::TeFreeMoveZone Class Reference
Inheritance diagram for Tetraedge::TeFreeMoveZone:
Tetraedge::TePickMesh2 Tetraedge::Te3DObject2 Tetraedge::TeI3DObject2 Tetraedge::TeObject

Classes

struct  CollidePoint
 

Public Member Functions

float bordersDistance () const
 
void buildAStar ()
 
void calcGridMatrix ()
 
void clear ()
 
Common::Array< TeVector3f32collisions (const TeVector3f32 &v1, const TeVector3f32 &v2)
 
TeVector3f32 correctCharacterPosition (const TeVector3f32 &pos, bool *flagout, bool f)
 
TeIntrusivePtr< TeBezierCurvecurve (const TeVector3f32 &startpt, const TeVector2s32 &endpt, float param_5, bool findMeshFlag)
 
TeIntrusivePtr< TeBezierCurvecurve (const TeVector3f32 &startpt, const TeVector3f32 &endpt)
 
void draw () override
 
TeVector3f32 findNearestPointOnBorder (const TeVector2f32 &pt)
 
byte hasBlockerIntersection (const TeVector2s32 &pt)
 
bool hasCellBorderIntersection (const TeVector2s32 &pt)
 
TeActZoneisInZone (const TeVector3f32 &pt)
 
bool loadAStar (const Common::Path &path, const TeVector2s32 &size)
 
bool loadBin (const Common::Path &path, const Common::Array< TeBlocker > *blockers, const Common::Array< TeRectBlocker > *rectblockers, const Common::Array< TeActZone > *actzones, const TeVector2f32 &gridSize)
 
bool loadBin (Common::ReadStream &stream, const Common::Array< TeBlocker > *blockers, const Common::Array< TeRectBlocker > *rectblockers, const Common::Array< TeActZone > *actzones, const TeVector2f32 &gridSize)
 
bool onViewportChanged ()
 
void preUpdateGrid ()
 
TeVector2s32 projectOnAStarGrid (const TeVector3f32 &pt)
 
Common::Array< TeVector3f32removeInsignificantPoints (const Common::Array< TeVector3f32 > &points)
 
void setBordersDistance (float dist)
 
void setCamera (TeIntrusivePtr< TeCamera > &cam, bool noRecalcProjPoints)
 
void setNbTriangles (uint len)
 
void setPathFindingOccluder (const TeOBP &occluder)
 
void setVertex (uint offset, const TeVector3f32 &vertex)
 
TeVector3f32 transformAStarGridInWorldSpace (const TeVector2s32 &gridpt)
 
float transformHeightMin (float minval)
 
TeVector3f32 transformVectorInWorldSpace (float param_3, float param_4)
 
void updateBorders ()
 
void updateGrid (bool force)
 
void updatePickMesh ()
 
void updateProjectedPoints ()
 
void updateTransformedVertices ()
 
const Common::Array< TeVector3f32freeMoveZoneVerticies () const
 
- Public Member Functions inherited from Tetraedge::TePickMesh2
void draw () override
 
bool intersect (const TeVector3f32 &v1, const TeVector3f32 &v2, TeVector3f32 &v3, float &fout, bool useLastHit, uint *triangleHitOut)
 
bool intersect2D (const TeVector2f32 &pt)
 
uint lastTriangleHit () const
 
bool pointInTriangle (const TeVector2f32 &p1, const TeVector2f32 &p2, const TeVector2f32 &p3, const TeVector2f32 &p4) const
 
void setLastTriangleHit (uint lastHit)
 
void setNbTriangles (uint num)
 
void setTriangle (uint num, const TeVector3f32 &v1, const TeVector3f32 &v2, const TeVector3f32 &v3)
 
void triangle (uint num, TeVector3f32 &v1out, TeVector3f32 &v2out, TeVector3f32 &v3out) const
 
TeVector3f32 slide (const TeVector3f32 &pos)
 
Common::Array< TeVector3f32 > & verticies ()
 
const Common::Array< TeVector3f32 > & verticies () const
 
- Public Member Functions inherited from Tetraedge::Te3DObject2
virtual void addChild (Te3DObject2 *newChild)
 
virtual void addChildBefore (Te3DObject2 *newChild, const Te3DObject2 *ref)
 
virtual Te3DObject2child (int offset)
 
int childCount ()
 
int childIndex (Te3DObject2 *childToFind) const
 
const Common::Array< Te3DObject2 * > & childList () const
 
bool childListChanged () const
 
const TeColorcolor () const
 
bool colorInheritance () const
 
const Common::Stringname () const
 
virtual bool onParentWorldColorChanged ()
 
bool onParentWorldTransformationMatrixChanged ()
 
bool onWorldVisibleChangedSlot ()
 
TeSignal0ParamonPositionChanged ()
 
TeSignal0ParamonSizeChanged ()
 
TeSignal0ParamonWorldColorChanged ()
 
TeSignal0ParamonWorldTransformationMatrixChanged ()
 
TeSignal0ParamonWorldVisibleChanged ()
 
Te3DObject2parent ()
 
virtual TeVector3f32 position ()
 
virtual void removeChild (Te3DObject2 *toRemove)
 
virtual void removeChildren ()
 
void rotate (const TeQuaternion &rot)
 
const TeQuaternionrotation ()
 
const TeVector3f32scale () const
 
virtual void setColor (const TeColor &col)
 
virtual void setColorInheritance (bool val)
 
virtual bool setName (const Common::String &newName)
 
virtual void setParent (Te3DObject2 *newparent)
 
virtual void setPosition (const TeVector3f32 &pos)
 
virtual void setPositionFast (const TeVector3f32 &pos)
 
virtual void setRotation (const TeQuaternion &rot)
 
virtual void setScale (const TeVector3f32 &newScale)
 
virtual void setSize (const TeVector3f32 &newSize)
 
void setVisible (bool visible)
 
virtual void setZPosition (float zpos)
 
virtual TeVector3f32 size ()
 
TeMatrix4x4 transformationMatrix ()
 
virtual void translate (const TeVector3f32 &vec)
 
virtual void updateZ ()
 
virtual bool visible () const
 
TeColor worldColor ()
 
virtual TeVector3f32 worldPosition ()
 
TeQuaternion worldRotation ()
 
TeVector3f32 worldScale ()
 
virtual TeMatrix4x4 worldTransformationMatrix ()
 
virtual bool worldVisible ()
 
virtual float xSize ()
 
virtual float ySize ()
 
virtual float zSize ()
 
- Public Member Functions inherited from Tetraedge::TeObject
void deleteLater ()
 

Static Public Member Functions

static float normalizeAngle (float angle)
 
static void deserialize (Common::ReadStream &stream, TeFreeMoveZone &dest, const Common::Array< TeBlocker > *blockers, const Common::Array< TeRectBlocker > *rectblockers, const Common::Array< TeActZone > *actzones)
 
static void serialize (Common::WriteStream &stream, const TeFreeMoveZone &src, bool updateFirst)
 
static TePickMesh2findNearestMesh (TeIntrusivePtr< TeCamera > &camera, const TeVector2s32 &frompt, Common::Array< TePickMesh2 *> &pickMeshes, TeVector3f32 *outloc, bool lastHitFirst)
 
static void setCollisionSlide (bool val)
 
- Static Public Member Functions inherited from Tetraedge::TePickMesh2
static void serialize (Common::WriteStream &stream, const TePickMesh2 &mesh)
 
static void deserialize (Common::ReadStream &stream, TePickMesh2 &mesh)
 
- Static Public Member Functions inherited from Tetraedge::Te3DObject2
static void deserialize (Common::ReadStream &stream, Te3DObject2 &dest, bool includesName=true)
 
static void serialize (Common::WriteStream &stream, Te3DObject2 &src)
 
static bool loadAndCheckFourCC (Common::ReadStream &stream, const char *str)
 
static Common::String deserializeString (Common::ReadStream &stream)
 
static void deserializeVectorArray (Common::ReadStream &stream, Common::Array< TeVector3f32 > &dest)
 
static void deserializeUintArray (Common::ReadStream &stream, Common::Array< uint > &dest)
 
- Static Public Member Functions inherited from Tetraedge::TeObject
static void deleteLaterStatic (TeObject *obj)
 
static void deleteNow ()
 
static void cleanup ()
 

Additional Inherited Members

- Protected Attributes inherited from Tetraedge::TePickMesh2
Common::Array< TeVector3f32_verticies
 
uint _lastTriangleHit
 
- Protected Attributes inherited from Tetraedge::Te3DObject2
TeVector3f32 _size
 
TeVector3f32 _position
 
TeQuaternion _rotation
 
TeVector3f32 _scale
 

The documentation for this class was generated from the following file: