refactor(Scripts/Kalimdor): remove unused imports (#19459)
* refactor(Scripts/Kalimdor): remove unused imports * chore: remove duplicate blank line * chore: damn linking issue * chore: wip * chore: wip * chore: wip
This commit is contained in:
@@ -15,7 +15,6 @@
|
|||||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "CreatureScript.h"
|
|
||||||
#include "InstanceMapScript.h"
|
#include "InstanceMapScript.h"
|
||||||
#include "InstanceScript.h"
|
#include "InstanceScript.h"
|
||||||
#include "blackfathom_deeps.h"
|
#include "blackfathom_deeps.h"
|
||||||
|
|||||||
@@ -16,10 +16,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "CreatureScript.h"
|
#include "CreatureScript.h"
|
||||||
|
#include "GridNotifiers.h"
|
||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "SpellAuraEffects.h"
|
#include "SpellAuraEffects.h"
|
||||||
#include "SpellAuras.h"
|
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
#include "SpellScriptLoader.h"
|
#include "SpellScriptLoader.h"
|
||||||
#include "hyjal.h"
|
#include "hyjal.h"
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "CreatureScript.h"
|
#include "CreatureScript.h"
|
||||||
|
#include "GridNotifiers.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
#include "SpellScriptLoader.h"
|
#include "SpellScriptLoader.h"
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "CreatureScript.h"
|
#include "CreatureScript.h"
|
||||||
|
#include "GridNotifiers.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "SpellAuraEffects.h"
|
#include "SpellAuraEffects.h"
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
#define DEF_HYJAL_H
|
#define DEF_HYJAL_H
|
||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
#include "GridNotifiers.h"
|
|
||||||
|
|
||||||
#define DataHeader "HY"
|
#define DataHeader "HY"
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
#include "Chat.h"
|
#include "Chat.h"
|
||||||
#include "InstanceMapScript.h"
|
#include "InstanceMapScript.h"
|
||||||
#include "InstanceScript.h"
|
#include "InstanceScript.h"
|
||||||
#include "Opcodes.h"
|
|
||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
#include "WorldPacket.h"
|
#include "WorldPacket.h"
|
||||||
#include "hyjal.h"
|
#include "hyjal.h"
|
||||||
|
|||||||
@@ -18,8 +18,10 @@
|
|||||||
#include "the_black_morass.h"
|
#include "the_black_morass.h"
|
||||||
#include "CreatureScript.h"
|
#include "CreatureScript.h"
|
||||||
#include "MoveSplineInit.h"
|
#include "MoveSplineInit.h"
|
||||||
|
#include "PassiveAI.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "SmartAI.h"
|
#include "SmartAI.h"
|
||||||
|
#include "SpellScript.h"
|
||||||
#include "SpellScriptLoader.h"
|
#include "SpellScriptLoader.h"
|
||||||
|
|
||||||
enum medivhMisc
|
enum medivhMisc
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#define DEF_THEBLACKMORASS_H
|
#define DEF_THEBLACKMORASS_H
|
||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
#include "PassiveAI.h"
|
|
||||||
#include "SpellScript.h"
|
|
||||||
|
|
||||||
#define DataHeader "TBM"
|
#define DataHeader "TBM"
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "CreatureScript.h"
|
|
||||||
#include "InstanceMapScript.h"
|
#include "InstanceMapScript.h"
|
||||||
#include "InstanceScript.h"
|
#include "InstanceScript.h"
|
||||||
#include "maraudon.h"
|
#include "maraudon.h"
|
||||||
|
|||||||
@@ -20,10 +20,16 @@
|
|||||||
#include "CellImpl.h"
|
#include "CellImpl.h"
|
||||||
#include "CreatureScript.h"
|
#include "CreatureScript.h"
|
||||||
#include "GridNotifiers.h"
|
#include "GridNotifiers.h"
|
||||||
#include "GridNotifiersImpl.h"
|
#include "PassiveAI.h"
|
||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
|
|
||||||
|
/// @todo: this import is not necessary for compilation and marked as unused by the IDE
|
||||||
|
// however, for some reasons removing it would cause a damn linking issue
|
||||||
|
// there is probably some underlying problem with imports which should properly addressed
|
||||||
|
// see: https://github.com/azerothcore/azerothcore-wotlk/issues/9766
|
||||||
|
#include "GridNotifiersImpl.h"
|
||||||
|
|
||||||
/*######
|
/*######
|
||||||
## npc_belnistrasz for Quest 3525 "Extinguishing the Idol"
|
## npc_belnistrasz for Quest 3525 "Extinguishing the Idol"
|
||||||
######*/
|
######*/
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
#define DEF_RAZORFEN_DOWNS_H
|
#define DEF_RAZORFEN_DOWNS_H
|
||||||
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
#include "PassiveAI.h"
|
|
||||||
|
|
||||||
#define DataHeader "RFD"
|
#define DataHeader "RFD"
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
#include "GameObjectAI.h"
|
#include "GameObjectAI.h"
|
||||||
#include "GameObjectScript.h"
|
#include "GameObjectScript.h"
|
||||||
#include "MiscPackets.h"
|
#include "MiscPackets.h"
|
||||||
#include "Opcodes.h"
|
|
||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "SpellInfo.h"
|
#include "SpellInfo.h"
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "CreatureScript.h"
|
|
||||||
#include "InstanceMapScript.h"
|
#include "InstanceMapScript.h"
|
||||||
#include "InstanceScript.h"
|
#include "InstanceScript.h"
|
||||||
#include "wailing_caverns.h"
|
#include "wailing_caverns.h"
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
|
|
||||||
#define DataHeader "WC"
|
#define DataHeader "WC"
|
||||||
|
|
||||||
#include "CreatureAI.h"
|
|
||||||
|
|
||||||
enum DataTypes
|
enum DataTypes
|
||||||
{
|
{
|
||||||
TYPE_LORD_COBRAHN = 0,
|
TYPE_LORD_COBRAHN = 0,
|
||||||
|
|||||||
@@ -16,10 +16,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "CreatureScript.h"
|
#include "CreatureScript.h"
|
||||||
|
#include "CellImpl.h"
|
||||||
#include "GridNotifiers.h"
|
#include "GridNotifiers.h"
|
||||||
#include "GridNotifiersImpl.h"
|
#include "GridNotifiersImpl.h"
|
||||||
#include "InstanceMapScript.h"
|
#include "InstanceMapScript.h"
|
||||||
#include "InstanceScript.h"
|
#include "InstanceScript.h"
|
||||||
|
#include "SpellScript.h"
|
||||||
#include "SpellScriptLoader.h"
|
#include "SpellScriptLoader.h"
|
||||||
#include "TemporarySummon.h"
|
#include "TemporarySummon.h"
|
||||||
#include "zulfarrak.h"
|
#include "zulfarrak.h"
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
#include "zulfarrak.h"
|
#include "zulfarrak.h"
|
||||||
#include "Cell.h"
|
#include "Cell.h"
|
||||||
|
#include "CellImpl.h"
|
||||||
#include "CreatureScript.h"
|
#include "CreatureScript.h"
|
||||||
#include "GameObject.h"
|
#include "GameObject.h"
|
||||||
#include "GameObjectAI.h"
|
#include "GameObjectAI.h"
|
||||||
@@ -28,6 +29,13 @@
|
|||||||
#include "ScriptSystem.h"
|
#include "ScriptSystem.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "ScriptedGossip.h"
|
#include "ScriptedGossip.h"
|
||||||
|
|
||||||
|
/// @todo: this import is not necessary for compilation and marked as unused by the IDE
|
||||||
|
// however, for some reasons removing it would cause a damn linking issue
|
||||||
|
// there is probably some underlying problem with imports which should properly addressed
|
||||||
|
// see: https://github.com/azerothcore/azerothcore-wotlk/issues/9766
|
||||||
|
#include "GridNotifiersImpl.h"
|
||||||
|
|
||||||
/* ScriptData
|
/* ScriptData
|
||||||
SDName: Zulfarrak
|
SDName: Zulfarrak
|
||||||
SD%Complete: 50
|
SD%Complete: 50
|
||||||
@@ -40,8 +48,6 @@ npc_sergeant_bly
|
|||||||
npc_weegli_blastfuse
|
npc_weegli_blastfuse
|
||||||
EndContentData */
|
EndContentData */
|
||||||
|
|
||||||
#include "GridNotifiersImpl.h"
|
|
||||||
|
|
||||||
/*######
|
/*######
|
||||||
## npc_sergeant_bly
|
## npc_sergeant_bly
|
||||||
######*/
|
######*/
|
||||||
|
|||||||
@@ -18,9 +18,7 @@
|
|||||||
#ifndef DEF_ZULFARRACK_H
|
#ifndef DEF_ZULFARRACK_H
|
||||||
#define DEF_ZULFARRACK_H
|
#define DEF_ZULFARRACK_H
|
||||||
|
|
||||||
#include "CellImpl.h"
|
|
||||||
#include "CreatureAIImpl.h"
|
#include "CreatureAIImpl.h"
|
||||||
#include "SpellScript.h"
|
|
||||||
|
|
||||||
#define DataHeader "ZF"
|
#define DataHeader "ZF"
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ EndContentData */
|
|||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "ScriptedGossip.h"
|
#include "ScriptedGossip.h"
|
||||||
#include "SpellInfo.h"
|
|
||||||
|
|
||||||
/*####
|
/*####
|
||||||
# npc_rizzle_sprysprocket
|
# npc_rizzle_sprysprocket
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
#include "CreatureScript.h"
|
#include "CreatureScript.h"
|
||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "ScriptedGossip.h"
|
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
#include "SpellScriptLoader.h"
|
#include "SpellScriptLoader.h"
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
#include "Group.h"
|
#include "Group.h"
|
||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "ScriptedGossip.h"
|
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
#include "SpellScriptLoader.h"
|
#include "SpellScriptLoader.h"
|
||||||
/* ScriptData
|
/* ScriptData
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ npc_clintar_dreamwalker
|
|||||||
EndContentData */
|
EndContentData */
|
||||||
|
|
||||||
#include "Cell.h"
|
#include "Cell.h"
|
||||||
#include "CellImpl.h"
|
|
||||||
#include "CreatureScript.h"
|
#include "CreatureScript.h"
|
||||||
#include "GridNotifiers.h"
|
#include "GridNotifiers.h"
|
||||||
#include "GridNotifiersImpl.h"
|
#include "GridNotifiersImpl.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user