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

@@ -7,8 +7,6 @@
#ifndef DEF_BRD_H
#define DEF_BRD_H
#include "ScriptPCH.h"
enum FactionIds
{
FACTION_NEUTRAL = 734,

View File

@@ -7,8 +7,6 @@
#ifndef DEF_BLACKROCK_SPIRE_H
#define DEF_BLACKROCK_SPIRE_H
#include "ScriptPCH.h"
uint32 const EncounterCount = 23;
#define BRSScriptName "instance_blackrock_spire"

View File

@@ -7,8 +7,6 @@
#ifndef DEF_BLACKWING_LAIR_H
#define DEF_BLACKWING_LAIR_H
#include "ScriptPCH.h"
uint32 const EncounterCount = 8;
#define BRLScriptName "instance_blackwing_lair"

View File

@@ -7,8 +7,6 @@
#ifndef DEF_MOLTEN_CORE_H
#define DEF_MOLTEN_CORE_H
#include "ScriptPCH.h"
enum Encounters
{
BOSS_LUCIFRON = 0,

View File

@@ -5,8 +5,6 @@
#ifndef DEF_DEADMINES_H
#define DEF_DEADMINES_H
#include "ScriptPCH.h"
enum DataTypes
{
TYPE_RHAHK_ZOR = 0,

View File

@@ -2,8 +2,9 @@
* Originally written by Xinef - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
*/
#include "Player.h"
#include "SpellScript.h"
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "InstanceScript.h"
#include "PassiveAI.h"

View File

@@ -11,8 +11,8 @@ SDComment: SDComment: Timers may incorrect
SDCategory: Karazhan
EndScriptData */
#include "Player.h"
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "karazhan.h"

View File

@@ -3,7 +3,6 @@
*/
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "magisters_terrace.h"
#include "WorldPacket.h"

View File

@@ -3,7 +3,6 @@
*/
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "InstanceScript.h"
#include "magisters_terrace.h"

View File

@@ -5,7 +5,9 @@
#ifndef DEF_MAGISTERS_TERRACE_H
#define DEF_MAGISTERS_TERRACE_H
#include "ScriptPCH.h"
#include "Player.h"
#include "CreatureAI.h"
#include "SpellScript.h"
enum MTData
{

View File

@@ -5,7 +5,6 @@
*/
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "Vehicle.h"
@@ -17,6 +16,7 @@
#include "SpellInfo.h"
#include "CreatureTextMgr.h"
#include "PetAI.h"
#include "SpellScript.h"
// Ours
enum eyeOfAcherus

View File

@@ -5,12 +5,13 @@
*/
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "Player.h"
#include "SpellInfo.h"
#include "CreatureTextMgr.h"
#include "CombatAI.h"
#include "SpellScript.h"
//How to win friends and influence enemies
// texts signed for creature 28939 but used for 28939, 28940, 28610

View File

@@ -5,11 +5,11 @@
*/
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
#include "Player.h"
#include "SpellScript.h"
enum LightOfDawnSays
{

View File

@@ -5,8 +5,6 @@
#ifndef DEF_SCHOLOMANCE_H
#define DEF_SCHOLOMANCE_H
#include "ScriptPCH.h"
enum DataTypes
{
DATA_KIRTONOS_THE_HERALD = 0,

View File

@@ -3,7 +3,6 @@
*/
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "InstanceScript.h"
#include "shadowfang_keep.h"
#include "TemporarySummon.h"

View File

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

View File

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

View File

@@ -3,11 +3,11 @@
*/
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "InstanceScript.h"
#include "sunken_temple.h"
#include "Player.h"
#include "CreatureAI.h"
#include "SpellScript.h"
class instance_sunken_temple : public InstanceMapScript
{

View File

@@ -5,8 +5,6 @@
#ifndef DEF_SUNKEN_TEMPLE_H
#define DEF_SUNKEN_TEMPLE_H
#include "ScriptPCH.h"
enum DataTypes
{
DATA_STATUES = 10,

View File

@@ -3,7 +3,6 @@
*/
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "sunwell_plateau.h"

View File

@@ -3,7 +3,6 @@
*/
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "sunwell_plateau.h"
#include "SpellInfo.h"

View File

@@ -5,7 +5,11 @@
#ifndef SUNWELL_PLATEAU_H
#define SUNWELL_PLATEAU_H
#include "ScriptPCH.h"
#include "Player.h"
#include "SpellScript.h"
#include "PassiveAI.h"
#include "SpellAuraEffects.h"
#include "CreatureAIImpl.h"
enum DataTypes
{

View File

@@ -3,8 +3,9 @@
*/
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "InstanceScript.h"
#include "SpellScript.h"
#include "CreatureAI.h"
#include "uldaman.h"
enum Spells

View File

@@ -5,8 +5,6 @@
#ifndef DEF_ULDAMAN_H
#define DEF_ULDAMAN_H
#include "ScriptPCH.h"
enum DataTypes
{
DATA_IRONAYA_DOORS = 0,

View File

@@ -7,8 +7,6 @@
#ifndef DEF_ZULAMAN_H
#define DEF_ZULAMAN_H
#include "ScriptPCH.h"
enum DataTypes
{
DATA_GONGEVENT = 0,

View File

@@ -7,8 +7,6 @@
#ifndef DEF_ZULGURUB_H
#define DEF_ZULGURUB_H
#include "ScriptPCH.h"
uint32 const EncounterCount = 13;
#define ZGScriptName "instance_zulgurub"

View File

@@ -19,11 +19,12 @@ npc_tirion_fordring
EndContentData */
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "Player.h"
#include "WorldSession.h"
#include "PassiveAI.h"
#include "SpellInfo.h"
// Ours

View File

@@ -17,12 +17,12 @@ npc_greengill_slave
EndContentData */
#include "ScriptMgr.h"
#include "ScriptPCH.h"
#include "ScriptedCreature.h"
#include "Player.h"
#include "Pet.h"
#include "SpellInfo.h"
#include "PassiveAI.h"
#include "SpellScript.h"
/*###### OUR: ######*/