Core/Misc: Remove obsolete C++11 backward compatibility macros

OVERRIDE, FINAL, DELETE_MEMBER
This commit is contained in:
Dehravor committed 2014-04-29 16:35:11 +02:00
1 parent 414554aefa
commit 24ae6a6802
639 files changed
+9594 -9604

No files matched your search

@@ -60,9 +60,9 @@ public:
{
npc_oox09hlAI(Creature* creature) : npc_escortAI(creature) { }
void Reset() OVERRIDE { }
void Reset() override { }
void EnterCombat(Unit* who) OVERRIDE
void EnterCombat(Unit* who) override
{
if (who->GetEntry() == NPC_MARAUDING_OWL || who->GetEntry() == NPC_VILE_AMBUSHER)
return;
@@ -70,7 +70,7 @@ public:
Talk(SAY_OOX_AGGRO);
}
void JustSummoned(Creature* summoned) OVERRIDE
void JustSummoned(Creature* summoned) override
{
summoned->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ());
}
@@ -86,7 +86,7 @@ public:
}
}
void WaypointReached(uint32 waypointId) OVERRIDE
void WaypointReached(uint32 waypointId) override
{
switch (waypointId)
{
@@ -104,7 +104,7 @@ public:
}
}
void WaypointStart(uint32 pointId) OVERRIDE
void WaypointStart(uint32 pointId) override
{
switch (pointId)
{
@@ -128,7 +128,7 @@ public:
}
};
CreatureAI* GetAI(Creature* creature) const OVERRIDE
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_oox09hlAI(creature);
}
@@ -182,13 +182,13 @@ public:
spawnId = 0;
}
void Reset() OVERRIDE
void Reset() override
{
postEventCount = 0;
postEventTimer = 3000;
}
void JustRespawned() OVERRIDE
void JustRespawned() override
{
_IsByOutrunner = false;
spawnId = 0;
@@ -196,7 +196,7 @@ public:
npc_escortAI::JustRespawned();
}
void EnterCombat(Unit* who) OVERRIDE
void EnterCombat(Unit* who) override
{
if (HasEscortState(STATE_ESCORT_ESCORTING))
{
@@ -230,7 +230,7 @@ public:
}
}
void JustSummoned(Creature* summoned) OVERRIDE
void JustSummoned(Creature* summoned) override
{
summoned->SetWalk(false);
summoned->GetMotionMaster()->MovePoint(0, AmbushMoveTo[spawnId].posX, AmbushMoveTo[spawnId].posY, AmbushMoveTo[spawnId].posZ);
@@ -247,7 +247,7 @@ public:
}
}
void WaypointReached(uint32 waypointId) OVERRIDE
void WaypointReached(uint32 waypointId) override
{
Player* player = GetPlayerForEscort();
if (!player)
@@ -273,7 +273,7 @@ public:
}
}
void UpdateEscortAI(const uint32 diff) OVERRIDE
void UpdateEscortAI(const uint32 diff) override
{
//Check if we have a current target
if (!UpdateVictim())
@@ -319,7 +319,7 @@ public:
bool _IsByOutrunner;
};
CreatureAI* GetAI(Creature* creature) const OVERRIDE
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_rinjiAI(creature);
}