the final rename

This commit is contained in:
MihailRis 2024-05-06 03:38:19 +03:00
parent f27a418dbe
commit 1627e21c1d
196 changed files with 836 additions and 815 deletions

View file

@ -7,7 +7,7 @@
#include <vector>
#include <unordered_map>
#include "../../maths/UVRegion.hpp"
#include "../../typedefs.h"
#include "../../typedefs.hpp"
class ImageData;
class Texture;

View file

@ -4,7 +4,7 @@
#include "Texture.hpp"
#include <GL/glew.h>
#include "../../typedefs.h"
#include "../../typedefs.hpp"
inline constexpr uint B3D_VERTEX_SIZE = 9;

View file

@ -2,7 +2,7 @@
#define GRAPHICS_CORE_BATCH3D_HPP_
#include "../../maths/UVRegion.hpp"
#include "../../typedefs.h"
#include "../../typedefs.hpp"
#include <memory>
#include <stdlib.h>

View file

@ -4,7 +4,7 @@
#include "commons.hpp"
#include "Viewport.hpp"
#include "../../window/Window.hpp"
#include "../../typedefs.h"
#include "../../typedefs.hpp"
class Batch2D;
class Framebuffer;

View file

@ -4,7 +4,7 @@
#include <memory>
#include <string>
#include <vector>
#include "../../typedefs.h"
#include "../../typedefs.hpp"
class Texture;
class Batch2D;

View file

@ -1,7 +1,7 @@
#ifndef GRAPHICS_CORE_FRAMEBUFFER_HPP_
#define GRAPHICS_CORE_FRAMEBUFFER_HPP_
#include "../../typedefs.h"
#include "../../typedefs.hpp"
#include <memory>

View file

@ -1,7 +1,7 @@
#ifndef GRAPHICS_CORE_IMAGE_DATA_HPP_
#define GRAPHICS_CORE_IMAGE_DATA_HPP_
#include "../../typedefs.h"
#include "../../typedefs.hpp"
enum class ImageFormat {
rgb888,

View file

@ -2,7 +2,7 @@
#define GRAPHICS_CORE_MESH_HPP_
#include <stdlib.h>
#include "../../typedefs.h"
#include "../../typedefs.hpp"
struct vattr {
ubyte size;

View file

@ -1,4 +1,4 @@
#include "PostProcessing.h"
#include "PostProcessing.hpp"
#include "Mesh.hpp"
#include "Shader.hpp"
#include "Texture.hpp"

View file

@ -1,7 +1,7 @@
#ifndef GRAPHICS_CORE_SHADER_HPP_
#define GRAPHICS_CORE_SHADER_HPP_
#include "../../typedefs.h"
#include "../../typedefs.hpp"
#include <string>
#include <unordered_map>

View file

@ -3,7 +3,7 @@
#include <string>
#include <memory>
#include "../../typedefs.h"
#include "../../typedefs.hpp"
#include "ImageData.hpp"
class Texture {

View file

@ -1,7 +1,7 @@
#ifndef GRAPHICS_CORE_TEXTURE_ANIMATION_HPP_
#define GRAPHICS_CORE_TEXTURE_ANIMATION_HPP_
#include "../../typedefs.h"
#include "../../typedefs.hpp"
#include <glm/glm.hpp>
#include <vector>

View file

@ -3,7 +3,7 @@
#include <glm/glm.hpp>
#include "../../typedefs.h"
#include "../../typedefs.hpp"
class Viewport {
uint width;

View file

@ -1,10 +1,10 @@
#include "BlocksPreview.hpp"
#include "../../assets/Assets.hpp"
#include "../../constants.h"
#include "../../content/Content.h"
#include "../../constants.hpp"
#include "../../content/Content.hpp"
#include "../../frontend/ContentGfxCache.hpp"
#include "../../voxels/Block.h"
#include "../../voxels/Block.hpp"
#include "../../window/Camera.hpp"
#include "../../window/Window.hpp"
#include "../core/Atlas.hpp"

View file

@ -1,7 +1,7 @@
#ifndef GRAPHICS_RENDER_BLOCKS_PREVIEW_HPP_
#define GRAPHICS_RENDER_BLOCKS_PREVIEW_HPP_
#include "../../typedefs.h"
#include "../../typedefs.hpp"
#include <glm/glm.hpp>
#include <memory>

View file

@ -2,15 +2,15 @@
#include "../core/Mesh.hpp"
#include "../../maths/UVRegion.hpp"
#include "../../constants.h"
#include "../../content/Content.h"
#include "../../voxels/Block.h"
#include "../../voxels/Chunk.h"
#include "../../voxels/VoxelsVolume.h"
#include "../../voxels/ChunksStorage.h"
#include "../../lighting/Lightmap.h"
#include "../../constants.hpp"
#include "../../content/Content.hpp"
#include "../../voxels/Block.hpp"
#include "../../voxels/Chunk.hpp"
#include "../../voxels/VoxelsVolume.hpp"
#include "../../voxels/ChunksStorage.hpp"
#include "../../lighting/Lightmap.hpp"
#include "../../frontend/ContentGfxCache.hpp"
#include "../../settings.h"
#include "../../settings.hpp"
#include <glm/glm.hpp>

View file

@ -4,8 +4,8 @@
#include <stdlib.h>
#include <vector>
#include <glm/glm.hpp>
#include "../../voxels/voxel.h"
#include "../../typedefs.h"
#include "../../voxels/voxel.hpp"
#include "../../typedefs.hpp"
class Content;
class Mesh;

View file

@ -2,9 +2,9 @@
#include "BlocksRenderer.hpp"
#include "../../debug/Logger.hpp"
#include "../../graphics/core/Mesh.hpp"
#include "../../voxels/Chunk.h"
#include "../../world/Level.h"
#include "../../settings.h"
#include "../../voxels/Chunk.hpp"
#include "../../world/Level.hpp"
#include "../../settings.hpp"
#include <iostream>
#include <glm/glm.hpp>

View file

@ -7,8 +7,8 @@
#include <unordered_map>
#include <glm/glm.hpp>
#include "../../voxels/Block.h"
#include "../../voxels/ChunksStorage.h"
#include "../../voxels/Block.hpp"
#include "../../voxels/ChunksStorage.hpp"
#include "../../util/ThreadPool.hpp"
class Mesh;

View file

@ -4,8 +4,8 @@
#include <memory>
#include <string>
#include <vector>
#include "../../typedefs.h"
#include "../../maths/fastmaths.h"
#include "../../typedefs.hpp"
#include "../../maths/fastmaths.hpp"
class Mesh;
class Shader;

View file

@ -4,31 +4,31 @@
#include "Skybox.hpp"
#include "../../assets/Assets.hpp"
#include "../../content/Content.h"
#include "../../engine.h"
#include "../../content/Content.hpp"
#include "../../engine.hpp"
#include "../../frontend/LevelFrontend.hpp"
#include "../../items/Inventory.h"
#include "../../items/ItemDef.h"
#include "../../items/ItemStack.h"
#include "../../logic/PlayerController.h"
#include "../../items/Inventory.hpp"
#include "../../items/ItemDef.hpp"
#include "../../items/ItemStack.hpp"
#include "../../logic/PlayerController.hpp"
#include "../../maths/FrustumCulling.hpp"
#include "../../maths/voxmaths.h"
#include "../../objects/Player.h"
#include "../../settings.h"
#include "../../voxels/Block.h"
#include "../../voxels/Chunk.h"
#include "../../voxels/Chunks.h"
#include "../../maths/voxmaths.hpp"
#include "../../objects/Player.hpp"
#include "../../settings.hpp"
#include "../../voxels/Block.hpp"
#include "../../voxels/Chunk.hpp"
#include "../../voxels/Chunks.hpp"
#include "../../window/Camera.hpp"
#include "../../window/Window.hpp"
#include "../../world/Level.h"
#include "../../world/LevelEvents.h"
#include "../../world/World.h"
#include "../../world/Level.hpp"
#include "../../world/LevelEvents.hpp"
#include "../../world/World.hpp"
#include "../core/Atlas.hpp"
#include "../core/Batch3D.hpp"
#include "../core/DrawContext.hpp"
#include "../core/LineBatch.hpp"
#include "../core/Mesh.hpp"
#include "../core/PostProcessing.h"
#include "../core/PostProcessing.hpp"
#include "../core/Shader.hpp"
#include "../core/Texture.hpp"

View file

@ -1,7 +1,7 @@
#ifndef FRONTEND_GUI_GUI_HPP_
#define FRONTEND_GUI_GUI_HPP_
#include "../../delegates.h"
#include "../../delegates.hpp"
#include <queue>
#include <memory>

View file

@ -1,19 +1,19 @@
#include "InventoryView.hpp"
#include "../../../assets/Assets.hpp"
#include "../../../content/Content.h"
#include "../../../content/Content.hpp"
#include "../../../frontend/LevelFrontend.hpp"
#include "../../../items/Inventories.h"
#include "../../../items/Inventory.h"
#include "../../../items/ItemDef.h"
#include "../../../items/ItemStack.h"
#include "../../../logic/scripting/scripting.h"
#include "../../../maths/voxmaths.h"
#include "../../../objects/Player.h"
#include "../../../items/Inventories.hpp"
#include "../../../items/Inventory.hpp"
#include "../../../items/ItemDef.hpp"
#include "../../../items/ItemStack.hpp"
#include "../../../logic/scripting/scripting.hpp"
#include "../../../maths/voxmaths.hpp"
#include "../../../objects/Player.hpp"
#include "../../../util/stringutil.hpp"
#include "../../../voxels/Block.h"
#include "../../../voxels/Block.hpp"
#include "../../../window/Events.hpp"
#include "../../../window/input.hpp"
#include "../../../world/Level.h"
#include "../../../world/Level.hpp"
#include "../../core/Atlas.hpp"
#include "../../core/Batch2D.hpp"
#include "../../core/Font.hpp"

View file

@ -1,10 +1,10 @@
#ifndef FRONTEND_INVENTORY_VIEW_H_
#define FRONTEND_INVENTORY_VIEW_H_
#ifndef FRONTEND_INVENTORY_VIEW_HPP_
#define FRONTEND_INVENTORY_VIEW_HPP_
#include "UINode.hpp"
#include "Container.hpp"
#include "../../../typedefs.h"
#include "../../../constants.h"
#include "../../../typedefs.hpp"
#include "../../../constants.hpp"
#include <vector>
#include <functional>
@ -137,4 +137,4 @@ namespace gui {
};
}
#endif // FRONTEND_INVENTORY_VIEW_H_
#endif // FRONTEND_INVENTORY_VIEW_HPP_

View file

@ -2,7 +2,7 @@
#define GRAPHICS_UI_ELEMENTS_PLOTTER_HPP_
#include "UINode.hpp"
#include "../../../typedefs.h"
#include "../../../typedefs.hpp"
#include <memory>
#include <glm/glm.hpp>

View file

@ -1,7 +1,7 @@
#ifndef GRAPHICS_UI_ELEMENTS_UINODE_H_
#define GRAPHICS_UI_ELEMENTS_UINODE_H_
#ifndef GRAPHICS_UI_ELEMENTS_UINODE_HPP_
#define GRAPHICS_UI_ELEMENTS_UINODE_HPP_
#include "../../../delegates.h"
#include "../../../delegates.hpp"
#include "../../../window/input.hpp"
#include <glm/glm.hpp>
@ -215,4 +215,4 @@ namespace gui {
};
}
#endif // GRAPHICS_UI_ELEMENTS_UINODE_H_
#endif // GRAPHICS_UI_ELEMENTS_UINODE_HPP_

View file

@ -5,10 +5,10 @@
#include "elements/Button.hpp"
#include "gui_xml.hpp"
#include "../../logic/scripting/scripting.h"
#include "../../logic/scripting/scripting.hpp"
#include "../../frontend/locale.hpp"
#include "../../util/stringutil.hpp"
#include "../../delegates.h"
#include "../../delegates.hpp"
#include <glm/glm.hpp>

View file

@ -4,8 +4,8 @@
#include <memory>
#include <string>
#include "GUI.hpp"
#include "../../typedefs.h"
#include "../../delegates.h"
#include "../../typedefs.hpp"
#include "../../delegates.hpp"
namespace gui {
class Button;

View file

@ -12,9 +12,9 @@
#include "../../frontend/menu.hpp"
#include "../../frontend/locale.hpp"
#include "../../items/Inventory.h"
#include "../../logic/scripting/scripting.h"
#include "../../maths/voxmaths.h"
#include "../../items/Inventory.hpp"
#include "../../logic/scripting/scripting.hpp"
#include "../../maths/voxmaths.hpp"
#include "../../util/stringutil.hpp"
#include "../../window/Events.hpp"