summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Query/queryCheckDistanceForWarp.h
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2026-09-14 00:02:22 +0200
committerLéo Lam <leo@leolam.fr>2026-09-14 00:02:22 +0200
commitf4cd38c43b436fe91def1a1b0b3dfe0134369870 (patch)
tree1ab07eab2ea43c0719d6b1309743715bd80cd408 /src/Game/Actor/Query/queryCheckDistanceForWarp.h
parent5b26254bfe69560b0993a50d8ba8f418ae749380 (diff)
Actor: move all AI code under Game/Actor
Link order shows one sorted actor tree, not a separate AI project: the Action/AI/Query folders and per-feature folders (Camera, Player, Horse, ...) come out of the same archive rounds as the actor classes. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
Diffstat (limited to 'src/Game/Actor/Query/queryCheckDistanceForWarp.h')
-rw-r--r--src/Game/Actor/Query/queryCheckDistanceForWarp.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Game/Actor/Query/queryCheckDistanceForWarp.h b/src/Game/Actor/Query/queryCheckDistanceForWarp.h
new file mode 100644
index 00000000..11f06709
--- /dev/null
+++ b/src/Game/Actor/Query/queryCheckDistanceForWarp.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#include "KingSystem/ActorSystem/actAiQuery.h"
+
+namespace uking::query {
+
+class CheckDistanceForWarp : public ksys::act::ai::Query {
+ SEAD_RTTI_OVERRIDE(CheckDistanceForWarp, Query)
+public:
+ explicit CheckDistanceForWarp(const InitArg& arg);
+ ~CheckDistanceForWarp() override;
+ int doQuery() override;
+
+ void loadParams() override;
+ void loadParams(const evfl::QueryArg& arg) override;
+
+protected:
+ sead::SafeString mWarpDestMapName{};
+ sead::SafeString mWarpDestPosName{};
+};
+
+} // namespace uking::query