Core/Misc: Reduce header dependencies - Step III

This commit is contained in:
Spp committed 2012-11-20 15:03:56 +01:00
1 parent 70d44f97dc
commit 7bef4ce401
142 files changed
+268 -115

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ EndScriptData */
#include "Language.h"
#include "World.h"
#include "Player.h"
#include "Opcodes.h"
class gm_commandscript : public CommandScript
{
@@ -30,6 +30,7 @@ EndScriptData */
#include "Chat.h"
#include "Language.h"
#include "Player.h"
#include "Opcodes.h"
class gobject_commandscript : public CommandScript
{
@@ -30,6 +30,7 @@ EndScriptData */
#include "Player.h"
#include "ReputationMgr.h"
#include "ScriptMgr.h"
#include "SpellInfo.h"
class lookup_commandscript : public CommandScript
{
+1
View File
@@ -26,6 +26,7 @@
#include "Language.h"
#include "MovementGenerator.h"
#include "ObjectAccessor.h"
#include "Opcodes.h"
#include "SpellAuras.h"
#include "TargetedMovementGenerator.h"
#include "WeatherMgr.h"
@@ -24,11 +24,13 @@ EndScriptData */
#include "Chat.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Pet.h"
#include "Player.h"
#include "ReputationMgr.h"
#include "ScriptMgr.h"
class modify_commandscript : public CommandScript
{
public:
@@ -26,6 +26,7 @@ EndScriptData */
#include "Chat.h"
#include "Language.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Player.h"
#include "TicketMgr.h"
#include "ScriptMgr.h"
@@ -21,6 +21,7 @@
#include "ScriptedGossip.h"
#include "blackrock_depths.h"
#include "Player.h"
#include "WorldSession.h"
//go_shadowforge_brazier
class go_shadowforge_brazier : public GameObjectScript
@@ -28,6 +28,7 @@ EndScriptData */
#include "deadmines.h"
#include "Spell.h"
#include "Player.h"
#include "WorldSession.h"
/*#####
# item_Defias_Gunpowder
@@ -27,6 +27,8 @@ EndScriptData */
#include "InstanceScript.h"
#include "deadmines.h"
#include "TemporarySummon.h"
#include "WorldPacket.h"
#include "Opcodes.h"
enum Sounds
{
@@ -25,6 +25,7 @@ EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellInfo.h"
#define SAY_MIDNIGHT_KILL -1532000
#define SAY_APPEAR1 -1532001
@@ -26,6 +26,7 @@ EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "karazhan.h"
#include "SpellInfo.h"
#define SAY_AGGRO -1532091
#define SAY_AXE_TOSS1 -1532092
@@ -27,6 +27,7 @@ EndScriptData */
#include "ScriptedCreature.h"
#include "karazhan.h"
#include "GameObject.h"
#include "SpellInfo.h"
#define SAY_AGGRO1 -1532073
#define SAY_AGGRO2 -1532074
@@ -28,6 +28,7 @@ EndScriptData */
#include "ScriptedGossip.h"
#include "karazhan.h"
#include "Player.h"
#include "SpellInfo.h"
/***********************************/
/*** OPERA WIZARD OF OZ EVENT *****/
@@ -27,6 +27,7 @@ EndScriptData */
#include "ScriptedCreature.h"
#include "magisters_terrace.h"
#include "WorldPacket.h"
#include "Opcodes.h"
#define SAY_AGGRO -1585023 //This yell should be done when the room is cleared. For now, set it as a movelineofsight yell.
#define SAY_PHOENIX -1585024
@@ -31,6 +31,7 @@ EndContentData */
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "Player.h"
#include "SpellInfo.h"
/*######
## npc_kalecgos
@@ -24,6 +24,7 @@
#include "CombatAI.h"
#include "PassiveAI.h"
#include "Player.h"
#include "SpellInfo.h"
/*######
##Quest 12848
@@ -19,6 +19,7 @@
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "Player.h"
#include "SpellInfo.h"
//How to win friends and influence enemies
// texts signed for creature 28939 but used for 28939, 28940, 28610
@@ -29,6 +29,7 @@ EndScriptData */
#include "scarlet_monastery.h"
#include "LFGMgr.h"
#include "Player.h"
#include "SpellInfo.h"
//this texts are already used by 3975 and 3976
enum Says
@@ -26,6 +26,7 @@ EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "scarlet_monastery.h"
#include "SpellInfo.h"
enum Says
{
@@ -35,6 +35,7 @@ EndContentData */
#include "stratholme.h"
#include "Group.h"
#include "Player.h"
#include "SpellInfo.h"
/*######
## go_gauntlet_gate (this is the _first_ of the gauntlet gates, two exist)
@@ -24,6 +24,7 @@ EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "sunwell_plateau.h"
#include "SpellInfo.h"
enum Quotes
{
@@ -27,6 +27,7 @@ EndScriptData */
#include "ScriptedCreature.h"
#include "sunwell_plateau.h"
#include "Player.h"
#include "WorldSession.h"
enum Yells
{
@@ -25,6 +25,7 @@ SDComment: all sounds, black hole effect triggers to often (46228)
#include "ScriptedCreature.h"
#include "sunwell_plateau.h"
#include "Player.h"
#include "SpellInfo.h"
// Muru & Entropius's spells
enum Spells
@@ -26,7 +26,7 @@ EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "zulaman.h"
//#include "spell.h"
#include "SpellInfo.h"
#define YELL_AGGRO "Get on your knees and bow to da fang and claw!"
#define SOUND_AGGRO 12020
@@ -25,6 +25,7 @@ EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "zulaman.h"
#include "SpellInfo.h"
//Speech
const char* YELL_TRANSFORM_TO_LYNX = "Let me introduce to you my new bruddahs: fang and claw!";
@@ -27,6 +27,7 @@ EndScriptData */
#include "InstanceScript.h"
#include "zulaman.h"
#include "Player.h"
#include "TemporarySummon.h"
#define MAX_ENCOUNTER 6
#define RAND_VENDOR 2
@@ -32,6 +32,7 @@ EndContentData */
#include "ScriptedGossip.h"
#include "zulaman.h"
#include "Player.h"
#include "SpellInfo.h"
/*######
## npc_forest_frog
@@ -34,6 +34,7 @@ EndContentData */
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "Player.h"
#include "WorldSession.h"
class mobs_ghoul_flayer : public CreatureScript
{
@@ -35,6 +35,7 @@ EndContentData */
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
#include "Player.h"
#include "WorldSession.h"
/*######
## npc_budd_nedreck
@@ -31,6 +31,8 @@ EndContentData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "Player.h"
#include "Pet.h"
#include "SpellInfo.h"
/*######
## npc_converted_sentry
@@ -30,6 +30,7 @@ EndContentData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "Player.h"
#include "SpellInfo.h"
/*#######
# npc_blood_knight_stillblade
@@ -30,6 +30,7 @@ EndContentData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "Player.h"
#include "SpellInfo.h"
/*######
## mob_yenniku
@@ -35,6 +35,7 @@ EndContentData */
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
#include "Player.h"
#include "WorldSession.h"
/*######
## npcs_dithers_and_arbington
@@ -28,6 +28,8 @@ EndScriptData */
#include "ScriptedCreature.h"
#include "hyjal_trash.h"
#include "Player.h"
#include "WorldPacket.h"
#include "Opcodes.h"
enum Misc
{
@@ -22,6 +22,7 @@
#include "ScriptedEscortAI.h"
#include "PassiveAI.h"
#include "Player.h"
#include "SpellInfo.h"
enum Says
{
@@ -20,6 +20,8 @@
#include "CreatureTextMgr.h"
#include "culling_of_stratholme.h"
#include "Player.h"
#include "TemporarySummon.h"
#include "SpellInfo.h"
#define MAX_ENCOUNTER 5
@@ -34,6 +34,7 @@ EndContentData */
#include "ScriptedGossip.h"
#include "dark_portal.h"
#include "Player.h"
#include "SpellInfo.h"
#define SAY_ENTER -1269020 //where does this belong?
#define SAY_INTRO -1269021
@@ -27,6 +27,8 @@ EndScriptData */
#include "InstanceScript.h"
#include "dark_portal.h"
#include "Player.h"
#include "TemporarySummon.h"
#include "SpellInfo.h"
#define MAX_ENCOUNTER 2
@@ -29,6 +29,7 @@ EndScriptData */
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "onyxias_lair.h"
#include "TemporarySummon.h"
class instance_onyxias_lair : public InstanceMapScript
{
@@ -19,6 +19,7 @@
#include "InstanceScript.h"
#include "razorfen_downs.h"
#include "Player.h"
#include "TemporarySummon.h"
#define MAX_ENCOUNTER 1
@@ -19,6 +19,9 @@
#include "ScriptedCreature.h"
#include "ruins_of_ahnqiraj.h"
#include "Player.h"
#include "SpellInfo.h"
#include "WorldPacket.h"
#include "Opcodes.h"
enum Texts
{
@@ -19,6 +19,7 @@
#include "InstanceScript.h"
#include "zulfarrak.h"
#include "Player.h"
#include "TemporarySummon.h"
#define NPC_GAHZRILLA 7273
#define PATH_ADDS 81553
+2
View File
@@ -34,6 +34,8 @@ EndContentData */
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "Player.h"
#include "SpellInfo.h"
#include "WorldSession.h"
/*######
## mobs_spitelashes
@@ -35,6 +35,7 @@ EndContentData */
#include "ScriptedEscortAI.h"
#include "ScriptedFollowerAI.h"
#include "Player.h"
#include "SpellInfo.h"
/*####
# npc_kerlonian
+1
View File
@@ -35,6 +35,7 @@ EndContentData */
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
#include "Player.h"
#include "SpellInfo.h"
enum DyingKodo
{
@@ -37,6 +37,7 @@ EndContentData */
#include "ScriptedGossip.h"
#include "SpellScript.h"
#include "Player.h"
#include "WorldSession.h"
/*######
## mobs_risen_husk_spirit
+1
View File
@@ -29,6 +29,7 @@ EndScriptData */
#include "ScriptedGossip.h"
#include "SpellScript.h"
#include "Player.h"
#include "WorldSession.h"
/*######
## npc_gregan_brewspewer
@@ -36,6 +36,7 @@ EndContentData */
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "Player.h"
#include "SpellInfo.h"
/*######
## npc_bunthen_plainswind
+1
View File
@@ -33,6 +33,7 @@ EndContentData */
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "Player.h"
#include "SpellInfo.h"
/*######
# npc_skorn_whitecloud
+1
View File
@@ -39,6 +39,7 @@ EndContentData */
#include "ScriptedEscortAI.h"
#include "ScriptedFollowerAI.h"
#include "Player.h"
#include "WorldSession.h"
/*######
## mob_aquementas
@@ -37,6 +37,7 @@ EndContentData */
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
#include "Player.h"
#include "SpellInfo.h"
/*######
## npc_beaten_corpse
@@ -33,6 +33,7 @@ EndContentData */
#include "ScriptedEscortAI.h"
#include "ScriptedFollowerAI.h"
#include "Player.h"
#include "SpellInfo.h"
enum AmeData
{
@@ -31,6 +31,7 @@ EndContentData */
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "Player.h"
#include "WorldSession.h"
/*######
## npc_rivern_frostwind
@@ -23,6 +23,7 @@
#include "ScriptedCreature.h"
#include "ahnkahet.h"
#include "Player.h"
#include "SpellInfo.h"
enum Spells
{
@@ -19,6 +19,8 @@
#include "InstanceScript.h"
#include "ruby_sanctum.h"
#include "Player.h"
#include "TemporarySummon.h"
#include "WorldPacket.h"
DoorData const doorData[] =
{
@@ -20,6 +20,7 @@
#include "InstanceScript.h"
#include "trial_of_the_crusader.h"
#include "Player.h"
#include "TemporarySummon.h"
class instance_trial_of_the_crusader : public InstanceMapScript
{
@@ -19,6 +19,7 @@
#include "ScriptedCreature.h"
#include "forge_of_souls.h"
#include "Player.h"
#include "SpellInfo.h"
/*
* TODO:
@@ -22,6 +22,7 @@
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "gundrak.h"
#include "SpellInfo.h"
enum Spells
{
@@ -19,6 +19,7 @@
#include "InstanceScript.h"
#include "gundrak.h"
#include "Player.h"
#include "TemporarySummon.h"
#define MAX_ENCOUNTER 5
@@ -24,6 +24,8 @@
#include "AccountMgr.h"
#include "icecrown_citadel.h"
#include "Player.h"
#include "WorldPacket.h"
#include "WorldSession.h"
enum EventIds
{
@@ -18,6 +18,7 @@
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "naxxramas.h"
#include "SpellInfo.h"
enum Yells
{
@@ -18,6 +18,7 @@
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "naxxramas.h"
#include "SpellInfo.h"
#define SPELL_BOMBARD_SLIME 28280
@@ -19,6 +19,7 @@
#include "ScriptedCreature.h"
#include "naxxramas.h"
#include "Player.h"
#include "SpellInfo.h"
#define EMOTE_BREATH -1533082
#define EMOTE_ENRAGE -1533083
@@ -25,6 +25,7 @@ EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "oculus.h"
#include "SpellInfo.h"
enum Spells
{
@@ -23,6 +23,7 @@
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "halls_of_lightning.h"
#include "SpellInfo.h"
enum Spells
{
@@ -27,6 +27,7 @@ EndScriptData */
#include "ScriptedCreature.h"
#include "halls_of_lightning.h"
#include "Player.h"
#include "SpellInfo.h"
enum eEnums
{
@@ -30,6 +30,8 @@
#include "ulduar.h"
#include "Vehicle.h"
#include "Player.h"
#include "WorldPacket.h"
#include "Opcodes.h"
enum Spells
{
@@ -20,6 +20,7 @@
#include "InstanceScript.h"
#include "ulduar.h"
#include "Player.h"
#include "WorldPacket.h"
static DoorData const doorData[] =
{
@@ -29,6 +29,7 @@ Script Data End */
#include "ScriptedCreature.h"
#include "utgarde_pinnacle.h"
#include "Player.h"
#include "SpellInfo.h"
//Yell
enum eYells
@@ -26,6 +26,7 @@ Script Data End */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "utgarde_pinnacle.h"
#include "SpellInfo.h"
enum Spells
{
@@ -19,6 +19,7 @@
#include "InstanceScript.h"
#include "violet_hold.h"
#include "Player.h"
#include "TemporarySummon.h"
#define MAX_ENCOUNTER 3
@@ -43,6 +43,8 @@ EndContentData */
#include "ScriptedEscortAI.h"
#include "ScriptedFollowerAI.h"
#include "Player.h"
#include "SpellInfo.h"
#include "WorldSession.h"
/*######
## npc_sinkhole_kill_credit
+1
View File
@@ -27,6 +27,7 @@ Script Data End */
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "Player.h"
#include "WorldSession.h"
/*******************************************************
* npc_mageguard_dalaran
@@ -20,6 +20,7 @@
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "Player.h"
#include "SpellInfo.h"
/*######
## Quest 12027: Mr. Floppy's Perilous Adventure
@@ -24,6 +24,7 @@
#include "Vehicle.h"
#include "CombatAI.h"
#include "Player.h"
#include "WorldSession.h"
/*######
## npc_agnetta_tyrsdottar
+1
View File
@@ -20,6 +20,7 @@
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
#include "Player.h"
#include "SpellInfo.h"
/*####
## npc_drakuru_shackles
@@ -23,6 +23,7 @@
#include "MapManager.h"
#include "ObjectMgr.h"
#include "OutdoorPvPMgr.h"
#include "ReputationMgr.h"
#include "Language.h"
#include "World.h"
@@ -26,6 +26,7 @@ EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "shadow_labyrinth.h"
#include "SpellInfo.h"
#define EMOTE_SONIC_BOOM -1555036
@@ -29,6 +29,7 @@ EndScriptData */
#include "PassiveAI.h"
#include "black_temple.h"
#include "Player.h"
#include "SpellInfo.h"
#define GETGO(obj, guid) GameObject* obj = instance->instance->GetGameObject(guid)
#define GETUNIT(unit, guid) Unit* unit = Unit::GetUnit(*me, guid)
@@ -27,6 +27,7 @@ EndScriptData */
#include "ScriptedCreature.h"
#include "black_temple.h"
#include "Player.h"
#include "SpellInfo.h"
enum eEnums
{
@@ -28,6 +28,7 @@ EndScriptData */
#include "serpent_shrine.h"
#include "Spell.h"
#include "Player.h"
#include "WorldSession.h"
#define SAY_INTRO -1548042
#define SAY_AGGRO1 -1548043
@@ -27,6 +27,7 @@ EndScriptData */
#include "InstanceScript.h"
#include "serpent_shrine.h"
#include "Player.h"
#include "TemporarySummon.h"
#define MAX_ENCOUNTER 6
#define SPELL_SCALDINGWATER 37284
@@ -26,6 +26,7 @@ EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "steam_vault.h"
#include "SpellInfo.h"
#define SAY_INTRO -1545016
#define SAY_REGEN -1545017
@@ -25,6 +25,7 @@ EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellInfo.h"
enum eSpells
{
@@ -27,6 +27,7 @@ EndScriptData */
#include "ScriptedCreature.h"
#include "magtheridons_lair.h"
#include "Player.h"
#include "SpellInfo.h"
struct Yell
{
@@ -26,6 +26,7 @@ EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "the_eye.h"
#include "SpellInfo.h"
enum eSpells
{
@@ -27,6 +27,7 @@ EndScriptData */
#include "ScriptedCreature.h"
#include "the_eye.h"
#include "WorldPacket.h"
#include "Opcodes.h"
enum eEnums
{
@@ -38,6 +38,7 @@ EndContentData */
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
#include "Player.h"
#include "WorldSession.h"
/*######
## npc_aeranas
+1
View File
@@ -33,6 +33,7 @@ EndContentData */
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
#include "Player.h"
#include "SpellInfo.h"
/*######
## npc_greatmother_geyah
@@ -47,6 +47,7 @@ EndContentData */
#include "Group.h"
#include "SpellScript.h"
#include "Player.h"
#include "WorldSession.h"
/*#####
# mob_mature_netherwing_drake
@@ -39,6 +39,7 @@ EndContentData */
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
#include "Player.h"
#include "WorldSession.h"
/*######
## npc_raliq_the_drunk
@@ -39,6 +39,7 @@ EndContentData */
#include "ScriptedEscortAI.h"
#include "Group.h"
#include "Player.h"
#include "WorldSession.h"
/*######
## mob_unkor_the_ruthless
@@ -37,6 +37,7 @@ EndContentData */
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
#include "Player.h"
#include "WorldSession.h"
/*######
## npcs_ashyen_and_keleth
@@ -24,6 +24,7 @@
#include "BattlegroundAV.h"
#include "Vehicle.h"
#include "Player.h"
#include "Creature.h"
class achievement_resilient_victory : public AchievementCriteriaScript
{
+1
View File
@@ -56,6 +56,7 @@ EndContentData */
#include "GameObjectAI.h"
#include "Spell.h"
#include "Player.h"
#include "WorldSession.h"
/*######
## go_cat_figurine
+1
View File
@@ -33,6 +33,7 @@ EndContentData */
#include "ScriptedCreature.h"
#include "GuardAI.h"
#include "Player.h"
#include "SpellInfo.h"
enum GuardGeneric
{
@@ -28,6 +28,7 @@ EndScriptData */
#include "ScriptedGossip.h"
#include "GameEventMgr.h"
#include "Player.h"
#include "WorldSession.h"
#define HALLOWEEN_EVENTID 12
#define SPELL_TRICK_OR_TREATED 24755
@@ -27,6 +27,8 @@ EndScriptData */
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "Player.h"
#include "SpellInfo.h"
#include "WorldSession.h"
/*
A few notes for future developement:
+1
View File
@@ -28,6 +28,7 @@ EndScriptData
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "Player.h"
#include "WorldSession.h"
#define GOSSIP_SUSURRUS "I am ready."
#define GOSSIP_NETHER_DRAKE "I'm ready to fly! Take me up, dragon!"
@@ -58,6 +58,7 @@ EndContentData */
#include "Cell.h"
#include "CellImpl.h"
#include "SpellAuras.h"
#include "Pet.h"
/*########
# npc_air_force_bots