Skip to content

Commit

Permalink
chore: move serialization utils to imgui plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
luishfonseca committed Sep 27, 2023
1 parent 90d4813 commit a5d135a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ set(CUBOS_ENGINE_SOURCE

"src/cubos/engine/imgui/plugin.cpp"
"src/cubos/engine/imgui/imgui.cpp"
"src/cubos/engine/imgui/serialization.cpp"

"src/cubos/engine/tools/utils/serialization.cpp"
"src/cubos/engine/tools/asset_explorer/plugin.cpp"
"src/cubos/engine/tools/settings_inspector/plugin.cpp"
"src/cubos/engine/tools/entity_selector/plugin.cpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/// @dir
/// @brief @ref utils-tool-plugin plugin directory.

/// @file
/// @brief Functions for showing and editing serializable objects in the UI.
/// @ingroup utils-tool-plugin
/// @ingroup imgui-plugin

#pragma once

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <imgui.h>

#include <cubos/engine/tools/utils/serialization.hpp>
#include <cubos/engine/imgui/serialization.hpp>

using namespace cubos::engine;

Expand Down
2 changes: 1 addition & 1 deletion engine/src/cubos/engine/tools/entity_inspector/plugin.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#include <imgui.h>

#include <cubos/engine/imgui/plugin.hpp>
#include <cubos/engine/imgui/serialization.hpp>
#include <cubos/engine/tools/entity_inspector/plugin.hpp>
#include <cubos/engine/tools/entity_selector/plugin.hpp>
#include <cubos/engine/tools/utils/serialization.hpp>

using cubos::core::data::Context;
using cubos::core::data::SerializationMap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#include <imgui.h>

#include <cubos/engine/imgui/plugin.hpp>
#include <cubos/engine/imgui/serialization.hpp>
#include <cubos/engine/settings/plugin.hpp>
#include <cubos/engine/tools/settings_inspector/plugin.hpp>
#include <cubos/engine/tools/utils/serialization.hpp>

using cubos::core::ecs::Write;

Expand Down

0 comments on commit a5d135a

Please sign in to comment.