summaryrefslogtreecommitdiffhomepage
path: root/loader/atlas-loader.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-11 08:32:10 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-11 08:49:53 +0100
commit017cb08bf33608f1ceb8d59800a8d1d2f9d5d455 (patch)
tree8918ad2e036d8dc79b7b2cbdce858a9617551aea /loader/atlas-loader.hpp
parentb2be7d57642197c0f65d2645c767c4f868ababb1 (diff)
loader: allow adding atlases to the list without parsing them
Diffstat (limited to 'loader/atlas-loader.hpp')
-rw-r--r--loader/atlas-loader.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/loader/atlas-loader.hpp b/loader/atlas-loader.hpp
index 3dc1707a..919e4c90 100644
--- a/loader/atlas-loader.hpp
+++ b/loader/atlas-loader.hpp
@@ -28,6 +28,10 @@ public:
const std::shared_ptr<Atlas>& get_atlas(StringView name, loader_policy p);
std::shared_ptr<Atlas> make_atlas(StringView name, const Cell& cell);
+ bool cell_exists(StringView name);
+ const Cell& get_cell(StringView name);
+ void register_cell(Cell&& c);
+
const Cell& get_invalid_atlas();
};