Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
MoveSpline.cpp File Reference
#include "Creature.h"
#include "Log.h"
#include "MoveSpline.h"
#include <sstream>
Include dependency graph for MoveSpline.cpp:

Go to the source code of this file.

Classes

struct  Movement::CommonInitializer
struct  Movement::FallInitializer

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))\
{\
SF_LOG_ERROR("misc", "MoveSplineInitArgs::Validate: expression '%s' failed for GUID: %u Entry: %u", #exp, unit->GetTypeId() == TypeID::TYPEID_PLAYER ? unit->GetGUIDLow() : unit->ToCreature()->GetDBTableGUIDLow(), unit->GetEntry());\
return false;\
}
@ TYPEID_PLAYER
Definition Object.h:55

Referenced by Movement::MoveSplineInitArgs::Validate().