mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
Remove expedition includes from client header
Make quest compass a vec3 to remove include dependency Quest compass location doesn't require a zone id since it can only be set in the zone that it's drawn in. Drop the DynamicZoneLocation member and forward declare to remove the dependency on header. Move ExpeditionInvite struct to zone common header Including expedition.h in client.h just to use the ExpeditionInvite struct is an unnecessary header dependency that increases incremental build time. This allows expedition classes to be forward declared in client header.
This commit is contained in:
+7
-3
@@ -21,12 +21,17 @@
|
||||
class Client;
|
||||
class EQApplicationPacket;
|
||||
class EQStream;
|
||||
class DynamicZone;
|
||||
class Expedition;
|
||||
class ExpeditionLockoutTimer;
|
||||
class ExpeditionRequest;
|
||||
class Group;
|
||||
class NPC;
|
||||
class Object;
|
||||
class Raid;
|
||||
class Seperator;
|
||||
class ServerPacket;
|
||||
struct DynamicZoneLocation;
|
||||
enum WaterRegionType : int;
|
||||
|
||||
namespace EQ
|
||||
@@ -52,8 +57,6 @@ namespace EQ
|
||||
#include "aggromanager.h"
|
||||
|
||||
#include "common.h"
|
||||
#include "expedition.h"
|
||||
#include "dynamiczone.h"
|
||||
#include "merc.h"
|
||||
#include "mob.h"
|
||||
#include "qglobals.h"
|
||||
@@ -1701,7 +1704,8 @@ private:
|
||||
uint32 m_expedition_id = 0;
|
||||
ExpeditionInvite m_pending_expedition_invite { 0 };
|
||||
std::vector<ExpeditionLockoutTimer> m_expedition_lockouts;
|
||||
DynamicZoneLocation m_quest_compass;
|
||||
glm::vec3 m_quest_compass;
|
||||
bool m_has_quest_compass = false;
|
||||
|
||||
#ifdef BOTS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user