diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-10 02:02:13 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-10 02:25:37 +0100 |
commit | d83927d06f3dd848c995a26fde582b78c704f80c (patch) | |
tree | f0898e9fbf973fe4ad986fc976c3e0a6ca14ee9d /loader/ground-traits.hpp | |
parent | bc6349ce09ced9978384cd90df020a3350888c38 (diff) |
wip scenery loader
Diffstat (limited to 'loader/ground-traits.hpp')
-rw-r--r-- | loader/ground-traits.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/ground-traits.hpp b/loader/ground-traits.hpp index df661e26..bcd89cb1 100644 --- a/loader/ground-traits.hpp +++ b/loader/ground-traits.hpp @@ -18,9 +18,11 @@ template<> struct atlas_loader_traits<ground_atlas> static std::shared_ptr<Atlas>& atlas_of(Cell& x); static StringView name_of(const Cell& x); static StringView name_of(const Atlas& x); + static String& name_of(Cell& x); static void ensure_atlases_loaded(Storage& st); static const Cell& make_invalid_atlas(Storage& st); static std::shared_ptr<Atlas> make_atlas(StringView name, const Cell& c); + static Optional<Cell> make_cell(StringView name); }; } // namespace floormat::loader_detail |