From 077b153953d788e747615b75d7937242f420c416 Mon Sep 17 00:00:00 2001 From: maelstrom Date: Sun, 8 Jun 2025 16:24:59 +0200 Subject: [PATCH] fix(lua): accidentally added lua libs outside of lua.h --- BUILD.md | 4 +++- core/src/datatypes/ref.cpp | 1 - core/src/datatypes/signal.cpp | 2 -- core/src/rendering/defaultmeshes.cpp | 2 ++ 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/BUILD.md b/BUILD.md index ced9679..3315c8e 100644 --- a/BUILD.md +++ b/BUILD.md @@ -46,4 +46,6 @@ The compiled binaries should then be placed in `./build/bin/` and should be read If any of the compilation steps fail, or the binaries fail to execute, please create an issue so that this can be corrected. -\* Release mode is necessary as debug mode copies DLLs that are not linked to the output binary \ No newline at end of file +\* Release mode is necessary as debug mode copies DLLs that are not linked to the output binary + +DEVELOPER NOTE: AKA Not for you. If you get CUSTOM COMMAND BUILD errors just keep rerunning build \ No newline at end of file diff --git a/core/src/datatypes/ref.cpp b/core/src/datatypes/ref.cpp index df18c33..e2c0ec7 100644 --- a/core/src/datatypes/ref.cpp +++ b/core/src/datatypes/ref.cpp @@ -3,7 +3,6 @@ #include "error/data.h" #include "logger.h" #include "variant.h" // IWYU pragma: keep -#include #include #include #include "objects/base/instance.h" diff --git a/core/src/datatypes/signal.cpp b/core/src/datatypes/signal.cpp index 13acd0a..c97da06 100644 --- a/core/src/datatypes/signal.cpp +++ b/core/src/datatypes/signal.cpp @@ -3,8 +3,6 @@ #include "variant.h" #include "lua.h" #include -#include -#include #include #include #include diff --git a/core/src/rendering/defaultmeshes.cpp b/core/src/rendering/defaultmeshes.cpp index 78f7285..a9cbae1 100644 --- a/core/src/rendering/defaultmeshes.cpp +++ b/core/src/rendering/defaultmeshes.cpp @@ -1,5 +1,7 @@ #include "defaultmeshes.h" +#pragma warning( disable : 4305 ) + static float CUBE_VERTICES[] = { // positions // normals // texture coords 0.5, -0.5, -0.5, -0.0, -0.0, -1.0, 1.0, 0.0,