From c8534b9a6e56b7e9166aa33cc164264928d5821e Mon Sep 17 00:00:00 2001 From: Alexis Maiquez Date: Fri, 6 Jul 2018 01:59:39 +0200 Subject: [PATCH] + Support for json parsing and basic wallpaperengine json deserialization and loading Signed-off-by: Alexis Maiquez Murcia --- .idea/workspace.xml | 477 +- BasicShaderLoader.cpp | 23 +- CMakeLists.txt | 4 +- nier_test.cpp | 5 + nlohmann/adl_serializer.hpp | 45 + nlohmann/detail/conversions/from_json.hpp | 378 + nlohmann/detail/conversions/to_chars.hpp | 1095 +++ nlohmann/detail/conversions/to_json.hpp | 357 + nlohmann/detail/exceptions.hpp | 330 + nlohmann/detail/input/binary_reader.hpp | 1693 ++++ nlohmann/detail/input/input_adapters.hpp | 374 + nlohmann/detail/input/json_sax.hpp | 687 ++ nlohmann/detail/input/lexer.hpp | 1329 +++ nlohmann/detail/input/parser.hpp | 486 ++ .../detail/iterators/internal_iterator.hpp | 25 + nlohmann/detail/iterators/iter_impl.hpp | 614 ++ nlohmann/detail/iterators/iteration_proxy.hpp | 128 + .../iterators/json_reverse_iterator.hpp | 119 + .../detail/iterators/primitive_iterator.hpp | 120 + nlohmann/detail/json_pointer.hpp | 696 ++ nlohmann/detail/json_ref.hpp | 63 + nlohmann/detail/macro_scope.hpp | 117 + nlohmann/detail/macro_unscope.hpp | 22 + nlohmann/detail/meta.hpp | 278 + nlohmann/detail/output/binary_writer.hpp | 949 ++ nlohmann/detail/output/output_adapters.hpp | 113 + nlohmann/detail/output/serializer.hpp | 631 ++ nlohmann/detail/value_t.hpp | 76 + nlohmann/json.hpp | 7723 +++++++++++++++++ nlohmann/json_fwd.hpp | 64 + wallpaperengine/Object.cpp | 45 + wallpaperengine/Object.h | 26 + wallpaperengine/Project.cpp | 39 + wallpaperengine/Project.h | 26 + wallpaperengine/Scene.cpp | 31 + wallpaperengine/Scene.h | 24 + 36 files changed, 18990 insertions(+), 222 deletions(-) create mode 100644 nlohmann/adl_serializer.hpp create mode 100644 nlohmann/detail/conversions/from_json.hpp create mode 100644 nlohmann/detail/conversions/to_chars.hpp create mode 100644 nlohmann/detail/conversions/to_json.hpp create mode 100644 nlohmann/detail/exceptions.hpp create mode 100644 nlohmann/detail/input/binary_reader.hpp create mode 100644 nlohmann/detail/input/input_adapters.hpp create mode 100644 nlohmann/detail/input/json_sax.hpp create mode 100644 nlohmann/detail/input/lexer.hpp create mode 100644 nlohmann/detail/input/parser.hpp create mode 100644 nlohmann/detail/iterators/internal_iterator.hpp create mode 100644 nlohmann/detail/iterators/iter_impl.hpp create mode 100644 nlohmann/detail/iterators/iteration_proxy.hpp create mode 100644 nlohmann/detail/iterators/json_reverse_iterator.hpp create mode 100644 nlohmann/detail/iterators/primitive_iterator.hpp create mode 100644 nlohmann/detail/json_pointer.hpp create mode 100644 nlohmann/detail/json_ref.hpp create mode 100644 nlohmann/detail/macro_scope.hpp create mode 100644 nlohmann/detail/macro_unscope.hpp create mode 100644 nlohmann/detail/meta.hpp create mode 100644 nlohmann/detail/output/binary_writer.hpp create mode 100644 nlohmann/detail/output/output_adapters.hpp create mode 100644 nlohmann/detail/output/serializer.hpp create mode 100644 nlohmann/detail/value_t.hpp create mode 100644 nlohmann/json.hpp create mode 100644 nlohmann/json_fwd.hpp create mode 100644 wallpaperengine/Object.cpp create mode 100644 wallpaperengine/Object.h create mode 100644 wallpaperengine/Project.cpp create mode 100644 wallpaperengine/Project.h create mode 100644 wallpaperengine/Scene.cpp create mode 100644 wallpaperengine/Scene.h diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 8a8b7dd..39e5b9a 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -13,14 +13,16 @@ - - - - - - - - + + + + + + + + + +