AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
MoveSpline.cpp File Reference
#include "MoveSpline.h"
#include "Creature.h"
#include "Log.h"
#include <sstream>

Go to the source code of this file.

Classes

struct  Movement::FallInitializer
 
struct  Movement::CommonInitializer
 

Namespaces

namespace  Movement
 

Macros

#define CHECK(exp)
 

Enumerations

enum  { Movement::minimal_duration = 1 }
 

Functions

uint32 Movement::computeDuration (float length, float velocity)
 

Macro Definition Documentation

◆ CHECK

#define CHECK (   exp)
Value:
if (!(exp)) \
{ \
if (unit) \
LOG_ERROR("misc.movesplineinitargs", "MoveSplineInitArgs::Validate: expression '{}' failed for {}", #exp, unit->GetGUID().ToString()); \
else \
LOG_ERROR("misc.movesplineinitargs", "MoveSplineInitArgs::Validate: expression '{}' failed for cyclic spline continuation", #exp); \
return false;\
}