Use a precompiled header.
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
2020-09-25 13:05:15 +02:00
parent 5970dc5d90
commit 53bfbd36c2
72 changed files with 6 additions and 158 deletions

View File

@@ -1,6 +1,4 @@
#include "Battle.hpp"
#include <Arbutils/Assert.hpp>
#include <memory>
#include "../EventHooks/EventDataClasses.hpp"
#include "../Flow/TurnHandler.hpp"
#include "../Flow/TurnOrdering.hpp"

View File

@@ -1,9 +1,6 @@
#ifndef CREATURELIB_BATTLE_HPP
#define CREATURELIB_BATTLE_HPP
#include <Arbutils/Assert.hpp>
#include <Arbutils/Collections/List.hpp>
#include <memory>
#include "../EventHooks/EventHook.hpp"
#include "../Flow/ChoiceQueue.hpp"
#include "../History/HistoryHolder.hpp"

View File

@@ -1,8 +1,6 @@
#ifndef CREATURELIB_BATTLEPARTY_HPP
#define CREATURELIB_BATTLEPARTY_HPP
#include <Arbutils/Assert.hpp>
#include <Arbutils/Collections/List.hpp>
#include "CreatureIndex.hpp"
#include "CreatureParty.hpp"

View File

@@ -1,7 +1,6 @@
#ifndef CREATURELIB_BATTLERESULT_HPP
#define CREATURELIB_BATTLERESULT_HPP
#include <cstdint>
namespace CreatureLib::Battling {
class BattleResult {
bool _conclusiveResult;

View File

@@ -1,5 +1,4 @@
#include "BattleSide.hpp"
#include <algorithm>
#include "../EventHooks/EventDataClasses.hpp"
#include "Battle.hpp"

View File

@@ -1,9 +1,6 @@
#ifndef CREATURELIB_BATTLESIDE_HPP
#define CREATURELIB_BATTLESIDE_HPP
#include <Arbutils/Assert.hpp>
#include <Arbutils/Collections/List.hpp>
#include <vector>
#include "../TurnChoices/BaseTurnChoice.hpp"
#include "Creature.hpp"

View File

@@ -1,8 +1,5 @@
#include "CreateCreature.hpp"
#include <sstream>
#include <utility>
#include "../Library/BattleLibrary.hpp"
using namespace CreatureLib::Battling;

View File

@@ -1,7 +1,6 @@
#ifndef CREATURELIB_CREATECREATURE_HPP
#define CREATURELIB_CREATECREATURE_HPP
#include <Arbutils/Collections/List.hpp>
#include "../../Library/DataLibrary.hpp"
#include "../Library/BattleLibrary.hpp"
#include "Creature.hpp"

View File

@@ -1,6 +1,4 @@
#include "Creature.hpp"
#include <algorithm>
#include <utility>
#include "../EventHooks/EventDataClasses.hpp"
#include "../Models/Battle.hpp"
#include "../ScriptHandling/ScriptMacros.hpp"

View File

@@ -1,9 +1,6 @@
#ifndef CREATURELIB_BATTLECREATURE_HPP
#define CREATURELIB_BATTLECREATURE_HPP
#include <Arbutils/Collections/List.hpp>
#include <Arbutils/Memory/BorrowedPtr.hpp>
#include <Arbutils/Memory/UniquePtrList.hpp>
#include "../../Defines.hpp"
#include "../../Library/ClampedStatisticSet.hpp"
#include "../../Library/CreatureData/CreatureSpecies.hpp"

View File

@@ -1,7 +1,6 @@
#ifndef CREATURELIB_CREATUREINDEX_HPP
#define CREATURELIB_CREATUREINDEX_HPP
#include <cstdint>
#include "Creature.hpp"
namespace CreatureLib::Battling {

View File

@@ -1,7 +1,6 @@
#ifndef CREATURELIB_CREATUREPARTY_HPP
#define CREATURELIB_CREATUREPARTY_HPP
#include <Arbutils/Collections/List.hpp>
#include "Creature.hpp"
namespace CreatureLib::Battling {

View File

@@ -1,9 +1,6 @@
#ifndef CREATURELIB_DAMAGESOURCE_HPP
#define CREATURELIB_DAMAGESOURCE_HPP
#include <Arbutils/Enum.hpp>
#include <cstdint>
namespace CreatureLib::Battling {
ENUM(DamageSource, uint8_t, AttackDamage);
}

View File

@@ -1,12 +1,6 @@
#ifndef CREATURELIB_EXECUTINGATTACK_HPP
#define CREATURELIB_EXECUTINGATTACK_HPP
#include <Arbutils/Assert.hpp>
#include <Arbutils/Collections/Dictionary.hpp>
#include <Arbutils/Collections/List.hpp>
#include <cstdint>
#include <unordered_map>
#include <vector>
#include "Creature.hpp"
namespace CreatureLib::Battling {

View File

@@ -1,5 +1,5 @@
#include "LearnedAttack.hpp"
#include <Arbutils/Assert.hpp>
CreatureLib::Battling::LearnedAttack::LearnedAttack(
const ArbUt::BorrowedPtr<const CreatureLib::Library::AttackData>& attack, uint8_t maxUses,
AttackLearnMethod learnMethod)

View File

@@ -1,8 +1,6 @@
#ifndef CREATURELIB_LEARNEDATTACK_HPP
#define CREATURELIB_LEARNEDATTACK_HPP
#include <Arbutils/Memory/BorrowedPtr.hpp>
#include <memory>
#include "../../Library/Attacks/AttackData.hpp"
#include "AttackLearnMethod.hpp"