refactor(Core/Misc): headers cleanup (#9259)

This commit is contained in:
Kargatum
2021-11-22 17:24:39 +07:00
committed by GitHub
parent 699d4835df
commit f62664c987
775 changed files with 1294 additions and 1165 deletions

View File

@@ -15,10 +15,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "hyjal_trash.h"
#include "hyjal.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "hyjal.h"
#include "hyjal_trash.h"
enum Spells
{

View File

@@ -22,12 +22,12 @@ SDComment: Doomfires not completely offlike due to core limitations for random m
SDCategory: Caverns of Time, Mount Hyjal
EndScriptData */
#include "hyjal.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellAuras.h"
#include "SpellScript.h"
#include "hyjal.h"
enum Texts
{

View File

@@ -15,10 +15,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "hyjal_trash.h"
#include "hyjal.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "hyjal.h"
#include "hyjal_trash.h"
enum Spells
{

View File

@@ -15,12 +15,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "hyjal_trash.h"
#include "hyjal.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"
#include "hyjal.h"
#include "hyjal_trash.h"
enum Spells
{

View File

@@ -15,10 +15,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "hyjal_trash.h"
#include "hyjal.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "hyjal.h"
#include "hyjal_trash.h"
enum Spells
{

View File

@@ -28,11 +28,11 @@ npc_thrall
npc_tyrande_whisperwind
EndContentData */
#include "hyjalAI.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "ScriptMgr.h"
#include "hyjalAI.h"
#define GOSSIP_ITEM_BEGIN_ALLY "My companions and I are with you, Lady Proudmoore."
#define GOSSIP_ITEM_ANETHERON "We are ready for whatever Archimonde might send our way, Lady Proudmoore."

View File

@@ -18,8 +18,8 @@
#ifndef DEF_HYJAL_H
#define DEF_HYJAL_H
#include "GridNotifiers.h"
#include "CreatureAIImpl.h"
#include "GridNotifiers.h"
#define HyjalScriptName "instance_hyjal"

View File

@@ -22,14 +22,14 @@ SDComment:
SDCategory: Caverns of Time, Mount Hyjal
EndScriptData */
#include "hyjalAI.h"
#include "Cell.h"
#include "CellImpl.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "hyjal_trash.h"
#include "hyjalAI.h"
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "hyjal_trash.h"
enum Spawns
{

View File

@@ -18,8 +18,8 @@
#ifndef SC_HYJALAI_H
#define SC_HYJALAI_H
#include "hyjal.h"
#include "ScriptedEscortAI.h"
#include "hyjal.h"
#define HYJAL_AI_MAX_SPELLS 3

View File

@@ -16,9 +16,9 @@
*/
#include "hyjal_trash.h"
#include "hyjal.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "hyjal.h"
enum Spells
{

View File

@@ -18,8 +18,8 @@
#ifndef SC_HYJAL_TRASH_AI_H
#define SC_HYJAL_TRASH_AI_H
#include "hyjal.h"
#include "ScriptedEscortAI.h"
#include "hyjal.h"
#define MINRAIDDAMAGE 700000//minimal damage before trash can drop loot and reputation, resets if faction leader dies

View File

@@ -23,11 +23,11 @@ SDCategory: Caverns of Time, Mount Hyjal
EndScriptData */
#include "Chat.h"
#include "hyjal_trash.h"
#include "InstanceScript.h"
#include "Opcodes.h"
#include "ScriptMgr.h"
#include "WorldPacket.h"
#include "hyjal_trash.h"
/* Battle of Mount Hyjal encounters:
0 - Rage Winterchill event

View File

@@ -15,10 +15,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "culling_of_stratholme.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellInfo.h"
#include "culling_of_stratholme.h"
enum Spells
{

View File

@@ -15,9 +15,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "culling_of_stratholme.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "culling_of_stratholme.h"
enum Spells
{

View File

@@ -15,10 +15,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "culling_of_stratholme.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "culling_of_stratholme.h"
enum Spells
{

View File

@@ -15,9 +15,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "culling_of_stratholme.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "culling_of_stratholme.h"
enum Spells
{

View File

@@ -15,10 +15,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "culling_of_stratholme.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "culling_of_stratholme.h"
enum Spells
{

View File

@@ -18,10 +18,10 @@
#include "culling_of_stratholme.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "ScriptMgr.h"
#include "SpellInfo.h"
enum Says

View File

@@ -16,12 +16,12 @@
*/
#include "CreatureTextMgr.h"
#include "culling_of_stratholme.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellInfo.h"
#include "TemporarySummon.h"
#include "culling_of_stratholme.h"
class instance_culling_of_stratholme : public InstanceMapScript
{

View File

@@ -15,9 +15,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "old_hillsbrad.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "old_hillsbrad.h"
enum CaptainSkarloc
{

View File

@@ -15,9 +15,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "old_hillsbrad.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "old_hillsbrad.h"
enum EpochHunter
{

View File

@@ -16,10 +16,10 @@
*/
#include "MoveSplineInit.h"
#include "old_hillsbrad.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SmartScriptMgr.h"
#include "old_hillsbrad.h"
enum LieutenantDrake
{

View File

@@ -16,10 +16,10 @@
*/
#include "InstanceScript.h"
#include "old_hillsbrad.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "old_hillsbrad.h"
const Position instancePositions[INSTANCE_POSITIONS_COUNT] =
{

View File

@@ -17,10 +17,10 @@
#include "old_hillsbrad.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "ScriptMgr.h"
/*enum Erozion
{

View File

@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "the_black_morass.h"
enum Enums

View File

@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "the_black_morass.h"
enum Enums

View File

@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "the_black_morass.h"
enum Enums

View File

@@ -17,8 +17,8 @@
#include "InstanceScript.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellInfo.h"
#include "TemporarySummon.h"
#include "the_black_morass.h"

View File

@@ -15,11 +15,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "the_black_morass.h"
#include "MoveSplineInit.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "ScriptMgr.h"
#include "the_black_morass.h"
enum medivhSays
{