From c99af0fbca64cc1bc52b785af8a0cedecedd84ff Mon Sep 17 00:00:00 2001 From: Rick van Vonderen <0945444@hr.nl> Date: Fri, 20 Dec 2019 03:28:01 +0100 Subject: [PATCH] Add code separators --- inferno/src/inferno.h | 2 ++ inferno/src/inferno/log.cpp | 4 ++++ inferno/src/inferno/log.h | 3 +++ 3 files changed, 9 insertions(+) diff --git a/inferno/src/inferno.h b/inferno/src/inferno.h index a7e2736..5878cf3 100644 --- a/inferno/src/inferno.h +++ b/inferno/src/inferno.h @@ -12,4 +12,6 @@ #include "inferno/entrypoint.h" +// ----------------------------------------- + #endif // INFERNO_H diff --git a/inferno/src/inferno/log.cpp b/inferno/src/inferno/log.cpp index 24f5320..1af8e6b 100644 --- a/inferno/src/inferno/log.cpp +++ b/inferno/src/inferno/log.cpp @@ -6,6 +6,8 @@ namespace Inferno { std::shared_ptr Log::m_coreLogger; std::shared_ptr Log::m_gameLogger; +// ----------------------------------------- + void Log::initialize() { // Create engine Logger @@ -16,6 +18,8 @@ namespace Inferno { NF_CORE_INFO("Log initialized"); } +// ----------------------------------------- + Logger::Logger(const char* name) : m_name(name) { diff --git a/inferno/src/inferno/log.h b/inferno/src/inferno/log.h index dce7f93..7c7bad7 100644 --- a/inferno/src/inferno/log.h +++ b/inferno/src/inferno/log.h @@ -12,6 +12,9 @@ namespace Inferno { class Log { public: + +// ----------------------------------------- + static void initialize(); // -----------------------------------------