feat(CI/Codestyle): added codestyle check (#3668)

This commit is contained in:
Kargatum
2021-01-09 17:59:50 +07:00
committed by GitHub
parent 57aa46244d
commit ea93a5c1a1
400 changed files with 238 additions and 748 deletions

View File

@@ -1,4 +1,4 @@
# Copyright (C)
# Copyright (C)
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without

View File

@@ -85,4 +85,3 @@ enum GameobjectIds
};
#endif

View File

@@ -195,4 +195,3 @@ private:
//std::list<uint64> CreatureList;
};
#endif

View File

@@ -135,7 +135,6 @@ enum Spells
SPELL_ARTHAS_CRUSADER_STRIKE = 50773,
};
#define GOSSIP_ITEM_ARTHAS_1 "Yes, my Prince. We're ready."
#define GOSSIP_ITEM_ARTHAS_2 "We're only doing what is best for Loarderon your Highness."
#define GOSSIP_ITEM_ARTHAS_3 "Lead the way Prince Arthas."

View File

@@ -6,7 +6,6 @@
#include "ScriptedCreature.h"
#include "old_hillsbrad.h"
enum EpochHunter
{
SAY_AGGRO = 3,

View File

@@ -76,4 +76,3 @@ enum MiscIds
};
#endif

View File

@@ -10,7 +10,6 @@
#include "SpellInfo.h"
#include "ScriptedCreature.h"
const Position PortalLocation[4] =
{
{-2041.06f, 7042.08f, 29.99f, 1.30f},

View File

@@ -247,8 +247,6 @@ public:
}
break;
}
}
@@ -267,7 +265,6 @@ public:
};
};
enum timeRift
{
EVENT_SUMMON_AT_RIFT = 1,

View File

@@ -373,7 +373,7 @@ public:
me->SendMovementFlagUpdate();
me->GetMotionMaster()->MoveTakeoff(11, OnyxiaMoveData[1].x + 1.0f, OnyxiaMoveData[1].y, OnyxiaMoveData[1].z, 12.0f);
bManyWhelpsAvailable = true;
events.RescheduleEvent(EVENT_END_MANY_WHELPS_TIME, 10000);
}
break;
@@ -384,7 +384,7 @@ public:
{
me->SetSpeed(MOVE_RUN, 2.95f, false);
me->GetMotionMaster()->MovePoint(5, OnyxiaMoveData[5].x, OnyxiaMoveData[5].y, OnyxiaMoveData[5].z);
whelpSpam = true;
events.ScheduleEvent(EVENT_WHELP_SPAM, 90000);
events.ScheduleEvent(EVENT_SUMMON_LAIR_GUARD, 30000);
@@ -417,7 +417,7 @@ public:
me->SetFacingToObject(v);
me->CastSpell(v, SPELL_FIREBALL, false);
}
events.ScheduleEvent(EVENT_SPELL_FIREBALL_SECOND, 4000);
}
break;
@@ -459,7 +459,7 @@ public:
me->SetFacingTo(OnyxiaMoveData[CurrentWP].o);
me->MonsterTextEmote("Onyxia takes in a deep breath...", 0, true);
me->CastSpell(me, OnyxiaMoveData[CurrentWP].spellId, false);
events.ScheduleEvent(EVENT_SPELL_BREATH, 8250);
}
break;

View File

@@ -51,8 +51,6 @@ enum Misc
TELEPORTTIME = 30000
};
struct boss_twinemperorsAI : public ScriptedAI
{
boss_twinemperorsAI(Creature* creature): ScriptedAI(creature)

View File

@@ -48,4 +48,3 @@ enum Creatures
NPC_VEKNILASH = 15275
};
#endif

View File

@@ -51,7 +51,7 @@ public:
switch (urand(0, 2))
{
case 0:
if (Player* player = killer->ToPlayer())
if (Player* player = killer->ToPlayer())
{
player->KilledMonsterCredit(NPC_EXPEDITION_RESEARCHER, 0);
}
@@ -63,7 +63,7 @@ public:
break;
}
if (spawnCreatureID)
if (spawnCreatureID)
{
me->SummonCreature(spawnCreatureID, 0.0f, 0.0f, 0.0f, me->GetOrientation(), TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 60000);
}

View File

@@ -149,7 +149,6 @@ public:
};
};
// Theirs
/*####
# npc_kerlonian

View File

@@ -412,7 +412,6 @@ public:
};
};
// Theirs
enum DyingKodo
{

View File

@@ -210,7 +210,6 @@ public:
};
};
// Theirs
/*######
## npc_rivern_frostwind