mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 20:56:23 +00:00
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:
@@ -7,8 +7,6 @@
|
||||
#ifndef DEF_BRD_H
|
||||
#define DEF_BRD_H
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
|
||||
enum FactionIds
|
||||
{
|
||||
FACTION_NEUTRAL = 734,
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
#ifndef DEF_MOLTEN_CORE_H
|
||||
#define DEF_MOLTEN_CORE_H
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
|
||||
enum Encounters
|
||||
{
|
||||
BOSS_LUCIFRON = 0,
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
#ifndef DEF_DEADMINES_H
|
||||
#define DEF_DEADMINES_H
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
|
||||
enum DataTypes
|
||||
{
|
||||
TYPE_RHAHK_ZOR = 0,
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "ScriptPCH.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "magisters_terrace.h"
|
||||
#include "WorldPacket.h"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "ScriptPCH.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "magisters_terrace.h"
|
||||
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
#ifndef DEF_SCHOLOMANCE_H
|
||||
#define DEF_SCHOLOMANCE_H
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
|
||||
enum DataTypes
|
||||
{
|
||||
DATA_KIRTONOS_THE_HERALD = 0,
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "ScriptPCH.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "shadowfang_keep.h"
|
||||
#include "TemporarySummon.h"
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
#ifndef DEF_SHADOWFANG_H
|
||||
#define DEF_SHADOWFANG_H
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
#include "SpellAuraEffects.h"
|
||||
#include "SpellScript.h"
|
||||
|
||||
enum DataTypes
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#ifndef DEF_STRATHOLME_H
|
||||
#define DEF_STRATHOLME_H
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
#include "SpellAuras.h"
|
||||
|
||||
enum DataTypes
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
#ifndef DEF_SUNKEN_TEMPLE_H
|
||||
#define DEF_SUNKEN_TEMPLE_H
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
|
||||
enum DataTypes
|
||||
{
|
||||
DATA_STATUES = 10,
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "ScriptPCH.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "sunwell_plateau.h"
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "ScriptPCH.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "sunwell_plateau.h"
|
||||
#include "SpellInfo.h"
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -3,8 +3,9 @@
|
||||
*/
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "ScriptPCH.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "SpellScript.h"
|
||||
#include "CreatureAI.h"
|
||||
#include "uldaman.h"
|
||||
|
||||
enum Spells
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
#ifndef DEF_ULDAMAN_H
|
||||
#define DEF_ULDAMAN_H
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
|
||||
enum DataTypes
|
||||
{
|
||||
DATA_IRONAYA_DOORS = 0,
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
#ifndef DEF_ZULAMAN_H
|
||||
#define DEF_ZULAMAN_H
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
|
||||
enum DataTypes
|
||||
{
|
||||
DATA_GONGEVENT = 0,
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
#ifndef DEF_ZULGURUB_H
|
||||
#define DEF_ZULGURUB_H
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
|
||||
uint32 const EncounterCount = 13;
|
||||
|
||||
#define ZGScriptName "instance_zulgurub"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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: ######*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user