TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MovementUtil.cpp File Reference
#include "MoveSplineFlag.h"
+ Include dependency graph for MovementUtil.cpp:

Namespaces

 Movement
 

Functions

float Movement::computeFallTime (float path_length, bool isSafeFall)
 
float Movement::computeFallElevation (float t_passed, bool isSafeFall, float start_velocity=0.0f)
 
template<class Flags , int N>
void Movement::PrintFlags (Flags t, char const *(&names)[N], std::string &str)
 
TC_GAME_API std::string Movement::MovementFlags_ToString (uint32 flags)
 
TC_GAME_API std::string Movement::MovementFlagsExtra_ToString (uint32 flags)
 

Variables

float Movement::terminalVelocity = 60.148003f
 Velocity bounds that makes fall speed limited. More...
 
float Movement::terminalSafefallVelocity = 7.0f
 
const float Movement::terminal_length = float(terminalVelocity * terminalVelocity) / (2.0f * gravity)
 
const float Movement::terminal_safeFall_length = (terminalSafefallVelocity * terminalSafefallVelocity) / (2.0f * gravity)
 
const float Movement::terminal_fallTime = float(terminalVelocity / gravity)
 
const float Movement::terminal_safeFall_fallTime = float(terminalSafefallVelocity / gravity)
 
char constMovement::MovementFlagNames []
 
char constMovement::MovementFlagExtraNames []
 
char constMovement::SplineFlagNames [32]