Skip to content

Commit

Permalink
-Compile fix: Allow compilation without pre-compiled headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlikely4r committed Nov 8, 2024
1 parent a22f001 commit bf44a56
Show file tree
Hide file tree
Showing 20 changed files with 24 additions and 7 deletions.
1 change: 1 addition & 0 deletions playerbot/ChatFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "strategy/values/RtiTargetValue.h"
#include "strategy/values/ItemUsageValue.h"
#include "ChatHelper.h"
#include "Guilds/GuildMgr.h"

using namespace ai;

Expand Down
1 change: 1 addition & 0 deletions playerbot/LootObjectStack.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#pragma once
#include "playerbot.h"

namespace ai
{
Expand Down
2 changes: 1 addition & 1 deletion playerbot/PlayerbotAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include "strategy/values/LootValues.h"
#include "strategy/values/AttackersValue.h"
#include "Entities/Transports.h"

#include "Guilds/GuildMgr.h"
#include "Chat/ChannelMgr.h"

#include <boost/algorithm/string.hpp>
Expand Down
1 change: 1 addition & 0 deletions playerbot/PlayerbotFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "RandomPlayerbotFactory.h"
#include "playerbot/ServerFacade.h"
#include "playerbot/AiFactory.h"
#include "Guilds/GuildMgr.h"

#ifndef MANGOSBOT_ZERO
#ifdef CMANGOS
Expand Down
3 changes: 3 additions & 0 deletions playerbot/PlayerbotMgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

#include "Common.h"
#include "PlayerbotAIBase.h"
#include "Entities/ObjectGuid.h"
#include "Database/DatabaseEnv.h"
#include "Globals/SharedDefines.h"


class WorldPacket;
Expand Down
1 change: 1 addition & 0 deletions playerbot/RandomPlayerbotFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "RandomPlayerbotFactory.h"
#include "SystemConfig.h"
#include "Social/SocialMgr.h"
#include "Guilds/GuildMgr.h"

#ifndef MANGOSBOT_ZERO
#ifdef CMANGOS
Expand Down
2 changes: 1 addition & 1 deletion playerbot/RandomPlayerbotMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "BattleGround/BattleGround.h"
#include "BattleGround/BattleGroundMgr.h"
#include "Chat/ChannelMgr.h"

#include "Guilds/GuildMgr.h"
#include "World/WorldState.h"

#ifndef MANGOSBOT_ZERO
Expand Down
1 change: 1 addition & 0 deletions playerbot/Talentspec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "Talentspec.h"
#include "playerbot/ServerFacade.h"
#include "Server/DBCStructure.h"
#include "Guilds/GuildMgr.h"

using namespace std::placeholders;

Expand Down
2 changes: 2 additions & 0 deletions playerbot/strategy/actions/GenericSpellActions.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once
#include "playerbot/strategy/Action.h"
#include "playerbot/PlayerbotAIConfig.h"
#include "playerbot/PlayerbotAI.h"

namespace ai
{
Expand Down Expand Up @@ -396,6 +397,7 @@ namespace ai

BUFF_ACTION(CastWillOfTheForsakenAction, "will of the forsaken");
BUFF_ACTION_U(CastEscapeArtistAction, "escape artist", !ai->HasAura("stealth", AI_VALUE(Unit*, "self target")));

#ifdef MANGOSBOT_TWO
SPELL_ACTION(CastEveryManforHimselfAction, "every man for himself");
#endif
Expand Down
1 change: 1 addition & 0 deletions playerbot/strategy/actions/GuildAcceptAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "playerbot/playerbot.h"
#include "GuildAcceptAction.h"
#include "playerbot/ServerFacade.h"
#include "Guilds/GuildMgr.h"

using namespace ai;

Expand Down
1 change: 1 addition & 0 deletions playerbot/strategy/actions/GuildCreateActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#endif
#include "playerbot/ServerFacade.h"
#include "playerbot/TravelMgr.h"
#include "Guilds/GuildMgr.h"

using namespace ai;

Expand Down
1 change: 1 addition & 0 deletions playerbot/strategy/actions/GuildManagementActions.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once
#include "GenericActions.h"
#include "Guilds/GuildMgr.h"

namespace ai
{
Expand Down
1 change: 1 addition & 0 deletions playerbot/strategy/actions/InviteToGroupAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "InviteToGroupAction.h"
#include "playerbot/ServerFacade.h"
#include "playerbot/strategy/values/Formations.h"
#include "Guilds/GuildMgr.h"

namespace ai
{
Expand Down
1 change: 1 addition & 0 deletions playerbot/strategy/actions/ReachTargetActions.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "playerbot/strategy/NamedObjectContext.h"
#include "playerbot/strategy/values/MoveStyleValue.h"
#include "GenericSpellActions.h"
#include "playerbot/PlayerbotFactory.h"

namespace ai
{
Expand Down
1 change: 1 addition & 0 deletions playerbot/strategy/triggers/GuildTriggers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "playerbot/ServerFacade.h"
#include "playerbot/strategy/values/BudgetValues.h"
#include "playerbot/TravelMgr.h"
#include "Guilds/GuildMgr.h"

using namespace ai;

Expand Down
2 changes: 1 addition & 1 deletion playerbot/strategy/values/EngineValues.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#include "EngineValues.h"

#include "playerbot/strategy/AiObjectContext.h"

using namespace ai;

Expand Down
3 changes: 2 additions & 1 deletion playerbot/strategy/values/MountValues.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

#include "MountValues.h"
#include "playerbot/Chathelper.h"
#include "playerbot/strategy/AiObjectContext.h"

using namespace ai;

Expand Down
2 changes: 1 addition & 1 deletion playerbot/strategy/warlock/WarlockActions.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@


using namespace ai;
//using namespace ai;
2 changes: 1 addition & 1 deletion playerbot/strategy/warlock/WarlockMultipliers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
//#include "WarlockMultipliers.h"
//#include "WarlockActions.h"

using namespace ai;
//using namespace ai;
2 changes: 1 addition & 1 deletion playerbot/strategy/warrior/WarriorMultipliers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
//#include "WarriorMultipliers.h"
//#include "WarriorActions.h"

using namespace ai;
//using namespace ai;

0 comments on commit bf44a56

Please sign in to comment.