chore(PCH): remove "ScriptPCH.h" from cpp scripts (#1423)

remove "ScriptPCH.h" from cpp scripts as it is intended to be used as precompiled header for the build process only
This commit is contained in:
Stoabrogga
2019-02-10 14:50:44 +01:00
committed by GitHub
parent 2d3ea3a308
commit 7a9f09341f
114 changed files with 156 additions and 140 deletions

View File

@@ -5,7 +5,9 @@
#ifndef DEF_AZJOL_NERUB_H
#define DEF_AZJOL_NERUB_H
#include "ScriptPCH.h"
#include "SpellScript.h"
#include "SpellAuras.h"
#include "SpellAuraEffects.h"
enum ANData
{

View File

@@ -2,8 +2,6 @@
#ifndef DEF_AHNKAHET_H
#define DEF_AHNKAHET_H
#include "ScriptPCH.h"
#define MAX_ENCOUNTER 5
enum Data64
{

View File

@@ -5,8 +5,6 @@
#ifndef DEF_OBSIDIAN_SANCTUM_H
#define DEF_OBSIDIAN_SANCTUM_H
#include "ScriptPCH.h"
enum Data
{
// Encounter

View File

@@ -5,13 +5,13 @@
#ifndef RUBY_SANCTUM_H_
#define RUBY_SANCTUM_H_
#include "ScriptPCH.h"
#include "Player.h"
#include "SpellScript.h"
#include "Map.h"
#include "Creature.h"
#include "GameObjectAI.h"
#include "PassiveAI.h"
#include "Opcodes.h"
enum DataTypes
{

View File

@@ -5,7 +5,7 @@
#ifndef DEF_TOC_H
#define DEF_TOC_H
#include "ScriptPCH.h"
#include "CombatAI.h"
enum eData
{

View File

@@ -5,7 +5,8 @@
#ifndef DEF_CRUSADER_H
#define DEF_CRUSADER_H
#include "ScriptPCH.h"
#include "GridNotifiers.h"
#include "SpellAuraEffects.h"
enum DataTypes
{

View File

@@ -5,7 +5,8 @@
#ifndef DEF_DRAK_THARON_H
#define DEF_DRAK_THARON_H
#include "ScriptPCH.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
enum Data
{

View File

@@ -5,7 +5,7 @@
#ifndef DEF_FORGE_OF_SOULS_H
#define DEF_FORGE_OF_SOULS_H
#include "ScriptPCH.h"
#include "GridNotifiers.h"
enum Data
{

View File

@@ -2,7 +2,6 @@
* Originally written by Pussywizard - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
*/
#include "ScriptPCH.h"
#include "halls_of_reflection.h"
enum Yells

View File

@@ -2,7 +2,6 @@
* Originally written by Pussywizard - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
*/
#include "ScriptPCH.h"
#include "halls_of_reflection.h"
enum Yells

View File

@@ -2,7 +2,6 @@
* Originally written by Pussywizard - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
*/
#include "ScriptPCH.h"
#include "halls_of_reflection.h"
#include "MotionMaster.h"

View File

@@ -5,7 +5,14 @@
#ifndef DEF_HALLS_OF_REFLECTION_H
#define DEF_HALLS_OF_REFLECTION_H
#include "ScriptPCH.h"
#include "Player.h"
#include "SpellAuras.h"
#include "SpellAuraEffects.h"
#include "ScriptedCreature.h"
#include "PassiveAI.h"
#include "ScriptedGossip.h"
#include "SpellScript.h"
#include "ScriptMgr.h"
enum Data
{

View File

@@ -2,7 +2,6 @@
* Originally written by Pussywizard - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
*/
#include "ScriptPCH.h"
#include "halls_of_reflection.h"
#include "Transport.h"
#include "MapManager.h"

View File

@@ -5,7 +5,7 @@
#ifndef DEF_PIT_OF_SARON_H
#define DEF_PIT_OF_SARON_H
#include "ScriptPCH.h"
#include "Chat.h"
enum DataTypes
{

View File

@@ -5,7 +5,7 @@
#ifndef DEF_GUNDRAK_H
#define DEF_GUNDRAK_H
#include "ScriptPCH.h"
#include "SpellScript.h"
enum Data
{

View File

@@ -5,11 +5,18 @@
#ifndef ICECROWN_CITADEL_H_
#define ICECROWN_CITADEL_H_
#include "ScriptPCH.h"
#include "Player.h"
#include "Chat.h"
#include "SpellAuras.h"
#include "SpellScript.h"
#include "Map.h"
#include "Creature.h"
#include "SpellMgr.h"
#include "PassiveAI.h"
#include "SpellAuraEffects.h"
#include "InstanceScript.h"
#include "ScriptedGossip.h"
#include "ScriptedCreature.h"
#define ICCScriptName "instance_icecrown_citadel"

View File

@@ -5,7 +5,7 @@
#ifndef DEF_NAXXRAMAS_H
#define DEF_NAXXRAMAS_H
#include "ScriptPCH.h"
#include "SpellScript.h"
enum Encouters
{

View File

@@ -5,7 +5,7 @@
#ifndef DEF_EYE_OF_ETERNITY_H
#define DEF_EYE_OF_ETERNITY_H
#include "ScriptPCH.h"
#include "Chat.h"
enum Objects
{

View File

@@ -5,7 +5,12 @@
#ifndef DEF_NEXUS_H
#define DEF_NEXUS_H
#include "ScriptPCH.h"
#include "Player.h"
#include "SpellScript.h"
#include "PassiveAI.h"
#include "SpellAuras.h"
#include "GridNotifiers.h"
#include "GameEventMgr.h"
enum eTypes
{

View File

@@ -5,7 +5,9 @@
#ifndef DEF_OCULUS_H
#define DEF_OCULUS_H
#include "ScriptPCH.h"
#include "SpellScript.h"
#include "SpellAuras.h"
#include "SpellAuraEffects.h"
enum Data
{

View File

@@ -5,8 +5,6 @@
#ifndef DEF_HALLS_OF_LIGHTNING_H
#define DEF_HALLS_OF_LIGHTNING_H
#include "ScriptPCH.h"
enum HoLEvents
{
TYPE_BJARNGRIM = 0,

View File

@@ -5,8 +5,6 @@
#ifndef DEF_HALLS_OF_STONE_H
#define DEF_HALLS_OF_STONE_H
#include "ScriptPCH.h"
enum Encounter
{
BOSS_KRYSTALLUS = 0,

View File

@@ -5,7 +5,10 @@
#ifndef DEF_ULDUAR_H
#define DEF_ULDUAR_H
#include "ScriptPCH.h"
#include "Chat.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "CellImpl.h"
enum UlduarEncounters
{

View File

@@ -5,7 +5,7 @@
#ifndef DEF_UTGARDE_KEEP_H
#define DEF_UTGARDE_KEEP_H
#include "ScriptPCH.h"
#include "SpellScript.h"
enum eData
{

View File

@@ -1,7 +1,7 @@
#ifndef DEF_PINNACLE_H
#define DEF_PINNACLE_H
#include "ScriptPCH.h"
#include "Opcodes.h"
enum Data
{

View File

@@ -7,8 +7,6 @@
#ifndef DEF_ARCHAVON_H
#define DEF_ARCHAVON_H
#include "ScriptPCH.h"
enum Creatures
{
CREATURE_ARCHAVON = 31125,

View File

@@ -5,8 +5,6 @@
#ifndef DEF_VIOLET_HOLD_H
#define DEF_VIOLET_HOLD_H
#include "ScriptPCH.h"
#define MAX_ENCOUNTER 3
enum Creatures

View File

@@ -23,7 +23,6 @@ npc_nexus_drake_hatchling
EndContentData */
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
@@ -31,6 +30,9 @@ EndContentData */
#include "Player.h"
#include "SpellInfo.h"
#include "WorldSession.h"
#include "SpellScript.h"
#include "PassiveAI.h"
#include "SpellAuras.h"
// Ours
enum eDrakeHunt

View File

@@ -13,12 +13,12 @@ SDCategory: CrystalsongForest
Script Data End */
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "Player.h"
#include "SmartScriptMgr.h"
#include "Transport.h"
#include "Vehicle.h"
#include "PassiveAI.h"
enum ePreparationsForWar
{

View File

@@ -15,7 +15,6 @@ EndScriptData */
EndContentData */
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
@@ -23,6 +22,11 @@ EndContentData */
#include "Player.h"
#include "Vehicle.h"
#include "CreatureTextMgr.h"
#include "PassiveAI.h"
#include "CombatAI.h"
#include "SpellAuras.h"
#include "Chat.h"
#include "CellImpl.h"
// Ours
/********

View File

@@ -5,7 +5,6 @@
*/
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "Vehicle.h"
@@ -14,6 +13,7 @@
#include "Pet.h"
#include "SpellInfo.h"
#include "CreatureTextMgr.h"
#include "SpellScript.h"
// Ours
enum qRedRocket

View File

@@ -16,7 +16,6 @@ npc_arete
EndContentData */
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellAuras.h"
@@ -26,6 +25,8 @@ EndContentData */
#include "ScriptedEscortAI.h"
#include "Vehicle.h"
#include "SmartScriptMgr.h"
#include "SpellScript.h"
#include "PassiveAI.h"
// Ours
enum eBKG

View File

@@ -18,7 +18,6 @@ avatar_of_freya
EndContentData */
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
@@ -27,6 +26,8 @@ EndContentData */
#include "Player.h"
#include "Vehicle.h"
#include "WaypointManager.h"
#include "PassiveAI.h"
#include "CombatAI.h"
// Ours
enum songOfWindandWater

View File

@@ -5,7 +5,6 @@
*/
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
@@ -14,6 +13,7 @@
#include "PassiveAI.h"
#include "SpellInfo.h"
#include "Vehicle.h"
#include "SpellAuras.h"
// Ours
enum AlchemistItemRequirements