Core/Movement: Add a convenience default ctor to SplineChainResumeInfo, and fix PCH build in some configurations (zzz why do we even keep Appveyor and Travis around).

This commit is contained in:
treeston
2016-09-20 12:45:11 +02:00
parent 20f483967f
commit 4fa646c0b2
2 changed files with 2 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ typedef std::vector<SplineChainLink> SplineChain;
struct TC_GAME_API SplineChainResumeInfo
{
SplineChainResumeInfo() : PointID(0), Chain(nullptr), IsWalkMode(false), SplineIndex(0), PointIndex(0), TimeToNext(0) { }
SplineChainResumeInfo(uint32 id, SplineChain const* chain, bool walk, uint8 splineIndex, uint8 wpIndex, uint32 msToNext) :
PointID(id), Chain(chain), IsWalkMode(walk), SplineIndex(splineIndex), PointIndex(wpIndex), TimeToNext(msToNext) { }
uint32 PointID;

View File

@@ -6,6 +6,7 @@
#define SC_SYSTEM_H
#include "ScriptMgr.h"
#include "SplineChain.h"
#define TEXT_SOURCE_RANGE -1000000 //the amount of entries each text source has available