aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/interface/UI.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-03-28 23:12:35 +0100
committer GitHub <noreply@github.com>2024-03-28 23:12:35 +0100
commit109d31f147512c8d51f35f9773cd3c6bb1b8b994 (patch)
tree4bf3a3318880609d6fdf2e96944bf84cdd2b8cdb /src/openvic-simulation/interface/UI.hpp
parent020ada6c8f0f1bf4486fd9e76ec29673044794d6 (diff)
parent79c3462396fd4e1dcb7d1c9a2ef7bad741afa3e3 (diff)
Merge pull request #153 from OpenVicProject/gfx-object
GFX objectTypes loading framework + Actor loading
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);