diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-14 20:13:27 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-14 20:17:47 +0100 |
commit | 64e6d6c051c9258a52737ec40c0e5d32adac270e (patch) | |
tree | e17515b4e819a70af0cdc616b9273b96cc35f297 /editor/ground-editor.cpp | |
parent | ee644efa0c6bf9e5e31e5eb59df49f99d4175876 (diff) |
try to fix msvc
Diffstat (limited to 'editor/ground-editor.cpp')
-rw-r--r-- | editor/ground-editor.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/editor/ground-editor.cpp b/editor/ground-editor.cpp index a1abf15c..4c5316a0 100644 --- a/editor/ground-editor.cpp +++ b/editor/ground-editor.cpp @@ -1,21 +1,25 @@ #include "ground-editor.hpp" #include "compat/assert.hpp" +#include "compat/exception.hpp" #include "src/ground-atlas.hpp" #include "src/world.hpp" #include "src/random.hpp" #include "keys.hpp" #include "loader/loader.hpp" -#include "compat/exception.hpp" +#include "loader/ground-cell.hpp" #include <memory> #include <Corrade/Containers/GrowableArray.h> #include <Corrade/Utility/Path.h> namespace floormat { +typename std::map<StringView, ground_cell>::const_iterator ground_editor::begin() const noexcept { return _atlases.cbegin(); } +typename std::map<StringView, ground_cell>::const_iterator ground_editor::end() const noexcept { return _atlases.cend(); } + struct ground_editor::tuple { std::shared_ptr<ground_atlas> atlas; - Array<decltype(tile_image_proto::variant)> variant; + Array<variant_t> variant; }; ground_editor::ground_editor() |