#pragma once #include "atlas-loader-fwd.hpp" #include namespace floormat { struct scenery_cell; struct scenery_proto; } namespace floormat::loader_detail { template<> struct atlas_loader_traits { using Atlas = scenery_proto; using Cell = scenery_cell; using Self = atlas_loader_traits; using Storage = atlas_storage; static StringView loader_name(); static const Optional& atlas_of(const Cell& x); static Optional& atlas_of(Cell& x); static StringView name_of(const Cell& x); static String& name_of(Cell& x); static void atlas_list(Storage& st); static Cell make_invalid_atlas(Storage& st); static Optional make_atlas(StringView name, const Cell& c); static Optional make_cell(StringView name); }; } // namespace floormat::loader_detail