@@ -49,7 +49,7 @@ namespace Battlenet
|
|||||||
|
|
||||||
void Read() override;
|
void Read() override;
|
||||||
std::string ToString() const override;
|
std::string ToString() const override;
|
||||||
void CallHandler(Session* session);
|
void CallHandler(Session* session) override;
|
||||||
|
|
||||||
std::string Channel;
|
std::string Channel;
|
||||||
std::string ItemName;
|
std::string ItemName;
|
||||||
|
|||||||
@@ -952,7 +952,7 @@ class GameObject : public WorldObject, public GridObject<GameObject>, public Map
|
|||||||
void SetGoAnimProgress(uint8 animprogress) { SetByteValue(GAMEOBJECT_BYTES_1, 3, animprogress); }
|
void SetGoAnimProgress(uint8 animprogress) { SetByteValue(GAMEOBJECT_BYTES_1, 3, animprogress); }
|
||||||
static void SetGoArtKit(uint8 artkit, GameObject* go, ObjectGuid::LowType lowguid = UI64LIT(0));
|
static void SetGoArtKit(uint8 artkit, GameObject* go, ObjectGuid::LowType lowguid = UI64LIT(0));
|
||||||
|
|
||||||
bool SetInPhase(uint32 id, bool update, bool apply);
|
bool SetInPhase(uint32 id, bool update, bool apply) override;
|
||||||
void EnableCollision(bool enable);
|
void EnableCollision(bool enable);
|
||||||
|
|
||||||
void Use(Unit* user);
|
void Use(Unit* user);
|
||||||
|
|||||||
@@ -21656,9 +21656,9 @@ void Player::SetPvP(bool state)
|
|||||||
(*itr)->SetPvP(state);
|
(*itr)->SetPvP(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::UpdatePvP(bool state, bool override)
|
void Player::UpdatePvP(bool state, bool _override)
|
||||||
{
|
{
|
||||||
if (!state || override)
|
if (!state || _override)
|
||||||
{
|
{
|
||||||
SetPvP(state);
|
SetPvP(state);
|
||||||
pvpInfo.EndTimer = 0;
|
pvpInfo.EndTimer = 0;
|
||||||
|
|||||||
@@ -2236,7 +2236,7 @@ class Player : public Unit, public GridObject<Player>
|
|||||||
int32 CalculateCorpseReclaimDelay(bool load = false);
|
int32 CalculateCorpseReclaimDelay(bool load = false);
|
||||||
void SendCorpseReclaimDelay(uint32 delay);
|
void SendCorpseReclaimDelay(uint32 delay);
|
||||||
|
|
||||||
uint32 GetBlockPercent() const { return GetUInt32Value(PLAYER_SHIELD_BLOCK); }
|
uint32 GetBlockPercent() const override { return GetUInt32Value(PLAYER_SHIELD_BLOCK); }
|
||||||
bool CanParry() const { return m_canParry; }
|
bool CanParry() const { return m_canParry; }
|
||||||
void SetCanParry(bool value);
|
void SetCanParry(bool value);
|
||||||
bool CanBlock() const { return m_canBlock; }
|
bool CanBlock() const { return m_canBlock; }
|
||||||
@@ -2601,7 +2601,7 @@ class Player : public Unit, public GridObject<Player>
|
|||||||
void SendMovementSetCanTransitionBetweenSwimAndFly(bool apply);
|
void SendMovementSetCanTransitionBetweenSwimAndFly(bool apply);
|
||||||
void SendMovementSetCollisionHeight(float height);
|
void SendMovementSetCollisionHeight(float height);
|
||||||
|
|
||||||
bool CanFly() const { return m_movementInfo.HasMovementFlag(MOVEMENTFLAG_CAN_FLY); }
|
bool CanFly() const override { return m_movementInfo.HasMovementFlag(MOVEMENTFLAG_CAN_FLY); }
|
||||||
|
|
||||||
//! Return collision height sent to client
|
//! Return collision height sent to client
|
||||||
float GetCollisionHeight(bool mounted) const;
|
float GetCollisionHeight(bool mounted) const;
|
||||||
|
|||||||
@@ -1957,7 +1957,7 @@ class Unit : public WorldObject
|
|||||||
void SetVisible(bool x);
|
void SetVisible(bool x);
|
||||||
|
|
||||||
// common function for visibility checks for player/creatures with detection code
|
// common function for visibility checks for player/creatures with detection code
|
||||||
bool SetInPhase(uint32 id, bool update, bool apply);
|
bool SetInPhase(uint32 id, bool update, bool apply) override;
|
||||||
void UpdateObjectVisibility(bool forced = true) override;
|
void UpdateObjectVisibility(bool forced = true) override;
|
||||||
|
|
||||||
SpellImmuneList m_spellImmune[MAX_SPELL_IMMUNITY];
|
SpellImmuneList m_spellImmune[MAX_SPELL_IMMUNITY];
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ public:
|
|||||||
if (dist(xn, yn, xh, yh) >= dist(xn, yn, xp, yp) || dist(xp, yp, xh, yh) >= dist(xn, yn, xp, yp))
|
if (dist(xn, yn, xh, yh) >= dist(xn, yn, xp, yp) || dist(xp, yp, xh, yh) >= dist(xn, yn, xp, yp))
|
||||||
return false;
|
return false;
|
||||||
// check distance from the beam
|
// check distance from the beam
|
||||||
return (abs((xn-xp)*yh+(yp-yn)*xh-xn*yp+xp*yn)/dist(xn, yn, xp, yp) < 1.5f);
|
return (std::abs((xn-xp)*yh+(yp-yn)*xh-xn*yp+xp*yn)/dist(xn, yn, xp, yp) < 1.5f);
|
||||||
}
|
}
|
||||||
|
|
||||||
float dist(float xa, float ya, float xb, float yb) // auxiliary method for distance
|
float dist(float xa, float ya, float xb, float yb) // auxiliary method for distance
|
||||||
|
|||||||
@@ -268,7 +268,7 @@ public:
|
|||||||
return ObjectGuid::Empty;
|
return ObjectGuid::Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Load(char const* chrIn)
|
void Load(char const* chrIn) override
|
||||||
{
|
{
|
||||||
if (!chrIn)
|
if (!chrIn)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1657,7 +1657,7 @@ public:
|
|||||||
{
|
{
|
||||||
npc_the_lich_king_tirion_dawnAI(Creature* creature) : ScriptedAI(creature) { Reset(); }
|
npc_the_lich_king_tirion_dawnAI(Creature* creature) : ScriptedAI(creature) { Reset(); }
|
||||||
void Reset() override { }
|
void Reset() override { }
|
||||||
void AttackStart(Unit* /*who*/) { } // very sample, just don't make them aggreesive override
|
void AttackStart(Unit* /*who*/) override { } // very sample, just don't make them aggreesive
|
||||||
void UpdateAI(uint32 /*diff*/) override { }
|
void UpdateAI(uint32 /*diff*/) override { }
|
||||||
void JustDied(Unit* /*killer*/) override { }
|
void JustDied(Unit* /*killer*/) override { }
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -236,7 +236,7 @@ public:
|
|||||||
OUT_LOAD_INST_DATA_COMPLETE;
|
OUT_LOAD_INST_DATA_COMPLETE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Update(uint32 uiDiff)
|
void Update(uint32 uiDiff) override
|
||||||
{
|
{
|
||||||
if (GetData(TYPE_FENRUS) != DONE)
|
if (GetData(TYPE_FENRUS) != DONE)
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ class instance_zulaman : public InstanceMapScript
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Update(uint32 diff)
|
void Update(uint32 diff) override
|
||||||
{
|
{
|
||||||
if (events.Empty())
|
if (events.Empty())
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ class npc_professor_phizzlethorpe : public CreatureScript
|
|||||||
Talk(SAY_AGGRO);
|
Talk(SAY_AGGRO);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sQuestAccept(Player* player, Quest const* quest)
|
void sQuestAccept(Player* player, Quest const* quest) override
|
||||||
{
|
{
|
||||||
if (quest->GetQuestId() == QUEST_SUNKEN_TREASURE)
|
if (quest->GetQuestId() == QUEST_SUNKEN_TREASURE)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ public:
|
|||||||
summoned->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ());
|
summoned->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ());
|
||||||
}
|
}
|
||||||
|
|
||||||
void sQuestAccept(Player* player, Quest const* quest)
|
void sQuestAccept(Player* player, Quest const* quest) override
|
||||||
{
|
{
|
||||||
if (quest->GetQuestId() == QUEST_RESQUE_OOX_09)
|
if (quest->GetQuestId() == QUEST_RESQUE_OOX_09)
|
||||||
{
|
{
|
||||||
@@ -85,7 +85,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void WaypointReached(uint32 waypointId)
|
void WaypointReached(uint32 waypointId) override
|
||||||
{
|
{
|
||||||
switch (waypointId)
|
switch (waypointId)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ public:
|
|||||||
{
|
{
|
||||||
npc_deathstalker_erlandAI(Creature* creature) : npc_escortAI(creature) { }
|
npc_deathstalker_erlandAI(Creature* creature) : npc_escortAI(creature) { }
|
||||||
|
|
||||||
void WaypointReached(uint32 waypointId)
|
void WaypointReached(uint32 waypointId) override
|
||||||
{
|
{
|
||||||
Player* player = GetPlayerForEscort();
|
Player* player = GetPlayerForEscort();
|
||||||
if (!player)
|
if (!player)
|
||||||
@@ -109,13 +109,13 @@ public:
|
|||||||
|
|
||||||
void Reset() override { }
|
void Reset() override { }
|
||||||
|
|
||||||
void EnterCombat(Unit* who)
|
void EnterCombat(Unit* who) override
|
||||||
{
|
{
|
||||||
Talk(SAY_AGGRO, who);
|
Talk(SAY_AGGRO, who);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
bool OnQuestAccept(Player* player, Creature* creature, Quest const* quest)
|
bool OnQuestAccept(Player* player, Creature* creature, Quest const* quest) override
|
||||||
{
|
{
|
||||||
if (quest->GetQuestId() == QUEST_ESCORTING)
|
if (quest->GetQuestId() == QUEST_ESCORTING)
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -421,7 +421,7 @@ public:
|
|||||||
gossipStep = 0;
|
gossipStep = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AttackStart(Unit* who)
|
void AttackStart(Unit* who) override
|
||||||
{
|
{
|
||||||
if (who && !who->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC))
|
if (who && !who->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC))
|
||||||
npc_escortAI::AttackStart(who);
|
npc_escortAI::AttackStart(who);
|
||||||
|
|||||||
@@ -177,7 +177,7 @@ class npc_harbinger_of_flame : public CreatureScript
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void EnterCombat(Unit* /*target*/)
|
void EnterCombat(Unit* /*target*/) override
|
||||||
{
|
{
|
||||||
if (Creature* bird = ObjectAccessor::GetCreature(*me, me->GetChannelObjectGuid()))
|
if (Creature* bird = ObjectAccessor::GetCreature(*me, me->GetChannelObjectGuid()))
|
||||||
DoZoneInCombat(bird, 200.0f);
|
DoZoneInCombat(bird, 200.0f);
|
||||||
@@ -277,7 +277,7 @@ class npc_blazing_monstrosity : public CreatureScript
|
|||||||
AlysrazorTrashEvaded(me);
|
AlysrazorTrashEvaded(me);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EnterCombat(Unit* /*target*/)
|
void EnterCombat(Unit* /*target*/) override
|
||||||
{
|
{
|
||||||
DoZoneInCombat();
|
DoZoneInCombat();
|
||||||
me->RemoveAurasDueToSpell(SPELL_SLEEP_ULTRA_HIGH_PRIORITY);
|
me->RemoveAurasDueToSpell(SPELL_SLEEP_ULTRA_HIGH_PRIORITY);
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Update(uint32 /*diff*/)
|
void Update(uint32 /*diff*/) override
|
||||||
{
|
{
|
||||||
if (WardKeeperDeath == WARD_KEEPERS_NR)
|
if (WardKeeperDeath == WARD_KEEPERS_NR)
|
||||||
if (GameObject* go = instance->GetGameObject(DoorWardGUID))
|
if (GameObject* go = instance->GetGameObject(DoorWardGUID))
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class instance_ruins_of_ahnqiraj : public InstanceMapScript
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SetBossState(uint32 bossId, EncounterState state)
|
bool SetBossState(uint32 bossId, EncounterState state) override
|
||||||
{
|
{
|
||||||
if (!InstanceScript::SetBossState(bossId, state))
|
if (!InstanceScript::SetBossState(bossId, state))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ struct boss_twinemperorsAI : public ScriptedAI
|
|||||||
uint32 EnrageTimer;
|
uint32 EnrageTimer;
|
||||||
|
|
||||||
virtual bool IAmVeklor() = 0;
|
virtual bool IAmVeklor() = 0;
|
||||||
virtual void Reset() = 0;
|
virtual void Reset() override = 0;
|
||||||
virtual void CastSpellOnBug(Creature* target) = 0;
|
virtual void CastSpellOnBug(Creature* target) = 0;
|
||||||
|
|
||||||
void TwinReset()
|
void TwinReset()
|
||||||
@@ -400,7 +400,7 @@ public:
|
|||||||
|
|
||||||
struct boss_veknilashAI : public boss_twinemperorsAI
|
struct boss_veknilashAI : public boss_twinemperorsAI
|
||||||
{
|
{
|
||||||
bool IAmVeklor() {return false;}
|
bool IAmVeklor() override {return false;}
|
||||||
boss_veknilashAI(Creature* creature) : boss_twinemperorsAI(creature)
|
boss_veknilashAI(Creature* creature) : boss_twinemperorsAI(creature)
|
||||||
{
|
{
|
||||||
Initialize();
|
Initialize();
|
||||||
@@ -425,7 +425,7 @@ public:
|
|||||||
me->ApplySpellImmune(0, IMMUNITY_DAMAGE, SPELL_SCHOOL_MASK_MAGIC, true);
|
me->ApplySpellImmune(0, IMMUNITY_DAMAGE, SPELL_SCHOOL_MASK_MAGIC, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CastSpellOnBug(Creature* target)
|
void CastSpellOnBug(Creature* target) override
|
||||||
{
|
{
|
||||||
target->setFaction(14);
|
target->setFaction(14);
|
||||||
target->AI()->AttackStart(me->getThreatManager().getHostilTarget());
|
target->AI()->AttackStart(me->getThreatManager().getHostilTarget());
|
||||||
@@ -488,7 +488,7 @@ public:
|
|||||||
|
|
||||||
struct boss_veklorAI : public boss_twinemperorsAI
|
struct boss_veklorAI : public boss_twinemperorsAI
|
||||||
{
|
{
|
||||||
bool IAmVeklor() {return true;}
|
bool IAmVeklor() override {return true;}
|
||||||
boss_veklorAI(Creature* creature) : boss_twinemperorsAI(creature)
|
boss_veklorAI(Creature* creature) : boss_twinemperorsAI(creature)
|
||||||
{
|
{
|
||||||
Initialize();
|
Initialize();
|
||||||
@@ -516,7 +516,7 @@ public:
|
|||||||
me->ApplySpellImmune(0, IMMUNITY_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, true);
|
me->ApplySpellImmune(0, IMMUNITY_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CastSpellOnBug(Creature* target)
|
void CastSpellOnBug(Creature* target) override
|
||||||
{
|
{
|
||||||
target->setFaction(14);
|
target->setFaction(14);
|
||||||
target->AddAura(SPELL_EXPLODEBUG, target);
|
target->AddAura(SPELL_EXPLODEBUG, target);
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ public:
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void Update(uint32 diff)
|
virtual void Update(uint32 diff) override
|
||||||
{
|
{
|
||||||
switch (PyramidPhase)
|
switch (PyramidPhase)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ public:
|
|||||||
summoned->AI()->AttackStart(me);
|
summoned->AI()->AttackStart(me);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sQuestAccept(Player* player, Quest const* quest)
|
void sQuestAccept(Player* player, Quest const* quest) override
|
||||||
{
|
{
|
||||||
if (quest->GetQuestId() == QUEST_TOREK_ASSULT)
|
if (quest->GetQuestId() == QUEST_TOREK_ASSULT)
|
||||||
{
|
{
|
||||||
@@ -204,7 +204,7 @@ public:
|
|||||||
summoned->AI()->AttackStart(me);
|
summoned->AI()->AttackStart(me);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sQuestAccept(Player* player, Quest const* quest)
|
void sQuestAccept(Player* player, Quest const* quest) override
|
||||||
{
|
{
|
||||||
if (quest->GetQuestId() == QUEST_FREEDOM_TO_RUUL)
|
if (quest->GetQuestId() == QUEST_FREEDOM_TO_RUUL)
|
||||||
{
|
{
|
||||||
@@ -346,7 +346,7 @@ public:
|
|||||||
summoned->AI()->AttackStart(me);
|
summoned->AI()->AttackStart(me);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sQuestAccept(Player* player, Quest const* quest)
|
void sQuestAccept(Player* player, Quest const* quest) override
|
||||||
{
|
{
|
||||||
if (quest->GetQuestId() == QUEST_VORSHA)
|
if (quest->GetQuestId() == QUEST_VORSHA)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -350,7 +350,7 @@ public:
|
|||||||
Talk(SAY_AGGRO, who);
|
Talk(SAY_AGGRO, who);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sQuestAccept(Player* player, Quest const* quest)
|
void sQuestAccept(Player* player, Quest const* quest) override
|
||||||
{
|
{
|
||||||
if (quest->GetQuestId() == QUEST_A_CRY_FOR_SAY_HELP)
|
if (quest->GetQuestId() == QUEST_A_CRY_FOR_SAY_HELP)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -69,13 +69,13 @@ public:
|
|||||||
Initialize();
|
Initialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MovementInform(uint32 /*type*/, uint32 id)
|
void MovementInform(uint32 /*type*/, uint32 id) override
|
||||||
{
|
{
|
||||||
if (id == 1)
|
if (id == 1)
|
||||||
work = true;
|
work = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SpellHit(Unit* caster, const SpellInfo* spell)
|
void SpellHit(Unit* caster, const SpellInfo* spell) override
|
||||||
{
|
{
|
||||||
if (spell->Id != SPELL_AWAKEN_PEON)
|
if (spell->Id != SPELL_AWAKEN_PEON)
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EnterCombat(Unit* who)
|
void EnterCombat(Unit* who) override
|
||||||
{
|
{
|
||||||
Talk(AGGRO_YELL_AQUE, who);
|
Talk(AGGRO_YELL_AQUE, who);
|
||||||
}
|
}
|
||||||
@@ -197,7 +197,7 @@ public:
|
|||||||
{
|
{
|
||||||
npc_custodian_of_timeAI(Creature* creature) : npc_escortAI(creature) { }
|
npc_custodian_of_timeAI(Creature* creature) : npc_escortAI(creature) { }
|
||||||
|
|
||||||
void WaypointReached(uint32 waypointId)
|
void WaypointReached(uint32 waypointId) override
|
||||||
{
|
{
|
||||||
if (Player* player = GetPlayerForEscort())
|
if (Player* player = GetPlayerForEscort())
|
||||||
{
|
{
|
||||||
@@ -264,7 +264,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MoveInLineOfSight(Unit* who)
|
void MoveInLineOfSight(Unit* who) override
|
||||||
{
|
{
|
||||||
if (HasEscortState(STATE_ESCORT_ESCORTING))
|
if (HasEscortState(STATE_ESCORT_ESCORTING))
|
||||||
return;
|
return;
|
||||||
@@ -362,7 +362,7 @@ class npc_OOX17 : public CreatureScript
|
|||||||
public:
|
public:
|
||||||
npc_OOX17() : CreatureScript("npc_OOX17") { }
|
npc_OOX17() : CreatureScript("npc_OOX17") { }
|
||||||
|
|
||||||
bool OnQuestAccept(Player* player, Creature* creature, Quest const* quest)
|
bool OnQuestAccept(Player* player, Creature* creature, Quest const* quest) override
|
||||||
{
|
{
|
||||||
if (quest->GetQuestId() == Q_OOX17)
|
if (quest->GetQuestId() == Q_OOX17)
|
||||||
{
|
{
|
||||||
@@ -387,7 +387,7 @@ public:
|
|||||||
{
|
{
|
||||||
npc_OOX17AI(Creature* creature) : npc_escortAI(creature) { }
|
npc_OOX17AI(Creature* creature) : npc_escortAI(creature) { }
|
||||||
|
|
||||||
void WaypointReached(uint32 waypointId)
|
void WaypointReached(uint32 waypointId) override
|
||||||
{
|
{
|
||||||
if (Player* player = GetPlayerForEscort())
|
if (Player* player = GetPlayerForEscort())
|
||||||
{
|
{
|
||||||
@@ -457,7 +457,7 @@ class npc_tooga : public CreatureScript
|
|||||||
public:
|
public:
|
||||||
npc_tooga() : CreatureScript("npc_tooga") { }
|
npc_tooga() : CreatureScript("npc_tooga") { }
|
||||||
|
|
||||||
bool OnQuestAccept(Player* player, Creature* creature, const Quest* quest)
|
bool OnQuestAccept(Player* player, Creature* creature, const Quest* quest) override
|
||||||
{
|
{
|
||||||
if (quest->GetQuestId() == QUEST_TOOGA)
|
if (quest->GetQuestId() == QUEST_TOOGA)
|
||||||
{
|
{
|
||||||
@@ -500,7 +500,7 @@ public:
|
|||||||
Initialize();
|
Initialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MoveInLineOfSight(Unit* who)
|
void MoveInLineOfSight(Unit* who) override
|
||||||
{
|
{
|
||||||
FollowerAI::MoveInLineOfSight(who);
|
FollowerAI::MoveInLineOfSight(who);
|
||||||
|
|
||||||
@@ -518,7 +518,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MovementInform(uint32 MotionType, uint32 PointId)
|
void MovementInform(uint32 MotionType, uint32 PointId) override
|
||||||
{
|
{
|
||||||
FollowerAI::MovementInform(MotionType, PointId);
|
FollowerAI::MovementInform(MotionType, PointId);
|
||||||
|
|
||||||
@@ -529,7 +529,7 @@ public:
|
|||||||
SetFollowComplete();
|
SetFollowComplete();
|
||||||
}
|
}
|
||||||
|
|
||||||
void UpdateFollowerAI(uint32 Diff)
|
void UpdateFollowerAI(uint32 Diff) override
|
||||||
{
|
{
|
||||||
if (!UpdateVictim())
|
if (!UpdateVictim())
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -451,7 +451,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void JustDidDialogueStep(int32 entry)
|
void JustDidDialogueStep(int32 entry) override
|
||||||
{
|
{
|
||||||
switch (entry)
|
switch (entry)
|
||||||
{
|
{
|
||||||
@@ -550,7 +550,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Creature* GetSpeakerByEntry(int32 entry)
|
Creature* GetSpeakerByEntry(int32 entry) override
|
||||||
{
|
{
|
||||||
switch (entry)
|
switch (entry)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ class boss_slabhide : public CreatureScript
|
|||||||
instance->SetData(DATA_SLABHIDE_INTRO, NOT_STARTED);
|
instance->SetData(DATA_SLABHIDE_INTRO, NOT_STARTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Reset()
|
void Reset() override
|
||||||
{
|
{
|
||||||
if (instance->GetData(DATA_SLABHIDE_INTRO) == NOT_STARTED)
|
if (instance->GetData(DATA_SLABHIDE_INTRO) == NOT_STARTED)
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ class boss_prince_taldaram : public CreatureScript
|
|||||||
events.ScheduleEvent(EVENT_CONJURE_FLAME_SPHERES, 5000);
|
events.ScheduleEvent(EVENT_CONJURE_FLAME_SPHERES, 5000);
|
||||||
}
|
}
|
||||||
|
|
||||||
void JustSummoned(Creature* summon)
|
void JustSummoned(Creature* summon) override
|
||||||
{
|
{
|
||||||
BossAI::JustSummoned(summon);
|
BossAI::JustSummoned(summon);
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ class instance_ruby_sanctum : public InstanceMapScript
|
|||||||
BaltharusSharedHealth = 0;
|
BaltharusSharedHealth = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnPlayerEnter(Player* /*player*/)
|
void OnPlayerEnter(Player* /*player*/) override
|
||||||
{
|
{
|
||||||
if (!GetGuidData(DATA_HALION_CONTROLLER) && GetBossState(DATA_HALION) != DONE && GetBossState(DATA_GENERAL_ZARITHRIAN) == DONE)
|
if (!GetGuidData(DATA_HALION_CONTROLLER) && GetBossState(DATA_HALION) != DONE && GetBossState(DATA_GENERAL_ZARITHRIAN) == DONE)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1874,7 +1874,7 @@ class spell_igb_rocket_pack_useable : public SpellScriptLoader
|
|||||||
{
|
{
|
||||||
PrepareAuraScript(spell_igb_rocket_pack_useable_AuraScript);
|
PrepareAuraScript(spell_igb_rocket_pack_useable_AuraScript);
|
||||||
|
|
||||||
bool Load()
|
bool Load() override
|
||||||
{
|
{
|
||||||
return GetOwner()->GetInstanceScript() != nullptr;
|
return GetOwner()->GetInstanceScript() != nullptr;
|
||||||
}
|
}
|
||||||
@@ -2002,7 +2002,7 @@ class spell_igb_cannon_blast : public SpellScriptLoader
|
|||||||
{
|
{
|
||||||
PrepareSpellScript(spell_igb_cannon_blast_SpellScript);
|
PrepareSpellScript(spell_igb_cannon_blast_SpellScript);
|
||||||
|
|
||||||
bool Load()
|
bool Load() override
|
||||||
{
|
{
|
||||||
return GetCaster()->GetTypeId() == TYPEID_UNIT;
|
return GetCaster()->GetTypeId() == TYPEID_UNIT;
|
||||||
}
|
}
|
||||||
@@ -2344,7 +2344,7 @@ class spell_igb_gunship_fall_teleport : public SpellScriptLoader
|
|||||||
{
|
{
|
||||||
PrepareSpellScript(spell_igb_gunship_fall_teleport_SpellScript);
|
PrepareSpellScript(spell_igb_gunship_fall_teleport_SpellScript);
|
||||||
|
|
||||||
bool Load()
|
bool Load() override
|
||||||
{
|
{
|
||||||
return GetCaster()->GetInstanceScript() != nullptr;
|
return GetCaster()->GetInstanceScript() != nullptr;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -317,7 +317,7 @@ class instance_icecrown_citadel : public InstanceMapScript
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Weekly quest spawn prevention
|
// Weekly quest spawn prevention
|
||||||
uint32 GetCreatureEntry(uint32 /*guidLow*/, CreatureData const* data)
|
uint32 GetCreatureEntry(uint32 /*guidLow*/, CreatureData const* data) override
|
||||||
{
|
{
|
||||||
uint32 entry = data->id;
|
uint32 entry = data->id;
|
||||||
switch (entry)
|
switch (entry)
|
||||||
|
|||||||
@@ -564,7 +564,7 @@ class instance_naxxramas : public InstanceMapScript
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CheckAchievementCriteriaMeet(uint32 criteria_id, Player const* /*source*/, Unit const* /*target = NULL*/, uint32 /*miscvalue1 = 0*/)
|
bool CheckAchievementCriteriaMeet(uint32 criteria_id, Player const* /*source*/, Unit const* /*target = NULL*/, uint32 /*miscvalue1 = 0*/) override
|
||||||
{
|
{
|
||||||
switch (criteria_id)
|
switch (criteria_id)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ public:
|
|||||||
frenzy = false;
|
frenzy = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Reset()
|
void Reset() override
|
||||||
{
|
{
|
||||||
BossAI::Reset();
|
BossAI::Reset();
|
||||||
Initialize();
|
Initialize();
|
||||||
|
|||||||
@@ -458,7 +458,7 @@ class spell_general_vezax_mark_of_the_faceless : public SpellScriptLoader
|
|||||||
{
|
{
|
||||||
PrepareAuraScript(spell_general_vezax_mark_of_the_faceless_AuraScript);
|
PrepareAuraScript(spell_general_vezax_mark_of_the_faceless_AuraScript);
|
||||||
|
|
||||||
bool Validate(SpellInfo const* /*spellInfo*/)
|
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||||
{
|
{
|
||||||
if (!sSpellMgr->GetSpellInfo(SPELL_MARK_OF_THE_FACELESS_DAMAGE))
|
if (!sSpellMgr->GetSpellInfo(SPELL_MARK_OF_THE_FACELESS_DAMAGE))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -448,7 +448,7 @@ class instance_ulduar : public InstanceMapScript
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnGameObjectCreate(GameObject* gameObject)
|
void OnGameObjectCreate(GameObject* gameObject) override
|
||||||
{
|
{
|
||||||
switch (gameObject->GetEntry())
|
switch (gameObject->GetEntry())
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ class boss_ingvar_the_plunderer : public CreatureScript
|
|||||||
damage = 0;
|
damage = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DoAction(int32 actionId)
|
void DoAction(int32 actionId) override
|
||||||
{
|
{
|
||||||
if (actionId == ACTION_START_PHASE_2)
|
if (actionId == ACTION_START_PHASE_2)
|
||||||
StartZombiePhase();
|
StartZombiePhase();
|
||||||
|
|||||||
@@ -802,7 +802,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProcessEvent(WorldObject* /*go*/, uint32 uiEventId)
|
void ProcessEvent(WorldObject* /*go*/, uint32 uiEventId) override
|
||||||
{
|
{
|
||||||
switch (uiEventId)
|
switch (uiEventId)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -184,11 +184,11 @@ class OPvPCapturePointZM_GraveYard : public OPvPCapturePoint
|
|||||||
public:
|
public:
|
||||||
OPvPCapturePointZM_GraveYard(OutdoorPvP* pvp);
|
OPvPCapturePointZM_GraveYard(OutdoorPvP* pvp);
|
||||||
|
|
||||||
bool Update(uint32 diff);
|
bool Update(uint32 diff) override;
|
||||||
|
|
||||||
void ChangeState() { }
|
void ChangeState() override { }
|
||||||
|
|
||||||
void FillInitialWorldStates(WorldPackets::WorldState::InitWorldStates& packet);
|
void FillInitialWorldStates(WorldPackets::WorldState::InitWorldStates& packet) override;
|
||||||
|
|
||||||
void UpdateTowerState();
|
void UpdateTowerState();
|
||||||
|
|
||||||
@@ -196,11 +196,11 @@ class OPvPCapturePointZM_GraveYard : public OPvPCapturePoint
|
|||||||
|
|
||||||
void SetBeaconState(uint32 controlling_team); // not good atm
|
void SetBeaconState(uint32 controlling_team); // not good atm
|
||||||
|
|
||||||
bool HandleGossipOption(Player* player, ObjectGuid guid, uint32 gossipid);
|
bool HandleGossipOption(Player* player, ObjectGuid guid, uint32 gossipid) override;
|
||||||
|
|
||||||
bool HandleDropFlag(Player* player, uint32 spellId);
|
bool HandleDropFlag(Player* player, uint32 spellId) override;
|
||||||
|
|
||||||
bool CanTalkTo(Player* player, Creature* creature, GossipMenuItems const& gso);
|
bool CanTalkTo(Player* player, Creature* creature, GossipMenuItems const& gso) override;
|
||||||
|
|
||||||
uint32 GetGraveYardState() const;
|
uint32 GetGraveYardState() const;
|
||||||
|
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ class boss_ambassador_hellmaw : public CreatureScript
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void DoAction(int32 actionId)
|
void DoAction(int32 actionId) override
|
||||||
{
|
{
|
||||||
if (actionId == ACTION_AMBASSADOR_HELLMAW_INTRO)
|
if (actionId == ACTION_AMBASSADOR_HELLMAW_INTRO)
|
||||||
DoIntro();
|
DoIntro();
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ class instance_shadow_labyrinth : public InstanceMapScript
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnUnitDeath(Unit* unit)
|
void OnUnitDeath(Unit* unit) override
|
||||||
{
|
{
|
||||||
Creature* creature = unit->ToCreature();
|
Creature* creature = unit->ToCreature();
|
||||||
if (!creature)
|
if (!creature)
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ public:
|
|||||||
instance->SetBossState(DATA_MAULGAR, DONE);
|
instance->SetBossState(DATA_MAULGAR, DONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DoAction(int32 actionId)
|
void DoAction(int32 actionId) override
|
||||||
{
|
{
|
||||||
if (actionId == ACTION_ADD_DEATH)
|
if (actionId == ACTION_ADD_DEATH)
|
||||||
Talk(SAY_OGRE_DEATH);
|
Talk(SAY_OGRE_DEATH);
|
||||||
|
|||||||
+1
-1
@@ -416,7 +416,7 @@ class npc_omrogg_heads : public CreatureScript
|
|||||||
|
|
||||||
void EnterCombat(Unit* /*who*/) override { }
|
void EnterCombat(Unit* /*who*/) override { }
|
||||||
|
|
||||||
void SetData(uint32 data, uint32 value)
|
void SetData(uint32 data, uint32 value) override
|
||||||
{
|
{
|
||||||
if (data == SETDATA_DATA && value == SETDATA_YELL)
|
if (data == SETDATA_DATA && value == SETDATA_YELL)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -316,10 +316,10 @@ class boss_high_astromancer_solarian : public CreatureScript
|
|||||||
Portals[i][2] = PORTAL_Z;
|
Portals[i][2] = PORTAL_Z;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((abs(Portals[2][0] - Portals[1][0]) < 7) && (abs(Portals[2][1] - Portals[1][1]) < 7))
|
if ((std::abs(Portals[2][0] - Portals[1][0]) < 7) && (std::abs(Portals[2][1] - Portals[1][1]) < 7))
|
||||||
{
|
{
|
||||||
int i=1;
|
int i=1;
|
||||||
if (abs(CENTER_X + 26.0f - Portals[2][0]) < 7)
|
if (std::abs(CENTER_X + 26.0f - Portals[2][0]) < 7)
|
||||||
i = -1;
|
i = -1;
|
||||||
Portals[2][0] = Portals[2][0]+7*i;
|
Portals[2][0] = Portals[2][0]+7*i;
|
||||||
Portals[2][1] = Portal_Y(Portals[2][0], LARGE_PORTAL_RADIUS);
|
Portals[2][1] = Portal_Y(Portals[2][0], LARGE_PORTAL_RADIUS);
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ class instance_mechanar : public InstanceMapScript
|
|||||||
LoadDoorData(doorData);
|
LoadDoorData(doorData);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnGameObjectCreate(GameObject* gameObject)
|
void OnGameObjectCreate(GameObject* gameObject) override
|
||||||
{
|
{
|
||||||
switch (gameObject->GetEntry())
|
switch (gameObject->GetEntry())
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -289,7 +289,7 @@ public:
|
|||||||
summoned->AI()->AttackStart(me);
|
summoned->AI()->AttackStart(me);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sQuestAccept(Player* player, Quest const* quest)
|
void sQuestAccept(Player* player, Quest const* quest) override
|
||||||
{
|
{
|
||||||
if (quest->GetQuestId() == QUEST_ROAD_TO_FALCON_WATCH)
|
if (quest->GetQuestId() == QUEST_ROAD_TO_FALCON_WATCH)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -790,7 +790,7 @@ class spell_mage_living_bomb : public SpellScriptLoader
|
|||||||
{
|
{
|
||||||
PrepareAuraScript(spell_mage_living_bomb_AuraScript);
|
PrepareAuraScript(spell_mage_living_bomb_AuraScript);
|
||||||
|
|
||||||
bool Validate(SpellInfo const* spellInfo)
|
bool Validate(SpellInfo const* spellInfo) override
|
||||||
{
|
{
|
||||||
if (!sSpellMgr->GetSpellInfo(uint32(spellInfo->GetEffect(EFFECT_1)->CalcValue())))
|
if (!sSpellMgr->GetSpellInfo(uint32(spellInfo->GetEffect(EFFECT_1)->CalcValue())))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -1112,7 +1112,7 @@ class spell_pal_templar_s_verdict : public SpellScriptLoader
|
|||||||
{
|
{
|
||||||
PrepareSpellScript(spell_pal_templar_s_verdict_SpellScript);
|
PrepareSpellScript(spell_pal_templar_s_verdict_SpellScript);
|
||||||
|
|
||||||
bool Validate (SpellInfo const* /*spellEntry*/)
|
bool Validate (SpellInfo const* /*spellEntry*/) override
|
||||||
{
|
{
|
||||||
if (!sSpellMgr->GetSpellInfo(SPELL_PALADIN_DIVINE_PURPOSE_PROC))
|
if (!sSpellMgr->GetSpellInfo(SPELL_PALADIN_DIVINE_PURPOSE_PROC))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -47,12 +47,12 @@ class ObjectRegistry
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Inserts a registry item
|
/// Inserts a registry item
|
||||||
bool InsertItem(T *obj, Key key, bool override = false)
|
bool InsertItem(T *obj, Key key, bool _override = false)
|
||||||
{
|
{
|
||||||
typename RegistryMapType::iterator iter = i_registeredObjects.find(key);
|
typename RegistryMapType::iterator iter = i_registeredObjects.find(key);
|
||||||
if ( iter != i_registeredObjects.end() )
|
if ( iter != i_registeredObjects.end() )
|
||||||
{
|
{
|
||||||
if ( !override )
|
if ( !_override )
|
||||||
return false;
|
return false;
|
||||||
delete iter->second;
|
delete iter->second;
|
||||||
i_registeredObjects.erase(iter);
|
i_registeredObjects.erase(iter);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
||||||
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
||||||
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
||||||
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
||||||
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
||||||
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
||||||
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
||||||
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
||||||
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
||||||
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
||||||
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
||||||
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
* Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
|
||||||
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ include_directories(
|
|||||||
${CMAKE_SOURCE_DIR}/src/server/collision
|
${CMAKE_SOURCE_DIR}/src/server/collision
|
||||||
${CMAKE_SOURCE_DIR}/src/server/collision/Maps
|
${CMAKE_SOURCE_DIR}/src/server/collision/Maps
|
||||||
${CMAKE_SOURCE_DIR}/src/server/collision/Models
|
${CMAKE_SOURCE_DIR}/src/server/collision/Models
|
||||||
${ACE_INCLUDE_DIR}
|
|
||||||
${ZLIB_INCLUDE_DIR}
|
${ZLIB_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user