Core/Misc: removed unused includes and removed unit include from vehicle.h

This commit is contained in:
Ovahlord committed 2023-10-10 03:01:05 +02:00
1 parent faa78b9e07
commit 5c13baf230
101 files changed
+47 -152

No files matched your search

-1
View File
@@ -32,7 +32,6 @@
#include "SpellHistory.h"
#include "TemporarySummon.h"
#include "Vehicle.h"
#include "World.h"
//Disable CreatureAI when charmed
void CreatureAI::OnCharmed(bool isNew)
-1
View File
@@ -19,7 +19,6 @@
#define TRINITY_CREATUREAI_H
#include "UnitAI.h"
#include "Common.h"
#include "ObjectDefines.h"
#include "Optional.h"
#include "QuestDef.h"
@@ -26,7 +26,6 @@
#include "Log.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h"
#include "Spell.h"
#include "SpellMgr.h"
#include "TemporarySummon.h"
@@ -25,8 +25,6 @@
#include "MovementGenerator.h"
#include "ObjectMgr.h"
#include <cmath>
#define MAX_DESYNC 5.0f
FormationMgr* FormationMgr::instance()
@@ -41,7 +41,6 @@
#include "PhasingHandler.h"
#include "PoolMgr.h"
#include "QueryPackets.h"
#include "ScriptMgr.h"
#include "SpellMgr.h"
#include "Transport.h"
#include "UpdateFieldFlags.h"
@@ -20,14 +20,12 @@
#include "DatabaseEnv.h"
#include "Log.h"
#include "ObjectMgr.h"
#include "Util.h"
#include "DBCStores.h"
#include "Random.h"
#include "Timer.h"
#include <list>
#include <vector>
#include <stdlib.h>
struct EnchStoreItem
{
@@ -21,7 +21,6 @@
#include "DB2Structure.h"
#include "Errors.h"
#include "SharedDefines.h"
#include "WorldPacket.h"
#include <vector>
enum ItemModType
@@ -25,7 +25,6 @@
#include "Common.h"
#include "Creature.h"
#include "DBCStores.h"
#include "DynamicTree.h"
#include "G3DPosition.hpp"
#include "GameTime.h"
#include "GridNotifiers.h"
@@ -38,7 +37,6 @@
#include "MovementPacketBuilder.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "OutdoorPvPMgr.h"
#include "PhasingHandler.h"
#include "PathGenerator.h"
-1
View File
@@ -35,7 +35,6 @@
#include "UpdateFields.h"
#include "UpdateMask.h"
#include <list>
#include <set>
#include <unordered_map>
class AreaTrigger;
-1
View File
@@ -30,7 +30,6 @@
#include "PetDefines.h"
#include "PlayerTaxi.h"
#include "QuestDef.h"
#include <queue>
struct AccessRequirement;
struct AchievementEntry;
-2
View File
@@ -24,14 +24,12 @@
#include "SpellDefines.h"
#include "ThreatManager.h"
#include "Timer.h"
#include "SpellPacketsCommon.h"
#include "UnitDefines.h"
#include "Util.h"
#include <array>
#include <map>
#include <memory>
#include <stack>
#include <queue>
#define WORLD_TRIGGER 12999
@@ -664,6 +664,35 @@ void Vehicle::InitMovementInfoForBase()
_me->AddExtraUnitMovementFlag(MOVEMENTFLAG2_FULL_SPEED_PITCHING);
}
ObjectGuid Vehicle::GetTransportGUID() const
{
return GetBase()->GetGUID();
}
float Vehicle::GetTransportOrientation() const
{
return GetBase()->GetOrientation();
}
void Vehicle::CalculatePassengerPosition(float& x, float& y, float& z, float* o /*= nullptr*/) const
{
TransportBase::CalculatePassengerPosition(x, y, z, o,
GetBase()->GetPositionX(), GetBase()->GetPositionY(),
GetBase()->GetPositionZ(), GetBase()->GetOrientation());
}
void Vehicle::CalculatePassengerOffset(float& x, float& y, float& z, float* o /*= nullptr*/) const
{
TransportBase::CalculatePassengerOffset(x, y, z, o,
GetBase()->GetPositionX(), GetBase()->GetPositionY(),
GetBase()->GetPositionZ(), GetBase()->GetOrientation());
}
int32 Vehicle::GetMapIdForSpawning() const
{
return GetBase()->GetMapId();
}
/**
* @fn VehicleSeatEntry const* Vehicle::GetSeatForPassenger(Unit* passenger)
*
+5 -19
View File
@@ -18,10 +18,8 @@
#ifndef __TRINITY_VEHICLE_H
#define __TRINITY_VEHICLE_H
#include "ObjectDefines.h"
#include "Object.h"
#include "VehicleDefines.h"
#include "Unit.h"
#include <list>
struct VehicleEntry;
@@ -82,29 +80,18 @@ class TC_GAME_API Vehicle : public TransportBase
SeatMap::iterator GetSeatIteratorForPassenger(Unit* passenger);
void InitMovementInfoForBase();
ObjectGuid GetTransportGUID() const override { return GetBase()->GetGUID(); }
ObjectGuid GetTransportGUID() const override;
float GetTransportOrientation() const override { return GetBase()->GetOrientation(); }
float GetTransportOrientation() const override;
void AddPassenger(WorldObject* /*passenger*/) override { ASSERT("Vehicle cannot directly gain passengers without auras"); }
/// This method transforms supplied transport offsets into global coordinates
void CalculatePassengerPosition(float& x, float& y, float& z, float* o /*= nullptr*/) const override
{
TransportBase::CalculatePassengerPosition(x, y, z, o,
GetBase()->GetPositionX(), GetBase()->GetPositionY(),
GetBase()->GetPositionZ(), GetBase()->GetOrientation());
}
void CalculatePassengerPosition(float& x, float& y, float& z, float* o /*= nullptr*/) const override;
/// This method transforms supplied global coordinates into local offsets
void CalculatePassengerOffset(float& x, float& y, float& z, float* o /*= nullptr*/) const override
{
TransportBase::CalculatePassengerOffset(x, y, z, o,
GetBase()->GetPositionX(), GetBase()->GetPositionY(),
GetBase()->GetPositionZ(), GetBase()->GetOrientation());
}
void CalculatePassengerOffset(float& x, float& y, float& z, float* o /*= nullptr*/) const override;
int32 GetMapIdForSpawning() const override { return GetBase()->GetMapId(); }
int32 GetMapIdForSpawning() const override;
void RemovePendingEvent(VehicleJoinEvent* e);
@@ -112,7 +99,6 @@ class TC_GAME_API Vehicle : public TransportBase
bool HasPendingEventForSeat(int8 seatId) const;
private:
Unit* _me; ///< The underlying unit with the vehicle kit. Can be player or creature.
VehicleEntry const* _vehicleInfo; ///< DBC data for vehicle
GuidSet vehiclePlayers;
@@ -21,13 +21,11 @@
#include "AreaTrigger.h"
#include "Corpse.h"
#include "Creature.h"
#include "CreatureAI.h"
#include "DynamicObject.h"
#include "GameObject.h"
#include "Player.h"
#include "Spell.h"
#include "SpellInfo.h"
#include "TemporarySummon.h"
#include "UnitAI.h"
#include "UpdateData.h"
-1
View File
@@ -21,7 +21,6 @@
#include "Define.h"
#include "ConditionMgr.h"
#include "ObjectGuid.h"
#include "SharedDefines.h"
#include <list>
#include <vector>
-1
View File
@@ -38,7 +38,6 @@
#include <bitset>
#include <list>
#include <memory>
#include <mutex>
class Battleground;
class BattlegroundMap;
-4
View File
@@ -22,17 +22,13 @@
#include "DBCStores.h"
#include "Group.h"
#include "InstanceSaveMgr.h"
#include "Language.h"
#include "Log.h"
#include "Map.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "World.h"
#include "WorldStateMgr.h"
#include "WorldPacket.h"
#include "WorldSession.h"
#include <boost/dynamic_bitset.hpp>
#include <numeric>
-2
View File
@@ -16,7 +16,6 @@
*/
#include "Map.h"
#include "CellImpl.h"
#include "GameTime.h"
#include "GossipDef.h"
#include "GridNotifiers.h"
@@ -26,7 +25,6 @@
#include "MotionMaster.h"
#include "ObjectMgr.h"
#include "Pet.h"
#include "ScriptMgr.h"
#include "Transport.h"
#include "WaypointManager.h"
#include "World.h"
-1
View File
@@ -20,7 +20,6 @@
#include "Common.h"
#include "Errors.h"
#include "ObjectDefines.h"
#include "ObjectGuid.h"
#include "Optional.h"
#include "Position.h"
-1
View File
@@ -20,7 +20,6 @@
#include "Field.h"
#include "Log.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Player.h"
#include "QuestPackets.h"
#include "QuestPools.h"
@@ -22,8 +22,6 @@
#include "Optional.h"
#include "MovementInfo.h"
#include "Position.h"
#include "SharedDefines.h"
#include <array>
namespace WorldPackets
{
@@ -19,8 +19,8 @@
#define _ARCHAEOLOGY_H
#include "ArchaeologyMgr.h"
#include "Common.h"
#include "WorldSession.h"
#include <array>
#define DIGS_PER_SITE 3
class Player;
@@ -22,7 +22,6 @@
#include "CellImpl.h"
#include "Common.h"
#include "DBCStores.h"
#include "EventProcessor.h"
#include "GridNotifiersImpl.h"
#include "Item.h"
#include "Log.h"
@@ -31,7 +30,6 @@
#include "MotionMaster.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "OutdoorPvPMgr.h"
#include "Pet.h"
#include "PhasingHandler.h"
@@ -46,7 +44,6 @@
#include "Util.h"
#include "Vehicle.h"
#include "Weather.h"
#include "WeatherMgr.h"
#include "WorldPacket.h"
#include <G3D/g3dmath.h>
#include <numeric>
@@ -25,7 +25,6 @@
#include "Log.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "Spell.h"
@@ -22,7 +22,6 @@
#include "EventProcessor.h"
#include "SpellAuraDefines.h"
#include "SpellInfo.h"
#include <typeinfo>
class SpellInfo;
struct SpellModifier;
@@ -15,6 +15,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SpellCastRequest_h__
#define SpellCastRequest_h__
#include "SpellPacketsCommon.h"
struct SpellCastRequestItemData
@@ -35,3 +38,5 @@ struct PendingSpellCastRequest
WorldPackets::Spells::SpellCastRequest CastRequest;
Optional<SpellCastRequestItemData> CastItemData;
};
#endif // SpellCastRequest_h__
-1
View File
@@ -21,7 +21,6 @@
#include "SharedDefines.h"
#include "DatabaseEnvFwd.h"
#include "GameTime.h"
#include <deque>
#include <vector>
#include <unordered_map>
-1
View File
@@ -23,7 +23,6 @@
#include "SpellAuras.h"
#include "SpellMgr.h"
#include "Unit.h"
#include <sstream>
#include <string>
bool _SpellScript::_Validate(SpellInfo const* entry)
-4
View File
@@ -19,16 +19,12 @@
#define __SPELL_SCRIPT_H
#include "ObjectGuid.h"
#include "Optional.h"
#include "SharedDefines.h"
#include "SpellAuraDefines.h"
#include "SpellInfo.h"
#include "Utilities/StringFormat.h"
#include "Util.h"
#include "Unit.h"
#include "advstd.h"
#include <memory>
#include <functional>
#include <stack>
-1
View File
@@ -23,7 +23,6 @@
#include "Log.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "UpdateFields.h"
#include "World.h"
// static data
@@ -16,7 +16,6 @@
*/
#include "Common.h"
#include "WorldPacket.h"
#include "WorldSession.h"
#include "Log.h"
#include "DatabaseEnv.h"
-2
View File
@@ -19,8 +19,6 @@
#define _WARDEN_MAC_H
#include "Cryptography/ARC4.h"
#include <map>
#include "Cryptography/BigNumber.h"
#include "ByteBuffer.h"
#include "Warden.h"
-2
View File
@@ -26,13 +26,11 @@
#include "Database/DatabaseEnv.h"
#include "GameTime.h"
#include "World.h"
#include "Player.h"
#include "Util.h"
#include "WardenWin.h"
#include "WardenModuleWin.h"
#include "WardenCheckMgr.h"
#include "Random.h"
#include <openssl/md5.h>
WardenWin::WardenWin() : Warden(), _serverTicks(0) {}
-2
View File
@@ -18,9 +18,7 @@
#ifndef _WARDEN_WIN_H
#define _WARDEN_WIN_H
#include <map>
#include "Cryptography/ARC4.h"
#include "Cryptography/BigNumber.h"
#include "ByteBuffer.h"
#include "Warden.h"
-2
View File
@@ -22,14 +22,12 @@
#include "Weather.h"
#include "GameTime.h"
#include "Log.h"
#include "Opcodes.h"
#include "MiscPackets.h"
#include "Player.h"
#include "Random.h"
#include "ScriptMgr.h"
#include "Util.h"
#include "World.h"
#include "WorldPacket.h"
/// Create the Weather object
Weather::Weather(uint32 zone, WeatherData const* weatherChances)
-1
View File
@@ -22,7 +22,6 @@
#ifndef __WEATHER_H
#define __WEATHER_H
#include "Common.h"
#include "SharedDefines.h"
#include "Timer.h"
-1
View File
@@ -25,7 +25,6 @@
#include "Log.h"
#include "ObjectMgr.h"
#include "Timer.h"
#include "Opcodes.h"
#include "DatabaseEnv.h"
namespace WeatherMgr
@@ -20,7 +20,6 @@
#include "InstanceScript.h"
#include "MotionMaster.h"
#include "MoveSpline.h"
#include "ObjectAccessor.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "SpellInfo.h"
@@ -21,7 +21,6 @@
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
#include "GameObject.h"
#include "GameObjectAI.h"
#include "Object.h"
#include "Map.h"
@@ -23,8 +23,6 @@
#include "Map.h"
#include "MotionMaster.h"
#include "TemporarySummon.h"
#include "VehicleDefines.h"
#include "WorldPacket.h"
ObjectData const creatureData[] =
{
@@ -24,7 +24,6 @@
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "Spell.h"
#include "SpellAuras.h"
#include "SpellScript.h"
#include "TemporarySummon.h"
@@ -19,7 +19,6 @@
#include "blackrock_caverns.h"
#include "InstanceScript.h"
#include "Creature.h"
#include "InstanceScript.h"
#include "CreatureAI.h"
#include "Map.h"
@@ -19,9 +19,7 @@
#include "ScriptMgr.h"
#include "CommonPredicates.h"
#include "GridNotifiers.h"
#include "PassiveAI.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
#include "SpellMgr.h"
@@ -21,7 +21,6 @@
#include "InstanceScript.h"
#include "Map.h"
#include "MapManager.h"
#include "Transport.h"
#include "EventMap.h"
#include "CreatureAI.h"
#include "TemporarySummon.h"
@@ -19,7 +19,6 @@
#include "deadmines.h"
#include "InstanceScript.h"
#include "MotionMaster.h"
#include "MovementTypedefs.h"
#include "PassiveAI.h"
#include "PhasingHandler.h"
#include "Player.h"
@@ -27,7 +26,6 @@
#include "SpellAuraEffects.h"
#include "SpellScript.h"
#include "SpellMgr.h"
#include "VehicleDefines.h"
#include "GridNotifiers.h"
#include "Map.h"
@@ -20,15 +20,11 @@
#include "InstanceScript.h"
#include "GridNotifiers.h"
#include "MotionMaster.h"
#include "MovementTypedefs.h"
#include "MoveSplineInit.h"
#include "PassiveAI.h"
#include "PhasingHandler.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "SpellAuraEffects.h"
#include "ObjectAccessor.h"
#include "MotionMaster.h"
#include "SpellScript.h"
enum Texts
@@ -24,7 +24,6 @@
#include "MotionMaster.h"
#include "TemporarySummon.h"
#include "VehicleDefines.h"
#include "WorldPacket.h"
#include "Player.h"
#include "CreatureAIImpl.h"
@@ -21,7 +21,6 @@
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
#include "MoveSplineInit.h"
#include "Player.h"
#include "MotionMaster.h"
#include "InstanceScript.h"
@@ -21,8 +21,6 @@
#include "Creature.h"
#include "EventMap.h"
#include "Map.h"
#include "ScriptMgr.h"
#include "MotionMaster.h"
#include "CreatureAI.h"
ObjectData const creatureData[] =
@@ -20,7 +20,6 @@
#include "InstanceScript.h"
#include "Map.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h"
#include "scarlet_monastery.h"
#include "ScriptedCreature.h"
#include "Spell.h"
@@ -20,6 +20,7 @@
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "Spell.h"
#include "SpellScript.h"
#include "SpellAuras.h"
#include "SpellAuraEffects.h"
#include "Player.h"
@@ -20,11 +20,10 @@
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "Spell.h"
#include "SpellScript.h"
#include "SpellAuras.h"
#include "SpellAuraEffects.h"
#include "Player.h"
#include "InstanceScript.h"
#include "CreatureAIImpl.h"
#include "ObjectAccessor.h"
enum Texts
@@ -19,9 +19,8 @@
#include "ObjectMgr.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "Spell.h"
#include "SpellAuras.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"
#include "Player.h"
#include "InstanceScript.h"
#include "MotionMaster.h"
@@ -20,7 +20,7 @@
#include "ObjectMgr.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "Spell.h"
#include "SpellScript.h"
#include "SpellAuras.h"
#include "SpellAuraEffects.h"
#include "Player.h"
@@ -16,6 +16,7 @@
*/
#include "shadowfang_keep.h"
#include "SpellScript.h"
#include "ObjectMgr.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
@@ -21,7 +21,6 @@
#include "GameObject.h"
#include "Player.h"
#include "InstanceScript.h"
#include "shadowfang_keep.h"
#include "Map.h"
#include "Creature.h"
#include "EventMap.h"
@@ -20,7 +20,6 @@
#include "MotionMaster.h"
#include "GridNotifiersImpl.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
#include "ScriptedEscortAI.h"
@@ -19,7 +19,7 @@
#define DEF_SHADOWFANG_H
#include "CreatureAIImpl.h"
#include "SpellScript.h"
#include "Creature.h"
#define DataHeader "SK"
#define SKScriptName "instance_shadowfang_keep"
@@ -15,7 +15,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "ObjectMgr.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "zulgurub.h"
@@ -15,7 +15,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "ObjectMgr.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "zulgurub.h"
@@ -22,7 +22,6 @@ Quest support: 3628.
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellScript.h"
#include "Player.h"
#include "Group.h"
@@ -19,7 +19,6 @@
#include "CreatureAIImpl.h"
#include "CreatureGroups.h"
#include "GameEventMgr.h"
#include "GameTime.h"
#include "GridNotifiersImpl.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h"
@@ -23,7 +23,6 @@
#include "MotionMaster.h"
#include "ObjectAccessor.h"
#include "Player.h"
#include "PassiveAI.h"
#include "PhasingHandler.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
@@ -16,7 +16,6 @@
*/
#include "halls_of_origination.h"
#include "CreatureAIImpl.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptMgr.h"
@@ -23,7 +23,6 @@
#include "MotionMaster.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"
@@ -24,10 +24,8 @@
#include "ScriptedCreature.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"
#include "TemporarySummon.h"
#include "PassiveAI.h"
#include "GridNotifiers.h"
#include "MoveSplineInit.h"
#include "MoveSpline.h"
#include "Weather.h"
#include "ObjectAccessor.h"
@@ -22,7 +22,6 @@
#include "SpellAuraEffects.h"
#include "halls_of_origination.h"
#include "InstanceScript.h"
#include "TemporarySummon.h"
enum Spells
{
@@ -29,7 +29,6 @@
#include "ScriptedCreature.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"
#include "World.h"
enum Texts
{
@@ -20,7 +20,6 @@
#include "CreatureAIImpl.h"
#include "Position.h"
#include "Creature.h"
#define DataHeader "HOO"
#define HoOScriptName "instance_halls_of_origination"
@@ -19,12 +19,10 @@
#include "throne_of_the_four_winds.h"
#include "GameObject.h"
#include "ObjectMgr.h"
#include "MoveSplineInit.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
#include "SpellMgr.h"
#include "Spell.h"
#include "Vehicle.h"
#include "InstanceScript.h"
#include "MotionMaster.h"
@@ -29,7 +29,6 @@
#include "Weather.h"
#include "Player.h"
#include "Creature.h"
#include "Map.h"
ObjectData const creatureData[] =
{
@@ -22,7 +22,6 @@
#include "SpellAuraEffects.h"
#include "GameObject.h"
#include "GameObjectAI.h"
#include "MoveSplineInit.h"
#include "Player.h"
#include "Vehicle.h"
#include "InstanceScript.h"
@@ -24,7 +24,6 @@
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "Spell.h"
#include "SpellInfo.h"
#include "SpellScript.h"
#include "TemporarySummon.h"
@@ -22,7 +22,6 @@
#include "SpellScript.h"
#include "TemporarySummon.h"
#include "InstanceScript.h"
#include "SpellScript.h"
#include "Unit.h"
#include "SpellInfo.h"
#include "vortex_pinnacle.h"
@@ -19,7 +19,6 @@
#include "AreaBoundary.h"
#include "InstanceScript.h"
#include "MotionMaster.h"
#include "MoveSplineInit.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptedCreature.h"
@@ -19,7 +19,6 @@
#include "MotionMaster.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellScript.h"
/*######
@@ -20,7 +20,6 @@
#include "MotionMaster.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellInfo.h"
@@ -24,7 +24,6 @@
#include "MoveSplineInit.h"
#include "PassiveAI.h"
#include "Spell.h"
#include "Vehicle.h"
#include "Map.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h"
@@ -35,7 +35,6 @@ EndContentData */
#include "Player.h"
#include "ScriptedEscortAI.h"
#include "TemporarySummon.h"
#include "WorldSession.h"
enum Says
{
@@ -28,7 +28,6 @@ EndScriptData */
#include "Player.h"
#include "ScriptedCreature.h"
#include "shattered_halls.h"
#include "SpellAuraEffects.h"
#include "SpellAuras.h"
#include "SpellScript.h"
#include "TemporarySummon.h"
@@ -33,7 +33,6 @@ EndContentData */
#include "MotionMaster.h"
#include "Player.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "SpellInfo.h"
#include "TemporarySummon.h"
@@ -36,7 +36,6 @@ EndContentData */
#include "ObjectAccessor.h"
#include "Player.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
/*######
## npc_commander_dawnforge
@@ -44,7 +44,6 @@ EndContentData */
#include "ObjectAccessor.h"
#include "Player.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "SpellInfo.h"
#include "SpellScript.h"
#include "TemporarySummon.h"
-2
View File
@@ -22,10 +22,8 @@
#include "ScriptMgr.h"
#include "CellImpl.h"
#include "CombatAI.h"
#include "GridNotifiersImpl.h"
#include "MotionMaster.h"
#include "PetAI.h"
#include "ScriptedCreature.h"
#include "TemporarySummon.h"
-1
View File
@@ -22,7 +22,6 @@
#include "ScriptMgr.h"
#include "CellImpl.h"
#include "CombatAI.h"
#include "GridNotifiersImpl.h"
#include "MotionMaster.h"
#include "PetAI.h"
@@ -31,7 +31,6 @@
#include "Group.h"
#include "InstanceScript.h"
#include "Item.h"
#include "LFGMgr.h"
#include "Log.h"
#include "ObjectAccessor.h"
#include "Pet.h"
@@ -25,7 +25,6 @@
#include "Containers.h"
#include "DBCStores.h"
#include "Item.h"
#include "Log.h"
#include "ObjectAccessor.h"
#include "Player.h"
#include "SpellAuraEffects.h"
@@ -29,6 +29,7 @@
#include "SpellHistory.h"
#include "SpellMgr.h"
#include "SpellScript.h"
#include "TemporarySummon.h"
#include "Unit.h"
enum ShamanSpells
@@ -31,7 +31,6 @@
#include "PetAI.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "ScriptMgr.h"
#include "SmartAI.h"
#include "SpellAuras.h"
#include "SpellHistory.h"
@@ -20,7 +20,6 @@
#include "Map.h"
#include "Player.h"
#include "SpellMgr.h"
#include "Transport.h"
#include "Unit.h"
#include "Weather.h"
#include "ObjectMgr.h"
-1
View File
@@ -23,7 +23,6 @@
#include "Common.h"
#include "Errors.h"
#include "ByteBuffer.h"
#include <vector>
/// Interface class for common access
class DB2StorageBase
@@ -20,7 +20,6 @@
#include "DBCFileLoader.h"
#include <string>
#include <vector>
struct TC_SHARED_API DBCDatabaseLoader
{
@@ -21,7 +21,6 @@
#include <memory>
#include <boost/asio/ip/tcp.hpp>
#include <boost/asio/streambuf.hpp>
#include "Common.h"
#include <future>
-1
View File
@@ -19,7 +19,6 @@
#define _TCSOAP_H
#include "Define.h"
#include <mutex>
#include <future>
#include <string>
@@ -20,7 +20,6 @@
#include "adtfile.h"
#include "vmapexport.h"
#include "VMapDefinitions.h"
#include <algorithm>
#include <stdio.h>
bool ExtractSingleModel(std::string& fname)
-2
View File
@@ -20,10 +20,8 @@
#include "model.h"
#include "wmo.h"
#include "adtfile.h"
#include "mpqfile.h"
#include "VMapDefinitions.h"
#include <G3D/Quat.h>
#include <algorithm>
#include <cstdio>
#include <limits>
-1
View File
@@ -1,5 +1,4 @@
#include "mpqfile.h"
#include <deque>
#include <cstdio>
#include "StormLib.h"
-6
View File
@@ -6,12 +6,6 @@
#ifndef MPQ_H
#define MPQ_H
#include <string.h>
#include <ctype.h>
#include <vector>
#include <iostream>
#include <deque>
#include "StormLib.h"
#include "Define.h"
#ifdef _WIN32
-2
View File
@@ -19,7 +19,6 @@
#include "wdtfile.h"
#include "dbcfile.h"
#include "wmo.h"
#include "mpqfile.h"
#include "StringFormat.h"
#include "vmapexport.h"
#include "VMapDefinitions.h"
@@ -41,7 +40,6 @@
#undef max
#include <cstdio>
#include <iostream>
#include <map>
#include <unordered_map>
#include <unordered_set>
-1
View File
@@ -17,7 +17,6 @@
#include "vmapexport.h"
#include "adtfile.h"
#include "mpqfile.h"
#include "Errors.h"
#include "vec3d.h"
#include "VMapDefinitions.h"
Loaded 100 of 101 files, more files were not shown because too many files have changed in this diff. Show more