ksys: Forward declare Actor where possible

Reduces build times when Actor.h is modified.
This commit is contained in:
Léo Lam 2021-10-17 00:08:33 +02:00
parent 28515aceb5
commit 8056fb3881
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
7 changed files with 15 additions and 3 deletions

View File

@ -1,4 +1,5 @@
#include "KingSystem/ActorSystem/actBaseProcCreateTask.h"
#include "KingSystem/ActorSystem/actBaseProc.h"
#include "KingSystem/ActorSystem/actBaseProcHandle.h"
#include "KingSystem/ActorSystem/actBaseProcUnit.h"
#include "KingSystem/Map/mapObject.h"

View File

@ -1,4 +1,5 @@
#include "KingSystem/Map/mapObject.h"
#include "KingSystem/ActorSystem/actActor.h"
#include "KingSystem/ActorSystem/actBaseProcMgr.h"
#include "KingSystem/ActorSystem/actInfoData.h"
#include "KingSystem/GameData/gdtManager.h"

View File

@ -3,7 +3,6 @@
#include <basis/seadTypes.h>
#include <heap/seadHeap.h>
#include <prim/seadTypedBitFlag.h>
#include "KingSystem/ActorSystem/actActor.h"
#include "KingSystem/ActorSystem/actActorLinkConstDataAccess.h"
#include "KingSystem/ActorSystem/actDebug.h"
#include "KingSystem/GameData/gdtFlagHandle.h"
@ -14,6 +13,7 @@
#include "KingSystem/Utils/Types.h"
namespace ksys::act {
class Actor;
class BaseProc;
class BaseProcInitializer;
class BaseProcCreateTask;

View File

@ -1,5 +1,6 @@
#include "KingSystem/Map/mapPlacementMgr.h"
#include <thread/seadThreadUtil.h>
#include "KingSystem/ActorSystem/actActor.h"
#include "KingSystem/ActorSystem/actActorCreator.h"
#include "KingSystem/ActorSystem/actClusteredRenderer.h"
#include "KingSystem/ActorSystem/actInfoData.h"

View File

@ -3,10 +3,14 @@
#include <container/seadObjArray.h>
#include <heap/seadDisposer.h>
#include <heap/seadExpHeap.h>
#include <math/seadVector.h>
#include <prim/seadDelegate.h>
#include <prim/seadTypedBitFlag.h>
#include <thread/seadDelegateThread.h>
#include "KingSystem/ActorSystem/actActor.h"
#include "KingSystem/Utils/Types.h"
namespace ksys::act {
class Actor;
class ClusteredRenderer;
class InstParamPack;
} // namespace ksys::act

View File

@ -1,5 +1,6 @@
#include "KingSystem/Quest/qstStep.h"
#include <memory>
#include "KingSystem/ActorSystem/actActor.h"
#include "KingSystem/Quest/qstActorData.h"
#include "KingSystem/Quest/qstIndicator.h"

View File

@ -2,12 +2,16 @@
#include <container/seadObjArray.h>
#include <container/seadPtrArray.h>
#include "KingSystem/ActorSystem/actActor.h"
#include <prim/seadSafeString.h>
#include "KingSystem/ActorSystem/actBaseProcLink.h"
#include "KingSystem/GameData/gdtFlagHandle.h"
#include "KingSystem/Utils/Byaml/Byaml.h"
#include "KingSystem/Utils/Types.h"
namespace ksys::act {
class Actor;
}
namespace ksys::qst {
struct ActorData;