Skip to content

Commit

Permalink
refactor(Scripts/EasternKingdoms): remove unused imports (azerothcore…
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoBorzi authored Jul 23, 2024
1 parent e592fdd commit e8bd391
Show file tree
Hide file tree
Showing 21 changed files with 22 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include "GameObject.h"
#include "GameObjectAI.h"
#include "GameObjectScript.h"
#include "InstanceMapScript.h"
#include "InstanceScript.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include "GameObject.h"
#include "GameObjectAI.h"
#include "GameObjectScript.h"
#include "InstanceMapScript.h"
#include "InstanceScript.h"
#include "Map.h"
#include "Player.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/

#include "CreatureScript.h"
#include "PassiveAI.h"
#include "ScriptedCreature.h"
#include "SpellInfo.h"
#include "karazhan.h"
Expand Down
1 change: 0 additions & 1 deletion src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "SpellAuraEffects.h"
#include "SpellAuras.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
/* ScriptData
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@
*/

#include "CreatureScript.h"
#include "Opcodes.h"
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "magisters_terrace.h"
#include "MapReference.h"
#include "Player.h"
#include "SpellScript.h"

enum Says
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
#ifndef DEF_MAGISTERS_TERRACE_H
#define DEF_MAGISTERS_TERRACE_H

#include "CreatureAI.h"
#include "CreatureAIImpl.h"
#include "Player.h"
#include "SpellScript.h"

#define DataHeader "MT"
#define MTScriptName "instance_magisters_terrace"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#include "SpellScriptLoader.h"
#include "TemporarySummon.h"
#include "shadowfang_keep.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"

enum Spells
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
#define DEF_SHADOWFANG_H

#include "CreatureAIImpl.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"

#define DataHeader "SK"
#define ShadowfangKeepScriptName "instance_shadowfang_keep"
Expand Down
2 changes: 0 additions & 2 deletions src/server/scripts/EasternKingdoms/Stratholme/stratholme.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
#ifndef DEF_STRATHOLME_H
#define DEF_STRATHOLME_H

#include "SpellAuras.h"

#define DataHeader "STR"
#define StratholmeScriptName "instance_stratholme"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@

#include "AreaTriggerScript.h"
#include "CreatureScript.h"
#include "MapReference.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "WorldSession.h"
#include "sunwell_plateau.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@

#include "AreaTriggerScript.h"
#include "CreatureScript.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "SpellInfo.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "sunwell_plateau.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
#include "CellImpl.h"
#include "CreatureScript.h"
#include "GridNotifiers.h"
#include "PassiveAI.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "sunwell_plateau.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include "CreatureScript.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "WorldSession.h"
#include "sunwell_plateau.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
#include "CreatureScript.h"
#include "CreatureTextMgr.h"
#include "MoveSplineInit.h"
#include "PassiveAI.h"
#include "ScriptedCreature.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "sunwell_plateau.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
*/

#include "CreatureScript.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "SpellInfo.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "sunwell_plateau.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "InstanceMapScript.h"
#include "InstanceScript.h"
#include "Player.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "sunwell_plateau.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
#define SUNWELL_PLATEAU_H

#include "CreatureAIImpl.h"
#include "PassiveAI.h"
#include "Player.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"

#define DataHeader "SWP"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ SDComment: Missing timer for Call Lightning and Sound ID's
EndScriptData */

#include "Cell.h"
#include "CellImpl.h"
#include "CreatureScript.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

#include "CreatureScript.h"
#include "ScriptedCreature.h"
#include "Spell.h"
#include "zulgurub.h"

/*
Expand Down
1 change: 0 additions & 1 deletion src/server/scripts/EasternKingdoms/zone_stormwind_city.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ EndContentData */
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"

/*######
## npc_lord_gregor_lescovar
Expand Down
1 change: 0 additions & 1 deletion src/server/scripts/EasternKingdoms/zone_undercity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ EndContentData */
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "SpellAuraEffects.h"
#include "SpellAuras.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"

Expand Down

0 comments on commit e8bd391

Please sign in to comment.