Merge pull request #7227 from Vincent-Michael/PCH
Core/Misc: Use proper headers to optimize compile
This commit is contained in:
@@ -5,9 +5,13 @@
|
||||
* This program is free software licensed under GPL version 2
|
||||
* Please see the included DOCS/LICENSE.TXT for more information */
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "Item.h"
|
||||
#include "Spell.h"
|
||||
#include "GridNotifiers.h"
|
||||
#include "GridNotifiersImpl.h"
|
||||
#include "Cell.h"
|
||||
#include "CellImpl.h"
|
||||
#include "ObjectMgr.h"
|
||||
#include "TemporarySummon.h"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ SDComment:
|
||||
SDCategory: Npc
|
||||
EndScriptData */
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "ScriptedEscortAI.h"
|
||||
#include "Group.h"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ SDComment: This AI is under development
|
||||
SDCategory: Npc
|
||||
EndScriptData */
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "ScriptedFollowerAI.h"
|
||||
#include "Group.h"
|
||||
|
||||
|
||||
@@ -27,9 +27,8 @@
|
||||
#include "InstanceScript.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "Group.h"
|
||||
|
||||
#include "SmartAI.h"
|
||||
#include "ScriptPCH.h"
|
||||
#include "ScriptMgr.h"
|
||||
|
||||
SmartAI::SmartAI(Creature* c) : CreatureAI(c)
|
||||
{
|
||||
|
||||
@@ -23,9 +23,10 @@
|
||||
#include "SharedDefines.h"
|
||||
#include "Player.h"
|
||||
#include "Group.h"
|
||||
#include "ScriptPCH.h"
|
||||
#include "LFGScripts.h"
|
||||
#include "LFGMgr.h"
|
||||
#include "ScriptMgr.h"
|
||||
#include "ObjectAccessor.h"
|
||||
|
||||
LFGPlayerScript::LFGPlayerScript() : PlayerScript("LFGPlayerScript")
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "Common.h"
|
||||
#include "SharedDefines.h"
|
||||
#include "ScriptPCH.h"
|
||||
#include "ScriptMgr.h"
|
||||
|
||||
class Player;
|
||||
class Group;
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
#include "ScriptMgr.h"
|
||||
#include "Config.h"
|
||||
#include "DatabaseEnv.h"
|
||||
@@ -27,6 +26,10 @@
|
||||
#include "ScriptSystem.h"
|
||||
#include "Transport.h"
|
||||
#include "Vehicle.h"
|
||||
#include "SpellInfo.h"
|
||||
#include "SpellScript.h"
|
||||
#include "GossipDef.h"
|
||||
#include "CreatureAI.h"
|
||||
|
||||
// This is the global static registry of scripts.
|
||||
template<class TScript>
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
#include "ScriptSystem.h"
|
||||
#include "ObjectMgr.h"
|
||||
#include "DatabaseEnv.h"
|
||||
#include "ScriptMgr.h"
|
||||
|
||||
ScriptPointVector const SystemMgr::_empty;
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#ifndef SC_SYSTEM_H
|
||||
#define SC_SYSTEM_H
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include <ace/Singleton.h>
|
||||
|
||||
#define TEXT_SOURCE_RANGE -1000000 //the amount of entries each text source has available
|
||||
|
||||
Reference in New Issue
Block a user