chore(Core/Misc): sort includes (#17776)

* chore(Cleanup): sort includes

* fix build

* fix build again
This commit is contained in:
Winfidonarleyan
2023-11-18 23:51:26 +07:00
committed by GitHub
parent 18d3940145
commit e90d7a2f92
101 changed files with 131 additions and 127 deletions

View File

@@ -17,8 +17,8 @@
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "blackrock_spire.h"
#include "SpellScript.h"
#include "blackrock_spire.h"
enum Spells
{

View File

@@ -20,8 +20,8 @@
#include "InstanceScript.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "blackwing_lair.h"
#include "SpellScript.h"
#include "blackwing_lair.h"
enum Say
{

View File

@@ -23,9 +23,9 @@
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellScript.h"
#include "TaskScheduler.h"
#include "TemporarySummon.h"
#include "blackwing_lair.h"
#include "TaskScheduler.h"
enum Events
{

View File

@@ -15,7 +15,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "karazhan.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "ScriptMgr.h"
@@ -23,11 +22,12 @@
#include "ScriptedEscortAI.h"
#include "ScriptedFollowerAI.h"
#include "ScriptedGossip.h"
#include "SpellInfo.h"
#include "SpellAuras.h"
#include "SpellInfo.h"
#include "SpellScript.h"
#include "Unit.h"
#include "World.h"
#include "karazhan.h"
#include <array>

View File

@@ -18,9 +18,9 @@
#include "Player.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "karazhan.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"
#include "karazhan.h"
enum Emotes
{

View File

@@ -22,8 +22,8 @@
#include "SpellAuras.h"
#include "SpellInfo.h"
#include "SpellScript.h"
#include "karazhan.h"
#include "TaskScheduler.h"
#include "karazhan.h"
enum Texts
{

View File

@@ -24,10 +24,10 @@ EndScriptData */
#include "Player.h"
#include "ScriptMgr.h"
#include "TaskScheduler.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellInfo.h"
#include "TaskScheduler.h"
#include "karazhan.h"
/***********************************/

View File

@@ -34,8 +34,8 @@ EndContentData */
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "SpellAuras.h"
#include "SpellAuraEffects.h"
#include "SpellAuras.h"
#include "SpellScript.h"
enum Spells

View File

@@ -16,8 +16,8 @@
*/
#include "InstanceScript.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "magisters_terrace.h"
ObjectData const creatureData[] =

View File

@@ -17,6 +17,7 @@
#include "CombatAI.h"
#include "CreatureTextMgr.h"
#include "MoveSplineInit.h"
#include "ObjectMgr.h"
#include "PassiveAI.h"
#include "Player.h"
@@ -27,7 +28,6 @@
#include "SpellInfo.h"
#include "SpellScript.h"
#include "Vehicle.h"
#include "MoveSplineInit.h"
/*######
## npc_eye_of_acherus

View File

@@ -15,17 +15,17 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "GridNotifiersImpl.h"
#include "Group.h"
#include "LFGMgr.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "LFGMgr.h"
#include "Player.h"
#include "Group.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
#include "shadowfang_keep.h"
#include "GridNotifiersImpl.h"
#include "SpellScript.h"
#include "TaskScheduler.h"
#include "shadowfang_keep.h"
enum ApothecarySpells
{

View File

@@ -18,9 +18,9 @@
#ifndef DEF_SHADOWFANG_H
#define DEF_SHADOWFANG_H
#include "CreatureAIImpl.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"
#include "CreatureAIImpl.h"
#define DataHeader "SK"
#define ShadowfangKeepScriptName "instance_shadowfang_keep"

View File

@@ -21,8 +21,8 @@
#include "Player.h"
#include "ScriptMgr.h"
#include "SpellScript.h"
#include "sunken_temple.h"
#include "Unit.h"
#include "sunken_temple.h"
class instance_sunken_temple : public InstanceMapScript
{

View File

@@ -15,14 +15,14 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "Player.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "Spell.h"
#include "SpellAuras.h"
#include "SpellScript.h"
#include "zulgurub.h"
#include "Player.h"
#include "TaskScheduler.h"
#include "zulgurub.h"
enum Says
{

View File

@@ -16,9 +16,9 @@
*/
#include "GameObjectAI.h"
#include "SpellScript.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "TaskScheduler.h"
#include "zulgurub.h"

View File

@@ -15,9 +15,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "SharedDefines.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SharedDefines.h"
#include "TaskScheduler.h"
#include "zulgurub.h"