refactor(Core): sort #includes alphabetically (#4579)

This commit is contained in:
Kitzunu
2021-02-24 22:34:42 +01:00
committed by GitHub
parent 51342ef9b5
commit dbc0ff6554
839 changed files with 3120 additions and 3157 deletions

View File

@@ -4,16 +4,15 @@
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*/
#include "ScriptMgr.h"
#include "BattlegroundAB.h"
#include "BattlegroundWS.h"
#include "BattlegroundIC.h"
#include "BattlegroundAV.h"
#include "BattlegroundIC.h"
#include "BattlegroundSA.h"
#include "Vehicle.h"
#include "Player.h"
#include "BattlegroundWS.h"
#include "Creature.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "Vehicle.h"
class achievement_resilient_victory : public AchievementCriteriaScript
{

View File

@@ -3,10 +3,10 @@
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
*/
#include "ScriptMgr.h"
#include "Channel.h"
#include "Guild.h"
#include "Group.h"
#include "Guild.h"
#include "ScriptMgr.h"
enum IPLoggingTypes
{

View File

@@ -23,9 +23,9 @@ at_brewfest
at_area_52_entrance
EndContentData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "SpellMgr.h"
// Ours

View File

@@ -4,14 +4,14 @@
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*/
#include "GridNotifiers.h"
#include "ObjectMgr.h"
#include "ScriptMgr.h"
#include "PassiveAI.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "ScriptMgr.h"
#include "Spell.h"
#include "SpellAuraEffects.h"
#include "PassiveAI.h"
#include "GridNotifiers.h"
#include "SpellScript.h"
//
// Emerald Dragon NPCs and IDs (kept here for reference)

View File

@@ -4,8 +4,8 @@
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*/
#include "ScriptMgr.h"
#include "Player.h"
#include "ScriptMgr.h"
enum Creationabilities
{

View File

@@ -4,10 +4,10 @@
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*/
#include "ScriptMgr.h"
#include "Channel.h"
#include "Guild.h"
#include "Group.h"
#include "Guild.h"
#include "ScriptMgr.h"
class ChatLogScript : public PlayerScript
{

View File

@@ -30,15 +30,15 @@ go_hive_pod
go_veil_skith_cage
EndContentData */
#include "ScriptMgr.h"
#include "CellImpl.h"
#include "GameObjectAI.h"
#include "GridNotifiersImpl.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "GameObjectAI.h"
#include "ScriptMgr.h"
#include "Spell.h"
#include "Player.h"
#include "WorldSession.h"
#include "GridNotifiersImpl.h"
#include "CellImpl.h"
// Ours
/*######

View File

@@ -17,10 +17,10 @@ guard_shattrath_aldor
guard_shattrath_scryer
EndContentData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "GuardAI.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "SpellInfo.h"
enum GuardShattrath

View File

@@ -18,10 +18,10 @@ item_gor_dreks_ointment(i30175) Protecting Our Own(q10488)
item_only_for_flight Items which should only useable while flying
EndContentData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "Spell.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "Spell.h"
/*#####
# item_only_for_flight

View File

@@ -11,9 +11,9 @@ SDComment: Should be replaced with core based AI
SDCategory: Creatures
EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "PassiveAI.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#define GENERIC_CREATURE_COOLDOWN 5000

View File

@@ -1,9 +1,9 @@
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "GameEventMgr.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "ScriptMgr.h"
#include "WorldSession.h"
enum eTrickOrTreatSpells

View File

@@ -11,10 +11,10 @@ SDComment: Provides learn/unlearn/relearn-options for professions. Not supported
SDCategory: NPCs
EndScriptData */
#include "ScriptMgr.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "SpellInfo.h"
#include "WorldSession.h"

View File

@@ -12,10 +12,10 @@ SDCategory: NPCs
EndScriptData
*/
#include "ScriptMgr.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "WorldSession.h"
#define GOSSIP_SUSURRUS "I am ready."

View File

@@ -26,29 +26,29 @@ npc_locksmith 75% list of keys needs to be confirmed
npc_firework 100% NPC's summoned by rockets and rocket clusters, for making them cast visual
EndContentData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
#include "ObjectMgr.h"
#include "ScriptMgr.h"
#include "World.h"
#include "Cell.h"
#include "CellImpl.h"
#include "Chat.h"
#include "CombatAI.h"
#include "CreatureTextMgr.h"
#include "PassiveAI.h"
#include "DBCStructure.h"
#include "GameEventMgr.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "Cell.h"
#include "CellImpl.h"
#include "SpellAuras.h"
#include "CombatAI.h"
#include "Group.h"
#include "ObjectMgr.h"
#include "PassiveAI.h"
#include "PassiveAI.h"
#include "Pet.h"
#include "Chat.h"
#include "Group.h"
#include "WaypointManager.h"
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "ScriptMgr.h"
#include "ScriptMgr.h"
#include "SmartAI.h"
#include "DBCStructure.h"
#include "SpellAuras.h"
#include "WaypointManager.h"
#include "World.h"
enum elderClearwater
{