diff --git a/Nuake/src/Scene/Components/SkyComponent.cpp b/Nuake/src/Scene/Components/SkyComponent.cpp index 806b68af..79e5261b 100644 --- a/Nuake/src/Scene/Components/SkyComponent.cpp +++ b/Nuake/src/Scene/Components/SkyComponent.cpp @@ -1,4 +1,6 @@ #include "SkyComponent.h" +#include "src/FileSystem/File.h" +#include "src/FileSystem/FileSystem.h" using namespace Nuake; @@ -6,13 +8,12 @@ using namespace Nuake; json SkyComponent::Serialize() { BEGIN_SERIALIZE(); - - + SERIALIZE_RES_FILE(SkyResourceFilePath); END_SERIALIZE(); } bool SkyComponent::Deserialize(const json& j) { - + DESERIALIZE_RES_FILE(SkyResourceFilePath); return true; } \ No newline at end of file diff --git a/Nuake/src/Window.cpp b/Nuake/src/Window.cpp index 0f21aaa2..0327edeb 100644 --- a/Nuake/src/Window.cpp +++ b/Nuake/src/Window.cpp @@ -65,7 +65,7 @@ int Window::Init() Logger::Log("Window creation failed", "window", CRITICAL); return -1; } - + SetWindowIcon("resources/Images/nuake-logo.png"); glfwMakeContextCurrent(this->window); SetVSync(false); @@ -76,7 +76,7 @@ int Window::Init() return -1; } - Logger::Log("Driver detected " + std::string(((char*)glGetString(GL_VERSION))), "renderer"); + Logger::Log("Driver detected " + std::string(((char*)glGetString(GL_VERSION))), "window"); if (glfwRawMouseMotionSupported()) glfwSetInputMode(this->window, GLFW_RAW_MOUSE_MOTION, GLFW_TRUE);