diff options
-rw-r--r-- | editor/app.hpp | 2 | ||||
-rw-r--r-- | src/chunk.hpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/editor/app.hpp b/editor/app.hpp index ac3abdb3..2e9efd7d 100644 --- a/editor/app.hpp +++ b/editor/app.hpp @@ -45,7 +45,7 @@ enum class popup_target_type : unsigned char { }; struct popup_target final { - object_id id; + object_id id; // todo switch to weak_ptr<entity> popup_target_type target = popup_target_type::none; bool operator==(const popup_target&) const; }; diff --git a/src/chunk.hpp b/src/chunk.hpp index be90c89a..ae19ad62 100644 --- a/src/chunk.hpp +++ b/src/chunk.hpp @@ -121,8 +121,8 @@ private: std::array<variant_t, TILE_COUNT*2> _wall_variants = {}; std::vector<std::shared_ptr<entity>> _entities; - std::vector<std::array<UnsignedShort, 6>> scenery_indexes; - std::vector<std::array<vertex, 4>> scenery_vertexes; + std::vector<std::array<UnsignedShort, 6>> scenery_indexes; // todo move to anim_mesh + std::vector<std::array<vertex, 4>> scenery_vertexes; // same struct world* _world; GL::Mesh ground_mesh{NoCreate}, wall_mesh{NoCreate}, scenery_mesh{NoCreate}; |