aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/interface/UI.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-03-23 00:28:28 +0100
committer hop311 <hop3114@gmail.com>2024-03-23 00:28:28 +0100
commit79c3462396fd4e1dcb7d1c9a2ef7bad741afa3e3 (patch)
tree4bf3a3318880609d6fdf2e96944bf84cdd2b8cdb /src/openvic-simulation/interface/UI.hpp
parent020ada6c8f0f1bf4486fd9e76ec29673044794d6 (diff)
GFX objectTypes loading framework + Actor loadinggfx-object
Diffstat (limited to 'src/openvic-simulation/interface/UI.hpp')
-rw-r--r--src/openvic-simulation/interface/UI.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openvic-simulation/interface/UI.hpp b/src/openvic-simulation/interface/UI.hpp
index c8ffa98..ada540a 100644
--- a/src/openvic-simulation/interface/UI.hpp
+++ b/src/openvic-simulation/interface/UI.hpp
@@ -1,5 +1,6 @@
#pragma once
+#include "openvic-simulation/interface/GFXObject.hpp"
#include "openvic-simulation/interface/GUI.hpp"
namespace OpenVic {
@@ -8,6 +9,7 @@ namespace OpenVic {
NamedInstanceRegistry<GFX::Sprite> IDENTIFIER_REGISTRY(sprite);
NamedInstanceRegistry<GUI::Scene, UIManager const&> IDENTIFIER_REGISTRY(scene);
IdentifierRegistry<GFX::Font> IDENTIFIER_REGISTRY(font);
+ NamedInstanceRegistry<GFX::Object> IDENTIFIER_REGISTRY(object);
bool _load_font(ast::NodeCPtr node);
NodeTools::NodeCallback auto _load_fonts(std::string_view font_key);