chore(build): remove unused includes

This commit is contained in:
fallenoak 2023-03-31 12:03:37 -05:00 committed by GitHub
parent 8e61a4c428
commit ee1d46db19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 0 additions and 13 deletions

View File

@ -4,7 +4,6 @@
#include "db/Db.hpp" #include "db/Db.hpp"
#include "async/AsyncFile.hpp" #include "async/AsyncFile.hpp"
#include "glue/CGlueMgr.hpp" #include "glue/CGlueMgr.hpp"
#include "gx/Device.hpp"
#include "gx/Screen.hpp" #include "gx/Screen.hpp"
#include "gx/Texture.hpp" #include "gx/Texture.hpp"
#include "model/Model2.hpp" #include "model/Model2.hpp"
@ -13,7 +12,6 @@
#include "ui/FrameXML.hpp" #include "ui/FrameXML.hpp"
#include "console/CVar.hpp" #include "console/CVar.hpp"
#include "world/World.hpp" #include "world/World.hpp"
#include <cstring>
#include <bc/Debug.hpp> #include <bc/Debug.hpp>
#include <common/Prop.hpp> #include <common/Prop.hpp>
#include <storm/Error.hpp> #include <storm/Error.hpp>

View File

@ -4,10 +4,8 @@
#include "event/Input.hpp" #include "event/Input.hpp"
#include "event/Queue.hpp" #include "event/Queue.hpp"
#include "event/Scheduler.hpp" #include "event/Scheduler.hpp"
#include <cstring>
#include <common/Prop.hpp> #include <common/Prop.hpp>
#include <common/Time.hpp> #include <common/Time.hpp>
#include <storm/String.hpp>
SEvent Event::s_startEvent = SEvent(1, 0); SEvent Event::s_startEvent = SEvent(1, 0);
SEvent Event::s_shutdownEvent = SEvent(1, 0); SEvent Event::s_shutdownEvent = SEvent(1, 0);

View File

@ -1,7 +1,6 @@
#include "gx/font/FreeType.hpp" #include "gx/font/FreeType.hpp"
#include "gx/font/FreeTypeInternal.hpp" #include "gx/font/FreeTypeInternal.hpp"
#include "freetype/ftmodule.h" #include "freetype/ftmodule.h"
#include <storm/Memory.hpp>
FT_Library g_FTLibrary; FT_Library g_FTLibrary;

View File

@ -4,7 +4,6 @@
#include "gx/Blit.hpp" #include "gx/Blit.hpp"
#include "gx/CGxBatch.hpp" #include "gx/CGxBatch.hpp"
#include "gx/Shader.hpp" #include "gx/Shader.hpp"
#include "gx/Texture.hpp"
#include "gx/Window.hpp" #include "gx/Window.hpp"
#include "gx/texture/CGxTex.hpp" #include "gx/texture/CGxTex.hpp"
#include <cmath> #include <cmath>

View File

@ -1,6 +1,5 @@
#include "gx/gll/GLAbstractWindow.h" #include "gx/gll/GLAbstractWindow.h"
#include <cmath> #include <cmath>
#include <ApplicationServices/ApplicationServices.h>
int32_t GLAbstractWindow::GetBackingWidth() { int32_t GLAbstractWindow::GetBackingWidth() {
return static_cast<int32_t>(std::floor(this->GetBackingRect().size.width)); return static_cast<int32_t>(std::floor(this->GetBackingRect().size.width));

View File

@ -1,6 +1,4 @@
#include "math/Types.hpp" #include "math/Types.hpp"
#include "math/Utils.hpp"
#include <cmath>
fixed16::operator float() const { fixed16::operator float() const {
return this->n / 32767.0f; return this->n / 32767.0f;

View File

@ -5,7 +5,6 @@
#include <new> #include <new>
#include <common/DataStore.hpp> #include <common/DataStore.hpp>
#include <common/Prop.hpp> #include <common/Prop.hpp>
#include <common/SHA1.hpp>
#include <common/Time.hpp> #include <common/Time.hpp>
#include <storm/Error.hpp> #include <storm/Error.hpp>
#include <storm/String.hpp> #include <storm/String.hpp>

View File

@ -7,7 +7,6 @@
#include "util/SFile.hpp" #include "util/SFile.hpp"
#include <algorithm> #include <algorithm>
#include <cstdint> #include <cstdint>
#include <cstring>
#include <storm/Array.hpp> #include <storm/Array.hpp>
#include <storm/String.hpp> #include <storm/String.hpp>
#include <tempest/Vector.hpp> #include <tempest/Vector.hpp>

View File

@ -1,5 +1,4 @@
#include "ui/FrameXML.hpp" #include "ui/FrameXML.hpp"
#include "gx/Coordinate.hpp"
#include "ui/CSimpleButton.hpp" #include "ui/CSimpleButton.hpp"
#include "ui/CSimpleCheckbox.hpp" #include "ui/CSimpleCheckbox.hpp"
#include "ui/CSimpleEditBox.hpp" #include "ui/CSimpleEditBox.hpp"

View File

@ -1,5 +1,4 @@
#include "util/HMAC.hpp" #include "util/HMAC.hpp"
#include <cstring>
#include <common/SHA1.hpp> #include <common/SHA1.hpp>
#define HMAC_SHA1_IPAD 0x36 #define HMAC_SHA1_IPAD 0x36