summaryrefslogtreecommitdiffhomepage
path: root/loader/impl.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-27 22:18:52 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-27 22:18:52 +0100
commit01099fc97c23027cf8e161bec2927a0decc4c44b (patch)
treef12fbbb36d09645612552a02a3671a5691c0f46f /loader/impl.hpp
parent6109f50c2726c6fbda5ca8cd9f533d2184e93829 (diff)
loader: validate atlas names before loading
Diffstat (limited to 'loader/impl.hpp')
-rw-r--r--loader/impl.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/loader/impl.hpp b/loader/impl.hpp
index 343d3ee1..04b9733f 100644
--- a/loader/impl.hpp
+++ b/loader/impl.hpp
@@ -37,6 +37,7 @@ struct loader_impl final : loader_
static anim_def deserialize_anim(StringView filename);
static void system_init();
static bool chdir(StringView pathname);
+ [[nodiscard]] static bool check_atlas_name(StringView name);
void ensure_plugins();
explicit loader_impl();