From 6074fdc492c83f3b526f428e97bb17c43ff5b047 Mon Sep 17 00:00:00 2001 From: OusmBlueNinja <89956790+OusmBlueNinja@users.noreply.github.com> Date: Wed, 21 May 2025 09:25:43 -0500 Subject: [PATCH] Added Demmy Layer for testing --- main.cpp | 5 ++--- src/core/Core.h | 7 +++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/main.cpp b/main.cpp index a1b96be..ee813ec 100644 --- a/main.cpp +++ b/main.cpp @@ -11,13 +11,12 @@ int main() constexpr const char* VERSION = "0.1.0"; // Format: 0. - OX::Core core(std::string(OX_ENGINE_VERSION) + " (" + VERSION + ")"); - core.AddLayer(std::make_unique("Dummy Layer")); - core.AddLayer(std::make_unique("Obsidian Editor")); + //core.AddLayer(std::make_unique("Dummy Layer")); + core.Init(); core.Run(); core.Shutdown(); diff --git a/src/core/Core.h b/src/core/Core.h index 0617344..0539d72 100644 --- a/src/core/Core.h +++ b/src/core/Core.h @@ -62,7 +62,7 @@ namespace OX void Init(Core &core) override { - Logger::LogInfo("DummyLayer '%s' initialized.", m_name.c_str()); + Logger::LogDebug("%s Init", m_name.c_str()); } void Update(Core &core) override @@ -75,8 +75,11 @@ namespace OX void Shutdown(Core &core) override { - Logger::LogInfo("DummyLayer '%s' shutting down.", m_name.c_str()); + Logger::LogDebug("%s Shutdown", m_name.c_str()); } }; + + + } #endif // CORE_H