From 6518fe5c73ab1e762361ea332325c59d9933e7b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Fri, 23 Apr 2021 14:53:51 +0200 Subject: [PATCH] ksys/act: Move Attention source files to a separate folder --- src/KingSystem/ActorSystem/Attention/actAttention.cpp | 3 +++ src/KingSystem/ActorSystem/{ => Attention}/actAttention.h | 0 src/KingSystem/ActorSystem/CMakeLists.txt | 4 ++-- src/KingSystem/ActorSystem/actAttention.cpp | 3 --- src/KingSystem/Resource/resResourceAttClient.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 src/KingSystem/ActorSystem/Attention/actAttention.cpp rename src/KingSystem/ActorSystem/{ => Attention}/actAttention.h (100%) delete mode 100644 src/KingSystem/ActorSystem/actAttention.cpp diff --git a/src/KingSystem/ActorSystem/Attention/actAttention.cpp b/src/KingSystem/ActorSystem/Attention/actAttention.cpp new file mode 100644 index 00000000..61e6b0b7 --- /dev/null +++ b/src/KingSystem/ActorSystem/Attention/actAttention.cpp @@ -0,0 +1,3 @@ +#include "actAttention.h" + +namespace ksys::act {} // namespace ksys::act diff --git a/src/KingSystem/ActorSystem/actAttention.h b/src/KingSystem/ActorSystem/Attention/actAttention.h similarity index 100% rename from src/KingSystem/ActorSystem/actAttention.h rename to src/KingSystem/ActorSystem/Attention/actAttention.h diff --git a/src/KingSystem/ActorSystem/CMakeLists.txt b/src/KingSystem/ActorSystem/CMakeLists.txt index 78676af5..d7bf5721 100644 --- a/src/KingSystem/ActorSystem/CMakeLists.txt +++ b/src/KingSystem/ActorSystem/CMakeLists.txt @@ -53,8 +53,8 @@ target_sources(uking PRIVATE actAiRoot.h actASSetting.cpp actASSetting.h - actAttention.cpp - actAttention.h + Attention/actAttention.cpp + Attention/actAttention.h actBaseProc.cpp actBaseProc.h actBaseProcCreateTask.cpp diff --git a/src/KingSystem/ActorSystem/actAttention.cpp b/src/KingSystem/ActorSystem/actAttention.cpp deleted file mode 100644 index 5778c11d..00000000 --- a/src/KingSystem/ActorSystem/actAttention.cpp +++ /dev/null @@ -1,3 +0,0 @@ -#include "KingSystem/ActorSystem/actAttention.h" - -namespace ksys::act {} // namespace ksys::act diff --git a/src/KingSystem/Resource/resResourceAttClient.h b/src/KingSystem/Resource/resResourceAttClient.h index 6f9ee041..a6b1f3b8 100644 --- a/src/KingSystem/Resource/resResourceAttClient.h +++ b/src/KingSystem/Resource/resResourceAttClient.h @@ -4,7 +4,7 @@ #include #include #include -#include "KingSystem/ActorSystem/actAttention.h" +#include "KingSystem/ActorSystem/Attention/actAttention.h" #include "KingSystem/Resource/resResource.h" #include "KingSystem/Utils/ParamIO.h" #include "KingSystem/Utils/Types.h"