Skip to content

Commit

Permalink
refactor(Scripts/Outland): remove unused imports (azerothcore#19461)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoBorzi authored Jul 21, 2024
1 parent 724d33b commit 393d9a5
Show file tree
Hide file tree
Showing 45 changed files with 61 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "SpellInfo.h"
#include "SpellScriptLoader.h"
#include "shadow_labyrinth.h"
#include "SpellScript.h"

enum Spells
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "InstanceScript.h"
#include "SpellScriptLoader.h"
#include "shadow_labyrinth.h"
#include "SpellScript.h"

DoorData const doorData[] =
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
#ifndef DEF_SHADOW_LABYRINTH_H
#define DEF_SHADOW_LABYRINTH_H

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

#define ShadowLabyrinthScriptName "instance_shadow_labyrinth"

Expand Down
6 changes: 0 additions & 6 deletions src/server/scripts/Outland/BlackTemple/black_temple.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
#define BLACK_TEMPLE_H_

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

#define DataHeader "BT"

Expand Down
1 change: 1 addition & 0 deletions src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "black_temple.h"
#include "SpellScript.h"

enum Says
{
Expand Down
4 changes: 4 additions & 0 deletions src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
#include "ScriptedEscortAI.h"
#include "SpellScriptLoader.h"
#include "black_temple.h"
#include "Player.h"
#include "ScriptedGossip.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"

enum Says
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "black_temple.h"
#include "GridNotifiers.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"

enum Says
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
#include "Spell.h"
#include "SpellScriptLoader.h"
#include "black_temple.h"
#include "Player.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"

enum Says
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "black_temple.h"
#include "PassiveAI.h"
#include "ScriptedGossip.h"
#include "SpellAuras.h"
#include "SpellInfo.h"
#include "SpellScript.h"

enum Says
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "black_temple.h"
#include "PassiveAI.h"
#include "Player.h"
#include "SpellAuraEffects.h"
#include "SpellAuras.h"
#include "SpellScript.h"

enum Says
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "black_temple.h"
#include "SpellScript.h"

enum Yells
{
Expand Down
3 changes: 3 additions & 0 deletions src/server/scripts/Outland/BlackTemple/illidari_council.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "black_temple.h"
#include "Player.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"

enum Says
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
#include "InstanceScript.h"
#include "SpellScriptLoader.h"
#include "black_temple.h"
#include "SpellAuraEffects.h"
#include "SpellAuras.h"
#include "SpellScript.h"

DoorData const doorData[] =
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#include "SpellScriptLoader.h"
#include "TaskScheduler.h"
#include "serpent_shrine.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"

enum Talk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "serpent_shrine.h"
#include "SpellScript.h"

enum Talk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "SpellScriptLoader.h"
#include "WorldSession.h"
#include "serpent_shrine.h"
#include "SpellScript.h"

enum Says
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@

#include "CreatureGroups.h"
#include "CreatureScript.h"
#include "GridNotifiers.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "TaskScheduler.h"
#include "serpent_shrine.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"

enum Talk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@

#include "CreatureScript.h"
#include "GameObjectScript.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "serpent_shrine.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"

enum Spells
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "serpent_shrine.h"
#include "SpellScript.h"

enum Yells
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include "SpellScriptLoader.h"
#include "TemporarySummon.h"
#include "serpent_shrine.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"

DoorData const doorData[] =
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@
#ifndef DEF_SERPENT_SHRINE_H
#define DEF_SERPENT_SHRINE_H

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

#define DataHeader "SS"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include "Map.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#define DEF_STEAM_VAULT_H

#include "CreatureAIImpl.h"
#include "PassiveAI.h"

#define DataHeaders "SV"

Expand Down
1 change: 1 addition & 0 deletions src/server/scripts/Outland/GruulsLair/boss_gruul.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "gruuls_lair.h"
#include "SpellAuraEffects.h"

enum Yells
{
Expand Down
2 changes: 0 additions & 2 deletions src/server/scripts/Outland/GruulsLair/gruuls_lair.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
#ifndef GRUULS_LAIR_H_
#define GRUULS_LAIR_H_

#include "CreatureAI.h"
#include "CreatureAIImpl.h"
#include "SpellAuraEffects.h"

#define DataHeader "GL"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "SpellScriptLoader.h"
#include "TaskScheduler.h"
#include "hellfire_ramparts.h"
#include "SpellScript.h"

enum Says
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "hellfire_ramparts.h"
#include "SpellScript.h"

enum Says
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#define DEF_RAMPARTS_H

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

#define DataHeader "HR"
#define HellfireRampartsScriptName "instance_hellfire_ramparts"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "SpellScriptLoader.h"
#include "TaskScheduler.h"
#include "magtheridons_lair.h"
#include "SpellScript.h"

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

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

#define DataHeader "ML"

#define MagtheridonsLairScriptName "instance_magtheridons_lair"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "shattered_halls.h"
#include "SpellScript.h"

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

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

#define ShatteredHallsLairScriptName "instance_shattered_halls"

Expand Down
3 changes: 3 additions & 0 deletions src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
#include "the_eye.h"
#include <cmath>

#include "Player.h"
#include "SpellScript.h"

enum Spells
{
SPELL_BERSERK = 45078,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

#include "CreatureScript.h"
#include "ScriptedCreature.h"
#include "SpellAuras.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "the_eye.h"

Expand Down
3 changes: 2 additions & 1 deletion src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
*/

#include "CreatureScript.h"
#include "Opcodes.h"
#include "GridNotifiers.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "WorldPacket.h"
#include "the_eye.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include "InstanceMapScript.h"
#include "InstanceScript.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "the_eye.h"

Expand Down
4 changes: 0 additions & 4 deletions src/server/scripts/Outland/TempestKeep/Eye/the_eye.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
#define DEF_THE_EYE_H

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

#define DataHeader "TE"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "mechanar.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"

enum Says
{
Expand Down
4 changes: 0 additions & 4 deletions src/server/scripts/Outland/TempestKeep/Mechanar/mechanar.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@
#ifndef DEF_MECHANAR_H
#define DEF_MECHANAR_H

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

#define DataHeader "MR"

Expand Down
2 changes: 2 additions & 0 deletions src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@

#include "arcatraz.h"
#include "CreatureScript.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"

enum MillhouseSays
Expand Down
3 changes: 0 additions & 3 deletions src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
#ifndef ARCATRAZ_H
#define ARCATRAZ_H

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

#define DataHeader "AZ"

Expand Down
Loading

0 comments on commit 393d9a5

Please sign in to comment.