Fix bot PCH

On unix builds, the PCH would collide with Games PCH
This commit is contained in:
Foereaper 2015-04-04 11:38:55 +02:00
parent e4e4f60fff
commit 6ee9bc9e9d
256 changed files with 255 additions and 255 deletions

View File

@ -19,9 +19,9 @@
set(LIBRARY_NAME Bots)
#Add PCH Files
set(bots_PCH "${CMAKE_CURRENT_SOURCE_DIR}/pchdef.h")
set(bots_PCH "${CMAKE_CURRENT_SOURCE_DIR}/botpch.h")
if(PCH)
LIST(APPEND bots_PCH "${CMAKE_CURRENT_SOURCE_DIR}/pchdef.cpp")
LIST(APPEND bots_PCH "${CMAKE_CURRENT_SOURCE_DIR}/botpch.cpp")
endif()
#Base files

View File

@ -1,4 +1,4 @@
#include "../pchdef.h"
#include "../botpch.h"
#include "AhBotConfig.h"
#include "SystemConfig.h"
std::vector<std::string> split(const std::string &s, char delim);

View File

@ -0,0 +1 @@
//#include "botpch.h"

View File

@ -1 +0,0 @@
//#include "pchdef.h"

View File

@ -1,4 +1,4 @@
#include "../pchdef.h"
#include "../botpch.h"
#include "playerbot.h"
#include "AiFactory.h"
#include "strategy/Engine.h"

View File

@ -1,4 +1,4 @@
#include "../pchdef.h"
#include "../botpch.h"
#include "playerbot.h"
#include "ChatFilter.h"
#include "strategy/values/RtiTargetValue.h"

View File

@ -1,4 +1,4 @@
#include "../pchdef.h"
#include "../botpch.h"
#include "playerbot.h"
#include "ChatHelper.h"
#include "AiFactory.h"

View File

@ -1,4 +1,4 @@
#include "../pchdef.h"
#include "../botpch.h"
#include "playerbot.h"
#include "FleeManager.h"
#include "PlayerbotAIConfig.h"

View File

@ -1,4 +1,4 @@
#include "../pchdef.h"
#include "../botpch.h"
#include "playerbot.h"
#include <algorithm>
#include <functional>

View File

@ -1,4 +1,4 @@
#include "../pchdef.h"
#include "../botpch.h"
#include "LootObjectStack.h"
#include "playerbot.h"

View File

@ -1,4 +1,4 @@
#include "../pchdef.h"
#include "../botpch.h"
#include "PlayerbotMgr.h"
#include "playerbot.h"

View File

@ -1,4 +1,4 @@
#include "../pchdef.h"
#include "../botpch.h"
#include "playerbot.h"
#include "PlayerbotAIConfig.h"

View File

@ -1,4 +1,4 @@
#include "../pchdef.h"
#include "../botpch.h"
#include "PlayerbotAIConfig.h"
#include "playerbot.h"
#include "RandomPlayerbotFactory.h"

View File

@ -1,4 +1,4 @@
#include "../pchdef.h"
#include "../botpch.h"
#include "playerbot.h"
#include "PlayerbotFactory.h"
#include "SQLStorages.h"

View File

@ -1,5 +1,5 @@
#include "Config/Config.h"
#include "../pchdef.h"
#include "../botpch.h"
#include "playerbot.h"
#include "PlayerbotAIConfig.h"
#include "PlayerbotFactory.h"

View File

@ -1,5 +1,5 @@
#include "Config/Config.h"
#include "../pchdef.h"
#include "../botpch.h"
#include "PlayerbotMgr.h"
#include "playerbot.h"
#include "PlayerbotAIConfig.h"

View File

@ -1,5 +1,5 @@
#include "Config/Config.h"
#include "../pchdef.h"
#include "../botpch.h"
#include "playerbot.h"
#include "PlayerbotAIConfig.h"
#include "PlayerbotFactory.h"

View File

@ -1,5 +1,5 @@
#include "Config/Config.h"
#include "../pchdef.h"
#include "../botpch.h"
#include "playerbot.h"
#include "PlayerbotAIConfig.h"
#include "PlayerbotFactory.h"

View File

@ -1,4 +1,4 @@
#include "../../pchdef.h"
#include "../../botpch.h"
#include "../playerbot.h"
#include "AiObjectContext.h"
#include "Action.h"

View File

@ -1,4 +1,4 @@
#include "../../pchdef.h"
#include "../../botpch.h"
#include "../playerbot.h"
#include "ActionBasket.h"

View File

@ -1,4 +1,4 @@
#include "../../pchdef.h"
#include "../../botpch.h"
#include "../playerbot.h"
#include "AiObject.h"

View File

@ -1,4 +1,4 @@
#include "../../pchdef.h"
#include "../../botpch.h"
#include "../playerbot.h"
#include "AiObjectContext.h"
#include "NamedObjectContext.h"

View File

@ -1,4 +1,4 @@
#include "../../pchdef.h"
#include "../../botpch.h"
#include "../playerbot.h"
#include "Engine.h"

View File

@ -1,4 +1,4 @@
#include "../../pchdef.h"
#include "../../botpch.h"
#include "../playerbot.h"
#include "Event.h"

View File

@ -1,4 +1,4 @@
#include "../../pchdef.h"
#include "../../botpch.h"
#include "../playerbot.h"
#include "Multiplier.h"

View File

@ -1,4 +1,4 @@
#include "../../pchdef.h"
#include "../../botpch.h"
#include "../playerbot.h"
#include "PassiveMultiplier.h"

View File

@ -1,4 +1,4 @@
#include "../../pchdef.h"
#include "../../botpch.h"
#include "../playerbot.h"
#include "Action.h"
#include "Queue.h"

View File

@ -1,4 +1,4 @@
#include "../../pchdef.h"
#include "../../botpch.h"
#include "../playerbot.h"
#include "Strategy.h"
#include "NamedObjectContext.h"

View File

@ -1,4 +1,4 @@
#include "../../pchdef.h"
#include "../../botpch.h"
#include "../playerbot.h"
#include "Trigger.h"
#include "Action.h"

View File

@ -1,4 +1,4 @@
#include "../../pchdef.h"
#include "../../botpch.h"
#include "../playerbot.h"
#include "Value.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "AcceptQuestAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "AddLootAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "AreaTriggerAction.h"
#include "../../PlayerbotAIConfig.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "AttackAction.h"
#include "MovementGenerator.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "BankAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "BuffAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "BuyAction.h"
#include "../ItemVisitors.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "CastCustomSpellAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "ChangeChatAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "ChangeStrategyAction.h"
#include "../../PlayerbotAIConfig.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "ChangeTalentsAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "ChatShortcutActions.h"
#include "../../PlayerbotAIConfig.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "CheckMountStateAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "DestroyItemAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "DropQuestAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "EmoteAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "EquipAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "FollowActions.h"
#include "../../PlayerbotAIConfig.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "GenericActions.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "GenericActions.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "GossipHelloAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "GuildAcceptAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "GuildBankAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "HelpAction.h"
#include "ChatActionContext.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "InventoryAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "InventoryChangeFailureAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "LfgActions.h"
#include "../../AiFactory.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "ListQuestsActions.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "ListSpellsAction.h"
#include "../ItemVisitors.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "LogLevelAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "LootAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "LootRollAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "LootStrategyAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "../values/LastMovementValue.h"
#include "MovementActions.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "NonCombatActions.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "PositionAction.h"
#include "../values/PositionValue.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "QueryItemUsageAction.h"
#include "../../../ahbot/AhBot.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "QueryQuestAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "QuestAction.h"
#include "../../PlayerbotAIConfig.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "ReadyCheckAction.h"
#include "../../PlayerbotAIConfig.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "RememberTaxiAction.h"
#include "../values/LastMovementValue.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "RepairAllAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "ResetAiAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "ReviveFromCorpseAction.h"
#include "../../PlayerbotFactory.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "RewardAction.h"
#include "../ItemVisitors.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "SaveManaAction.h"
#include "../../AiFactory.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "../../RandomPlayerbotMgr.h"
#include "SecurityCheckAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "SellAction.h"
#include "../ItemVisitors.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "SetHomeAction.h"
#include "../../PlayerbotAIConfig.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "StatsAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "StayActions.h"
#include "../values/LastMovementValue.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "SuggestWhatToDoAction.h"
#include "../../../ahbot/AhBot.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "TalkToQuestGiverAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "TaxiAction.h"
#include "../values/LastMovementValue.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "TeleportAction.h"
#include "../values/LastMovementValue.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "TellCastFailedAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "TellItemCountAction.h"
#include "../values/ItemCountValue.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "TellLosAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "TellReputationAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "TellTargetAction.h"
#include "ThreatManager.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "TradeAction.h"
#include "../ItemVisitors.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "TradeStatusAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "TrainerAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "UnequipAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "UseItemAction.h"
#include "DBCStore.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "UseMeetingStoneAction.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "WhoAction.h"
#include "../../AiFactory.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "DruidMultipliers.h"
#include "BearTankDruidStrategy.h"

View File

@ -1,4 +1,4 @@
#include "pchdef.h"
#include "botpch.h"
#include "../../playerbot.h"
#include "DruidMultipliers.h"
#include "CasterDruidStrategy.h"

Some files were not shown because too many files have changed in this diff Show More