18#ifndef TRINITYSERVER_MOVEPLINE_H
19#define TRINITYSERVER_MOVEPLINE_H
23#include <G3D/Vector3.h>
62 Result_Arrived = 0x02,
63 Result_NextCycle = 0x04,
64 Result_NextSegment = 0x08
91 void computeParabolicElevation(
float& el)
const;
114 template<
class UpdateHandler>
119 handler(_updateState(difftime));
120 while (difftime > 0);
126 do _updateState(difftime);
127 while (difftime > 0);
138 int32 currentPathIdx()
const;
144 std::string ToString()
const;
147 return time_passed > 0;
int32 next_timestamp() const
int32 timeElapsed() const
Vector3 const & CurrentDestination() const
MySpline::ControlArray const & getPath() const
void updateState(int32 difftime)
MySpline const & _Spline() const
float vertical_acceleration
Vector3 const & FinalDestination() const
int32 _currentSplineIdx() const
AnimTier GetAnimTier() const
int32 segment_time_elapsed() const
void updateState(int32 difftime, UpdateHandler &handler)
MoveSplineFlag splineflags
bool HasAnimation() const
std::vector< Vector3 > ControlArray
ControlArray const & getPoints() const
Vector3 const & getPoint(index_type i) const
length_type length() const
float computeFallElevation(float t_passed, bool isSafeFall, float start_velocity=0.0f)
Location(Vector3 const &v, float o)
Location(Vector3 const &v)
Location(float x, float y, float z, float o)