18#ifndef TRINITYSERVER_MOVEPLINE_H
19#define TRINITYSERVER_MOVEPLINE_H
23#include <G3D/Vector3.h>
49 Result_Arrived = 0x02,
50 Result_NextCycle = 0x04,
51 Result_NextSegment = 0x08
79 void computeParabolicElevation(
float& el)
const;
102 template<
class UpdateHandler>
107 handler(_updateState(difftime));
108 while (difftime > 0);
114 do _updateState(difftime);
115 while (difftime > 0);
126 int32 currentPathIdx()
const;
132 std::string ToString()
const;
135 return time_passed > 0;
int32 next_timestamp() const
int32 timeElapsed() const
MySpline::ControlArray const & getPath() const
void updateState(int32 difftime)
Vector3 FinalDestination() const
MySpline const & _Spline() const
float vertical_acceleration
int32 _currentSplineIdx() const
AnimTier GetAnimTier() const
int32 segment_time_elapsed() const
Vector3 CurrentDestination() 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)