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 authored and Aokromes committed 2016-09-20 12:55:26 +02:00
1 parent c1cc7e0a36
commit bf61a58cc2
2 files changed
+2

No files matched your search

@@ -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;
+1
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