skypjack 1 месяц назад
Родитель
Сommit
3fa832dd40
6 измененных файлов с 17 добавлено и 0 удалено
  1. 1 0
      CMakeLists.txt
  2. 1 0
      TODO
  3. 1 0
      entt.imp
  4. 12 0
      src/entt/entity/io.hpp
  5. 1 0
      test/CMakeLists.txt
  6. 1 0
      test/entt/entity/io.cpp

+ 1 - 0
CMakeLists.txt

@@ -154,6 +154,7 @@ if(ENTT_INCLUDE_HEADERS)
         entity/handle.hpp
         entity/mixin.hpp
         entity/helper.hpp
+        entity/io.hpp
         entity/organizer.hpp
         entity/ranges.hpp
         entity/registry.hpp

+ 1 - 0
TODO

@@ -30,3 +30,4 @@ TODO:
 * storage: shrink_to_fit does not work with reentrant destructor?
 * finish the imgui viewer/editor!
 * add basic_storage constructor which accepts a pair of iterators if possible
+* entity io

+ 1 - 0
entt.imp

@@ -19,6 +19,7 @@
   { "include": [ "@[\"<].*/entity/fwd\\.hpp[\">]", "private", "<entt/entity/group.hpp>", "public" ] },
   { "include": [ "@[\"<].*/entity/fwd\\.hpp[\">]", "private", "<entt/entity/handle.hpp>", "public" ] },
   { "include": [ "@[\"<].*/entity/fwd\\.hpp[\">]", "private", "<entt/entity/helper.hpp>", "public" ] },
+  { "include": [ "@[\"<].*/entity/fwd\\.hpp[\">]", "private", "<entt/entity/io.hpp>", "public" ] },
   { "include": [ "@[\"<].*/entity/fwd\\.hpp[\">]", "private", "<entt/entity/mixin.hpp>", "public" ] },
   { "include": [ "@[\"<].*/entity/fwd\\.hpp[\">]", "private", "<entt/entity/organizer.hpp>", "public" ] },
   { "include": [ "@[\"<].*/entity/fwd\\.hpp[\">]", "private", "<entt/entity/ranges.hpp>", "public" ] },

+ 12 - 0
src/entt/entity/io.hpp

@@ -0,0 +1,12 @@
+#ifndef ENTT_ENTITY_IO_HPP
+#define ENTT_ENTITY_IO_HPP
+
+#include "fwd.hpp"
+
+namespace entt {
+
+// towk in progress :)
+
+} // namespace entt
+
+#endif

+ 1 - 0
test/CMakeLists.txt

@@ -276,6 +276,7 @@ SETUP_BASIC_TEST(
         entt/entity/group.cpp
         entt/entity/handle.cpp
         entt/entity/helper.cpp
+        entt/entity/io.cpp
         entt/entity/organizer.cpp
         entt/entity/reactive_mixin.cpp
         entt/entity/registry.cpp

+ 1 - 0
test/entt/entity/io.cpp

@@ -0,0 +1 @@
+#include <gtest/gtest.h>