diff --git a/src/frontend/InventoryView.cpp b/src/frontend/InventoryView.cpp index e39ede29..f7e19956 100644 --- a/src/frontend/InventoryView.cpp +++ b/src/frontend/InventoryView.cpp @@ -10,6 +10,7 @@ #include "../graphics/core/Font.h" #include "../graphics/core/GfxContext.h" #include "../graphics/core/Shader.h" +#include "../graphics/render/BlocksPreview.h" #include "../graphics/ui/elements/containers.h" #include "../graphics/ui/elements/controls.h" #include "../items/Inventories.h" @@ -23,7 +24,6 @@ #include "../window/Events.h" #include "../window/input.h" #include "../world/Level.h" -#include "BlocksPreview.h" #include "LevelFrontend.h" SlotLayout::SlotLayout( diff --git a/src/frontend/LevelFrontend.cpp b/src/frontend/LevelFrontend.cpp index 78f78fed..f3ac1917 100644 --- a/src/frontend/LevelFrontend.cpp +++ b/src/frontend/LevelFrontend.cpp @@ -1,17 +1,15 @@ #include "LevelFrontend.h" -#include "BlocksPreview.h" -#include "ContentGfxCache.h" - -#include "../audio/audio.h" -#include "../world/Level.h" -#include "../voxels/Block.h" #include "../assets/Assets.h" -#include "../graphics/core/Atlas.h" +#include "../audio/audio.h" #include "../content/Content.h" - +#include "../graphics/core/Atlas.h" +#include "../graphics/render/BlocksPreview.h" #include "../logic/LevelController.h" #include "../logic/PlayerController.h" +#include "../voxels/Block.h" +#include "../world/Level.h" +#include "ContentGfxCache.h" LevelFrontend::LevelFrontend(LevelController* controller, Assets* assets) : level(controller->getLevel()), diff --git a/src/frontend/debug_panel.cpp b/src/frontend/debug_panel.cpp index 725ebb75..05aa76e9 100644 --- a/src/frontend/debug_panel.cpp +++ b/src/frontend/debug_panel.cpp @@ -7,6 +7,7 @@ #include "../engine.h" #include "../graphics/core/Mesh.h" #include "../graphics/ui/elements/controls.h" +#include "../graphics/render/WorldRenderer.h" #include "../objects/Player.h" #include "../physics/Hitbox.h" #include "../util/stringutil.h" @@ -15,8 +16,6 @@ #include "../world/Level.h" #include "../world/World.h" -#include "WorldRenderer.h" - using namespace gui; static std::shared_ptr