Root includes

This commit is contained in:
InfiniteCoder
2024-08-04 10:24:11 +03:00
parent eeb9ba77fb
commit d5dc68dd38
132 changed files with 164 additions and 164 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
#include <optional>
#include <unordered_map>
#include "../../maths/UVRegion.hpp"
#include "../../typedefs.hpp"
#include <typedefs.hpp>
class ImageData;
class Texture;
+1 -1
View File
@@ -4,7 +4,7 @@
#include "Texture.hpp"
#include <GL/glew.h>
#include "../../typedefs.hpp"
#include <typedefs.hpp>
#include "../../maths/UVRegion.hpp"
/// xyz, uv, rgba
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_CORE_BATCH3D_HPP_
#define GRAPHICS_CORE_BATCH3D_HPP_
#include "../../typedefs.hpp"
#include <typedefs.hpp>
#include "commons.hpp"
#include <memory>
+1 -1
View File
@@ -3,7 +3,7 @@
#include "commons.hpp"
#include "Viewport.hpp"
#include "../../typedefs.hpp"
#include <typedefs.hpp>
class Batch2D;
class Framebuffer;
+1 -1
View File
@@ -4,7 +4,7 @@
#include <memory>
#include <string>
#include <vector>
#include "../../typedefs.hpp"
#include <typedefs.hpp>
class Texture;
class Batch2D;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_CORE_FRAMEBUFFER_HPP_
#define GRAPHICS_CORE_FRAMEBUFFER_HPP_
#include "../../typedefs.hpp"
#include <typedefs.hpp>
#include <memory>
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_CORE_IMAGE_DATA_HPP_
#define GRAPHICS_CORE_IMAGE_DATA_HPP_
#include "../../typedefs.hpp"
#include <typedefs.hpp>
#include <memory>
+1 -1
View File
@@ -2,7 +2,7 @@
#define GRAPHICS_CORE_MESH_HPP_
#include <stdlib.h>
#include "../../typedefs.hpp"
#include <typedefs.hpp>
struct vattr {
ubyte size;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_CORE_SHADER_HPP_
#define GRAPHICS_CORE_SHADER_HPP_
#include "../../typedefs.hpp"
#include <typedefs.hpp>
#include <string>
#include <memory>
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_CORE_TEXTURE_HPP_
#define GRAPHICS_CORE_TEXTURE_HPP_
#include "../../typedefs.hpp"
#include <typedefs.hpp>
#include "../../maths/UVRegion.hpp"
#include "ImageData.hpp"
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_CORE_TEXTURE_ANIMATION_HPP_
#define GRAPHICS_CORE_TEXTURE_ANIMATION_HPP_
#include "../../typedefs.hpp"
#include <typedefs.hpp>
#include <glm/glm.hpp>
#include <vector>
+1 -1
View File
@@ -3,7 +3,7 @@
#include <glm/glm.hpp>
#include "../../typedefs.hpp"
#include <typedefs.hpp>
class Viewport {
uint width;
+1 -1
View File
@@ -1,7 +1,7 @@
#include "BlocksPreview.hpp"
#include "../../assets/Assets.hpp"
#include "../../constants.hpp"
#include <constants.hpp>
#include "../../content/Content.hpp"
#include "../../frontend/ContentGfxCache.hpp"
#include "../../voxels/Block.hpp"
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_RENDER_BLOCKS_PREVIEW_HPP_
#define GRAPHICS_RENDER_BLOCKS_PREVIEW_HPP_
#include "../../typedefs.hpp"
#include <typedefs.hpp>
#include <glm/glm.hpp>
#include <memory>
+2 -2
View File
@@ -2,7 +2,7 @@
#include "../core/Mesh.hpp"
#include "../../maths/UVRegion.hpp"
#include "../../constants.hpp"
#include <constants.hpp>
#include "../../content/Content.hpp"
#include "../../voxels/Block.hpp"
#include "../../voxels/Chunk.hpp"
@@ -10,7 +10,7 @@
#include "../../voxels/ChunksStorage.hpp"
#include "../../lighting/Lightmap.hpp"
#include "../../frontend/ContentGfxCache.hpp"
#include "../../settings.hpp"
#include <settings.hpp>
#include <glm/glm.hpp>
+1 -1
View File
@@ -6,7 +6,7 @@
#include <memory>
#include <glm/glm.hpp>
#include "../../voxels/voxel.hpp"
#include "../../typedefs.hpp"
#include <typedefs.hpp>
class Content;
class Mesh;
+1 -1
View File
@@ -4,7 +4,7 @@
#include "../../graphics/core/Mesh.hpp"
#include "../../voxels/Chunk.hpp"
#include "../../world/Level.hpp"
#include "../../settings.hpp"
#include <settings.hpp>
#include <iostream>
#include <glm/glm.hpp>
+1 -1
View File
@@ -4,7 +4,7 @@
#include <memory>
#include <string>
#include <vector>
#include "../../typedefs.hpp"
#include <typedefs.hpp>
#include "../../maths/fastmaths.hpp"
class Mesh;
+2 -2
View File
@@ -10,7 +10,7 @@
#include "../../assets/Assets.hpp"
#include "../../content/Content.hpp"
#include "../../engine.hpp"
#include <engine.hpp>
#include "../../frontend/LevelFrontend.hpp"
#include "../../items/Inventory.hpp"
#include "../../items/ItemDef.hpp"
@@ -21,7 +21,7 @@
#include "../../maths/voxmaths.hpp"
#include "../../objects/Entities.hpp"
#include "../../objects/Player.hpp"
#include "../../settings.hpp"
#include <settings.hpp>
#include "../../voxels/Block.hpp"
#include "../../voxels/Chunk.hpp"
#include "../../voxels/Chunks.hpp"
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef FRONTEND_GUI_GUI_HPP_
#define FRONTEND_GUI_GUI_HPP_
#include "../../delegates.hpp"
#include <delegates.hpp>
#include <queue>
#include <memory>
+2 -2
View File
@@ -3,8 +3,8 @@
#include "UINode.hpp"
#include "Container.hpp"
#include "../../../typedefs.hpp"
#include "../../../constants.hpp"
#include <typedefs.hpp>
#include <constants.hpp>
#include <vector>
#include <functional>
+1 -1
View File
@@ -2,7 +2,7 @@
#define GRAPHICS_UI_ELEMENTS_PLOTTER_HPP_
#include "UINode.hpp"
#include "../../../typedefs.hpp"
#include <typedefs.hpp>
#include <memory>
#include <glm/glm.hpp>
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef GRAPHICS_UI_ELEMENTS_UINODE_HPP_
#define GRAPHICS_UI_ELEMENTS_UINODE_HPP_
#include "../../../delegates.hpp"
#include <delegates.hpp>
#include "../../../window/input.hpp"
#include <glm/glm.hpp>
+1 -1
View File
@@ -8,7 +8,7 @@
#include "../../logic/scripting/scripting.hpp"
#include "../../frontend/locale.hpp"
#include "../../util/stringutil.hpp"
#include "../../delegates.hpp"
#include <delegates.hpp>
#include <glm/glm.hpp>
+2 -2
View File
@@ -2,8 +2,8 @@
#define FRONTEND_GUI_GUI_UTIL_HPP_
#include "GUI.hpp"
#include "../../typedefs.hpp"
#include "../../delegates.hpp"
#include <typedefs.hpp>
#include <delegates.hpp>
#include <memory>
#include <string>