just a minor refactor, nothing special
This commit is contained in:
parent
6e2bc9ca95
commit
9f2bceb039
@ -1,10 +1,10 @@
|
||||
#include "Assets.h"
|
||||
|
||||
#include "../audio/audio.h"
|
||||
#include "../graphics/core/Texture.h"
|
||||
#include "../graphics/core/Shader.h"
|
||||
#include "../graphics/core/Atlas.h"
|
||||
#include "../graphics/core/Font.h"
|
||||
#include "../graphics/core/Texture.hpp"
|
||||
#include "../graphics/core/Shader.hpp"
|
||||
#include "../graphics/core/Atlas.hpp"
|
||||
#include "../graphics/core/Font.hpp"
|
||||
#include "../frontend/UiDocument.h"
|
||||
#include "../logic/scripting/scripting.h"
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#ifndef ASSETS_ASSETS_H_
|
||||
#define ASSETS_ASSETS_H_
|
||||
|
||||
#include "../graphics/core/TextureAnimation.h"
|
||||
#include "../graphics/core/TextureAnimation.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
@ -11,12 +11,12 @@
|
||||
#include "../coders/imageio.h"
|
||||
#include "../coders/json.h"
|
||||
#include "../coders/GLSLExtension.h"
|
||||
#include "../graphics/core/Shader.h"
|
||||
#include "../graphics/core/Texture.h"
|
||||
#include "../graphics/core/ImageData.h"
|
||||
#include "../graphics/core/Atlas.h"
|
||||
#include "../graphics/core/Font.h"
|
||||
#include "../graphics/core/TextureAnimation.h"
|
||||
#include "../graphics/core/Shader.hpp"
|
||||
#include "../graphics/core/Texture.hpp"
|
||||
#include "../graphics/core/ImageData.hpp"
|
||||
#include "../graphics/core/Atlas.hpp"
|
||||
#include "../graphics/core/Font.hpp"
|
||||
#include "../graphics/core/TextureAnimation.hpp"
|
||||
#include "../frontend/UiDocument.h"
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#include "imageio.h"
|
||||
|
||||
#include "png.h"
|
||||
#include "../graphics/core/ImageData.h"
|
||||
#include "../graphics/core/ImageData.hpp"
|
||||
|
||||
#include <filesystem>
|
||||
#include <functional>
|
||||
|
||||
@ -4,8 +4,8 @@
|
||||
#include <memory>
|
||||
#include <GL/glew.h>
|
||||
|
||||
#include "../graphics/core/ImageData.h"
|
||||
#include "../graphics/core/Texture.h"
|
||||
#include "../graphics/core/ImageData.hpp"
|
||||
#include "../graphics/core/Texture.hpp"
|
||||
#include "../files/files.h"
|
||||
|
||||
#ifndef _WIN32
|
||||
|
||||
@ -14,10 +14,10 @@
|
||||
#include "frontend/menu.hpp"
|
||||
#include "frontend/screens/Screen.hpp"
|
||||
#include "frontend/screens/MenuScreen.hpp"
|
||||
#include "graphics/core/Batch2D.h"
|
||||
#include "graphics/core/GfxContext.h"
|
||||
#include "graphics/core/ImageData.h"
|
||||
#include "graphics/core/Shader.h"
|
||||
#include "graphics/core/Batch2D.hpp"
|
||||
#include "graphics/core/GfxContext.hpp"
|
||||
#include "graphics/core/ImageData.hpp"
|
||||
#include "graphics/core/Shader.hpp"
|
||||
#include "graphics/ui/GUI.h"
|
||||
#include "logic/EngineController.hpp"
|
||||
#include "logic/scripting/scripting.h"
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
#include "../content/Content.h"
|
||||
#include "../content/ContentPack.h"
|
||||
#include "../core_defs.h"
|
||||
#include "../graphics/core/Atlas.h"
|
||||
#include "../graphics/core/Atlas.hpp"
|
||||
#include "../maths/UVRegion.h"
|
||||
#include "../voxels/Block.h"
|
||||
#include "UiDocument.h"
|
||||
|
||||
@ -5,11 +5,11 @@
|
||||
|
||||
#include "../assets/Assets.h"
|
||||
#include "../content/Content.h"
|
||||
#include "../graphics/core/Atlas.h"
|
||||
#include "../graphics/core/Batch2D.h"
|
||||
#include "../graphics/core/Font.h"
|
||||
#include "../graphics/core/GfxContext.h"
|
||||
#include "../graphics/core/Shader.h"
|
||||
#include "../graphics/core/Atlas.hpp"
|
||||
#include "../graphics/core/Batch2D.hpp"
|
||||
#include "../graphics/core/Font.hpp"
|
||||
#include "../graphics/core/GfxContext.hpp"
|
||||
#include "../graphics/core/Shader.hpp"
|
||||
#include "../graphics/render/BlocksPreview.h"
|
||||
#include "../items/Inventories.h"
|
||||
#include "../items/Inventory.h"
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
#include "../assets/Assets.h"
|
||||
#include "../audio/audio.h"
|
||||
#include "../content/Content.h"
|
||||
#include "../graphics/core/Atlas.h"
|
||||
#include "../graphics/core/Atlas.hpp"
|
||||
#include "../graphics/render/BlocksPreview.h"
|
||||
#include "../logic/LevelController.h"
|
||||
#include "../logic/PlayerController.h"
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
#include "../audio/audio.h"
|
||||
#include "../delegates.h"
|
||||
#include "../engine.h"
|
||||
#include "../graphics/core/Mesh.h"
|
||||
#include "../graphics/core/Mesh.hpp"
|
||||
#include "../graphics/ui/elements/CheckBox.hpp"
|
||||
#include "../graphics/ui/elements/TextBox.hpp"
|
||||
#include "../graphics/ui/elements/TrackBar.hpp"
|
||||
|
||||
@ -5,14 +5,14 @@
|
||||
#include "../core_defs.h"
|
||||
#include "../delegates.h"
|
||||
#include "../engine.h"
|
||||
#include "../graphics/core/Atlas.h"
|
||||
#include "../graphics/core/Batch2D.h"
|
||||
#include "../graphics/core/Batch3D.h"
|
||||
#include "../graphics/core/Font.h"
|
||||
#include "../graphics/core/GfxContext.h"
|
||||
#include "../graphics/core/Mesh.h"
|
||||
#include "../graphics/core/Shader.h"
|
||||
#include "../graphics/core/Texture.h"
|
||||
#include "../graphics/core/Atlas.hpp"
|
||||
#include "../graphics/core/Batch2D.hpp"
|
||||
#include "../graphics/core/Batch3D.hpp"
|
||||
#include "../graphics/core/Font.hpp"
|
||||
#include "../graphics/core/GfxContext.hpp"
|
||||
#include "../graphics/core/Mesh.hpp"
|
||||
#include "../graphics/core/Shader.hpp"
|
||||
#include "../graphics/core/Texture.hpp"
|
||||
#include "../graphics/render/BlocksPreview.h"
|
||||
#include "../graphics/render/WorldRenderer.h"
|
||||
#include "../graphics/ui/elements/UINode.hpp"
|
||||
|
||||
@ -6,9 +6,9 @@
|
||||
#include "../../audio/audio.h"
|
||||
#include "../../coders/imageio.h"
|
||||
#include "../../graphics/core/PostProcessing.h"
|
||||
#include "../../graphics/core/GfxContext.h"
|
||||
#include "../../graphics/core/Viewport.h"
|
||||
#include "../../graphics/core/ImageData.h"
|
||||
#include "../../graphics/core/GfxContext.hpp"
|
||||
#include "../../graphics/core/Viewport.hpp"
|
||||
#include "../../graphics/core/ImageData.hpp"
|
||||
#include "../../graphics/ui/GUI.h"
|
||||
#include "../../graphics/ui/elements/Menu.hpp"
|
||||
#include "../../graphics/render/WorldRenderer.h"
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
#include "../../graphics/ui/GUI.h"
|
||||
#include "../../graphics/ui/elements/Menu.hpp"
|
||||
#include "../../graphics/core/Batch2D.h"
|
||||
#include "../../graphics/core/Shader.h"
|
||||
#include "../../graphics/core/Batch2D.hpp"
|
||||
#include "../../graphics/core/Shader.hpp"
|
||||
#include "../../window/Window.h"
|
||||
#include "../../window/Camera.h"
|
||||
#include "../../engine.h"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#include "Screen.hpp"
|
||||
|
||||
#include "../../graphics/core/Batch2D.h"
|
||||
#include "../../graphics/core/Batch2D.hpp"
|
||||
#include "../../engine.h"
|
||||
|
||||
Screen::Screen(Engine* engine) : engine(engine), batch(new Batch2D(1024)) {
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
#include "Atlas.h"
|
||||
#include "Atlas.hpp"
|
||||
|
||||
#include <stdexcept>
|
||||
#include "../../maths/LMPacker.h"
|
||||
#include "Texture.h"
|
||||
#include "ImageData.h"
|
||||
#include "Texture.hpp"
|
||||
#include "ImageData.hpp"
|
||||
|
||||
Atlas::Atlas(
|
||||
std::unique_ptr<ImageData> image,
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#include "Batch2D.h"
|
||||
#include "Mesh.h"
|
||||
#include "Texture.h"
|
||||
#include "gl_util.h"
|
||||
#include "Batch2D.hpp"
|
||||
#include "Mesh.hpp"
|
||||
#include "Texture.hpp"
|
||||
#include "gl_util.hpp"
|
||||
|
||||
#include <GL/glew.h>
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#include "commons.h"
|
||||
#include "commons.hpp"
|
||||
#include "../../maths/UVRegion.h"
|
||||
|
||||
class Mesh;
|
||||
@ -1,7 +1,7 @@
|
||||
#include "Batch3D.h"
|
||||
#include "Batch3D.hpp"
|
||||
|
||||
#include "Mesh.h"
|
||||
#include "Texture.h"
|
||||
#include "Mesh.hpp"
|
||||
#include "Texture.hpp"
|
||||
|
||||
#include <GL/glew.h>
|
||||
#include "../../typedefs.h"
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#include "Cubemap.h"
|
||||
#include "gl_util.h"
|
||||
#include "Cubemap.hpp"
|
||||
#include "gl_util.hpp"
|
||||
|
||||
#include <GL/glew.h>
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#ifndef GRAPHICS_CORE_CUBEMAP_H_
|
||||
#define GRAPHICS_CORE_CUBEMAP_H_
|
||||
|
||||
#include "Texture.h"
|
||||
#include "Texture.hpp"
|
||||
|
||||
/// @brief Cubemap texture
|
||||
class Cubemap : public Texture {
|
||||
@ -1,6 +1,6 @@
|
||||
#include "Font.h"
|
||||
#include "Texture.h"
|
||||
#include "Batch2D.h"
|
||||
#include "Font.hpp"
|
||||
#include "Texture.hpp"
|
||||
#include "Batch2D.hpp"
|
||||
|
||||
inline constexpr uint GLYPH_SIZE = 16;
|
||||
inline constexpr uint MAX_CODEPAGES = 10000; // idk ho many codepages unicode has
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#include "Framebuffer.h"
|
||||
#include "Framebuffer.hpp"
|
||||
|
||||
#include <GL/glew.h>
|
||||
#include "Texture.h"
|
||||
#include "Texture.hpp"
|
||||
|
||||
Framebuffer::Framebuffer(uint fbo, uint depth, std::unique_ptr<Texture> texture)
|
||||
: fbo(fbo), depth(depth), texture(std::move(texture))
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
#include "GfxContext.h"
|
||||
#include "GfxContext.hpp"
|
||||
|
||||
#include <GL/glew.h>
|
||||
|
||||
#include "Batch2D.h"
|
||||
#include "Framebuffer.h"
|
||||
#include "Batch2D.hpp"
|
||||
#include "Framebuffer.hpp"
|
||||
|
||||
GfxContext::GfxContext(
|
||||
const GfxContext* parent,
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#ifndef GRAPHICS_CORE_GFX_CONTEXT_H_
|
||||
#define GRAPHICS_CORE_GFX_CONTEXT_H_
|
||||
|
||||
#include "Viewport.h"
|
||||
#include "Viewport.hpp"
|
||||
#include "../../window/Window.h"
|
||||
#include "../../typedefs.h"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#include "ImageData.h"
|
||||
#include "ImageData.hpp"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdexcept>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#include "LineBatch.h"
|
||||
#include "Mesh.h"
|
||||
#include "LineBatch.hpp"
|
||||
#include "Mesh.hpp"
|
||||
|
||||
#include <GL/glew.h>
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#include "Mesh.h"
|
||||
#include "Mesh.hpp"
|
||||
#include <GL/glew.h>
|
||||
|
||||
int Mesh::meshesCount = 0;
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
#include "PostProcessing.h"
|
||||
#include "Mesh.h"
|
||||
#include "Shader.h"
|
||||
#include "Texture.h"
|
||||
#include "Framebuffer.h"
|
||||
#include "Mesh.hpp"
|
||||
#include "Shader.hpp"
|
||||
#include "Texture.hpp"
|
||||
#include "Framebuffer.hpp"
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
#ifndef GRAPHICS_CORE_POST_PROCESSING_H_
|
||||
#define GRAPHICS_CORE_POST_PROCESSING_H_
|
||||
|
||||
#include "Viewport.h"
|
||||
#include "GfxContext.h"
|
||||
#include "Viewport.hpp"
|
||||
#include "GfxContext.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
@ -35,7 +35,7 @@ public:
|
||||
|
||||
/// @brief Make an image from the last rendered frame
|
||||
std::unique_ptr<ImageData> toImage();
|
||||
|
||||
|
||||
Framebuffer* getFramebuffer() const;
|
||||
};
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#include "Shader.h"
|
||||
#include "Shader.hpp"
|
||||
|
||||
#include <exception>
|
||||
#include <fstream>
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
#include "Texture.h"
|
||||
#include "Texture.hpp"
|
||||
#include "ImageData.hpp"
|
||||
#include "gl_util.hpp"
|
||||
|
||||
#include <GL/glew.h>
|
||||
#include <stdexcept>
|
||||
#include <memory>
|
||||
|
||||
#include "ImageData.h"
|
||||
#include "gl_util.h"
|
||||
|
||||
uint Texture::MAX_RESOLUTION = 1024; // Window.initialize overrides it
|
||||
|
||||
Texture::Texture(uint id, uint width, uint height)
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include "../../typedefs.h"
|
||||
#include "ImageData.h"
|
||||
#include "ImageData.hpp"
|
||||
|
||||
class Texture {
|
||||
protected:
|
||||
@ -1,6 +1,6 @@
|
||||
#include "TextureAnimation.h"
|
||||
#include "Texture.h"
|
||||
#include "Framebuffer.h"
|
||||
#include "TextureAnimation.hpp"
|
||||
#include "Texture.hpp"
|
||||
#include "Framebuffer.hpp"
|
||||
|
||||
#include <GL/glew.h>
|
||||
#include <unordered_set>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#include "Viewport.h"
|
||||
#include "Viewport.hpp"
|
||||
|
||||
Viewport::Viewport(uint width, uint height)
|
||||
: width(width), height(height) {
|
||||
@ -10,4 +10,4 @@ uint Viewport::getWidth() const {
|
||||
|
||||
uint Viewport::getHeight() const {
|
||||
return height;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
#ifndef GRAPHICS_CORE_GL_UTIL_H_
|
||||
#define GRAPHICS_CORE_GL_UTIL_H_
|
||||
|
||||
#include "commons.h"
|
||||
#include "ImageData.h"
|
||||
#include "commons.hpp"
|
||||
#include "ImageData.hpp"
|
||||
|
||||
#include <GL/glew.h>
|
||||
|
||||
@ -9,13 +9,13 @@
|
||||
#include "../../voxels/Block.h"
|
||||
#include "../../window/Camera.h"
|
||||
#include "../../window/Window.h"
|
||||
#include "../core/Atlas.h"
|
||||
#include "../core/Batch3D.h"
|
||||
#include "../core/Framebuffer.h"
|
||||
#include "../core/GfxContext.h"
|
||||
#include "../core/Shader.h"
|
||||
#include "../core/Texture.h"
|
||||
#include "../core/Viewport.h"
|
||||
#include "../core/Atlas.hpp"
|
||||
#include "../core/Batch3D.hpp"
|
||||
#include "../core/Framebuffer.hpp"
|
||||
#include "../core/GfxContext.hpp"
|
||||
#include "../core/Shader.hpp"
|
||||
#include "../core/Texture.hpp"
|
||||
#include "../core/Viewport.hpp"
|
||||
|
||||
std::unique_ptr<ImageData> BlocksPreview::draw(
|
||||
const ContentGfxCache* cache,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#include "../core/Mesh.h"
|
||||
#include "../core/Mesh.hpp"
|
||||
#include "../../maths/UVRegion.h"
|
||||
#include "../../constants.h"
|
||||
#include "../../content/Content.h"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#include "ChunksRenderer.h"
|
||||
|
||||
#include "../../debug/Logger.h"
|
||||
#include "../../graphics/core/Mesh.h"
|
||||
#include "../../graphics/core/Mesh.hpp"
|
||||
#include "BlocksRenderer.h"
|
||||
#include "../../voxels/Chunk.h"
|
||||
#include "../../world/Level.h"
|
||||
|
||||
@ -5,13 +5,13 @@
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#include "../../assets/Assets.h"
|
||||
#include "../../graphics/core/Shader.h"
|
||||
#include "../../graphics/core/Mesh.h"
|
||||
#include "../../graphics/core/Batch3D.h"
|
||||
#include "../../graphics/core/Texture.h"
|
||||
#include "../../graphics/core/Cubemap.h"
|
||||
#include "../../graphics/core/Framebuffer.h"
|
||||
#include "../../graphics/core/GfxContext.h"
|
||||
#include "../../graphics/core/Shader.hpp"
|
||||
#include "../../graphics/core/Mesh.hpp"
|
||||
#include "../../graphics/core/Batch3D.hpp"
|
||||
#include "../../graphics/core/Texture.hpp"
|
||||
#include "../../graphics/core/Cubemap.hpp"
|
||||
#include "../../graphics/core/Framebuffer.hpp"
|
||||
#include "../../graphics/core/GfxContext.hpp"
|
||||
#include "../../window/Window.h"
|
||||
#include "../../window/Camera.h"
|
||||
|
||||
|
||||
@ -21,14 +21,14 @@
|
||||
#include "../../world/Level.h"
|
||||
#include "../../world/LevelEvents.h"
|
||||
#include "../../world/World.h"
|
||||
#include "../core/Atlas.h"
|
||||
#include "../core/Batch3D.h"
|
||||
#include "../core/GfxContext.h"
|
||||
#include "../core/LineBatch.h"
|
||||
#include "../core/Mesh.h"
|
||||
#include "../core/Atlas.hpp"
|
||||
#include "../core/Batch3D.hpp"
|
||||
#include "../core/GfxContext.hpp"
|
||||
#include "../core/LineBatch.hpp"
|
||||
#include "../core/Mesh.hpp"
|
||||
#include "../core/PostProcessing.h"
|
||||
#include "../core/Shader.h"
|
||||
#include "../core/Texture.h"
|
||||
#include "../core/Shader.hpp"
|
||||
#include "../core/Texture.hpp"
|
||||
#include "ChunksRenderer.h"
|
||||
#include "Skybox.h"
|
||||
|
||||
|
||||
@ -7,9 +7,9 @@
|
||||
|
||||
#include "../../assets/Assets.h"
|
||||
#include "../../frontend/UiDocument.h"
|
||||
#include "../../graphics/core/Batch2D.h"
|
||||
#include "../../graphics/core/Shader.h"
|
||||
#include "../../graphics/core/GfxContext.h"
|
||||
#include "../../graphics/core/Batch2D.hpp"
|
||||
#include "../../graphics/core/Shader.hpp"
|
||||
#include "../../graphics/core/GfxContext.hpp"
|
||||
#include "../../window/Events.h"
|
||||
#include "../../window/input.h"
|
||||
#include "../../window/Camera.h"
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
#include "Button.hpp"
|
||||
|
||||
#include "Label.hpp"
|
||||
#include "../../core/GfxContext.h"
|
||||
#include "../../core/Batch2D.h"
|
||||
#include "../../core/GfxContext.hpp"
|
||||
#include "../../core/Batch2D.hpp"
|
||||
|
||||
using namespace gui;
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#include "CheckBox.hpp"
|
||||
|
||||
#include "../../core/GfxContext.h"
|
||||
#include "../../core/Batch2D.h"
|
||||
#include "../../core/GfxContext.hpp"
|
||||
#include "../../core/Batch2D.hpp"
|
||||
#include "Label.hpp"
|
||||
|
||||
using namespace gui;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#include "Container.hpp"
|
||||
|
||||
#include "../../core/GfxContext.h"
|
||||
#include "../../core/Batch2D.h"
|
||||
#include "../../core/GfxContext.hpp"
|
||||
#include "../../core/Batch2D.hpp"
|
||||
|
||||
using namespace gui;
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
#include "Image.hpp"
|
||||
|
||||
#include "../../core/GfxContext.h"
|
||||
#include "../../core/Batch2D.h"
|
||||
#include "../../core/Texture.h"
|
||||
#include "../../core/GfxContext.hpp"
|
||||
#include "../../core/Batch2D.hpp"
|
||||
#include "../../core/Texture.hpp"
|
||||
#include "../../../assets/Assets.h"
|
||||
#include "../../../maths/UVRegion.h"
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
#include "InputBindBox.hpp"
|
||||
|
||||
#include "Label.hpp"
|
||||
#include "../../core/GfxContext.h"
|
||||
#include "../../core/Batch2D.h"
|
||||
#include "../../core/GfxContext.hpp"
|
||||
#include "../../core/Batch2D.hpp"
|
||||
#include "../../../util/stringutil.h"
|
||||
|
||||
using namespace gui;
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
#include "Label.hpp"
|
||||
|
||||
#include "../../core/GfxContext.h"
|
||||
#include "../../core/Batch2D.h"
|
||||
#include "../../core/Font.h"
|
||||
#include "../../core/GfxContext.hpp"
|
||||
#include "../../core/Batch2D.hpp"
|
||||
#include "../../core/Font.hpp"
|
||||
#include "../../../assets/Assets.h"
|
||||
#include "../../../util/stringutil.h"
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
#include "Plotter.hpp"
|
||||
|
||||
#include "../../core/Batch2D.h"
|
||||
#include "../../core/Font.h"
|
||||
#include "../../core/GfxContext.h"
|
||||
#include "../../core/Batch2D.hpp"
|
||||
#include "../../core/Font.hpp"
|
||||
#include "../../core/GfxContext.hpp"
|
||||
#include "../../../assets/Assets.h"
|
||||
#include "../../../util/stringutil.h"
|
||||
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
#include "TextBox.hpp"
|
||||
|
||||
#include "Label.hpp"
|
||||
#include "../../core/GfxContext.h"
|
||||
#include "../../core/Batch2D.h"
|
||||
#include "../../core/Font.h"
|
||||
#include "../../core/GfxContext.hpp"
|
||||
#include "../../core/Batch2D.hpp"
|
||||
#include "../../core/Font.hpp"
|
||||
#include "../../../assets/Assets.h"
|
||||
#include "../../../util/stringutil.h"
|
||||
#include "../../../window/Events.h"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#include "TrackBar.hpp"
|
||||
|
||||
#include "../../core/GfxContext.h"
|
||||
#include "../../core/Batch2D.h"
|
||||
#include "../../core/GfxContext.hpp"
|
||||
#include "../../core/Batch2D.hpp"
|
||||
#include "../../../assets/Assets.h"
|
||||
|
||||
using namespace gui;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#include "UINode.hpp"
|
||||
|
||||
#include "Container.hpp"
|
||||
#include "../../core/Batch2D.h"
|
||||
#include "../../core/Batch2D.hpp"
|
||||
|
||||
using gui::UINode;
|
||||
using gui::Align;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#include "../voxels/ChunksStorage.h"
|
||||
#include "../voxels/WorldGenerator.h"
|
||||
#include "../world/WorldGenerators.h"
|
||||
#include "../graphics/core/Mesh.h"
|
||||
#include "../graphics/core/Mesh.hpp"
|
||||
#include "../lighting/Lighting.h"
|
||||
#include "../files/WorldFiles.h"
|
||||
#include "../world/Level.h"
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
#include "../../../files/WorldFiles.h"
|
||||
#include "../../../world/Level.h"
|
||||
#include "../../../world/World.h"
|
||||
#include "../../../graphics/core/Texture.h"
|
||||
#include "../../../graphics/core/Texture.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <filesystem>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
#include "../scripting.h"
|
||||
#include "../../../assets/Assets.h"
|
||||
#include "../../../coders/imageio.h"
|
||||
#include "../../../graphics/core/Texture.h"
|
||||
#include "../../../graphics/core/Texture.hpp"
|
||||
#include "../../../files/engine_paths.h"
|
||||
#include "../../../world/Level.h"
|
||||
#include "../../../world/World.h"
|
||||
@ -41,7 +41,7 @@ static int l_world_get_list(lua_State* L) {
|
||||
}
|
||||
lua_pushstring(L, icon.c_str());
|
||||
lua_setfield(L, -2, "icon");
|
||||
|
||||
|
||||
lua_rawseti(L, -2, i + 1);
|
||||
}
|
||||
return 1;
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
#include "../lighting/Lightmap.h"
|
||||
#include "../files/WorldFiles.h"
|
||||
#include "../world/LevelEvents.h"
|
||||
#include "../graphics/core/Mesh.h"
|
||||
#include "../graphics/core/Mesh.hpp"
|
||||
#include "../maths/voxmaths.h"
|
||||
#include "../maths/aabb.h"
|
||||
#include "../maths/rays.h"
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#include "Window.h"
|
||||
#include "Events.h"
|
||||
#include "../debug/Logger.h"
|
||||
#include "../graphics/core/ImageData.h"
|
||||
#include "../graphics/core/Texture.h"
|
||||
#include "../graphics/core/ImageData.hpp"
|
||||
#include "../graphics/core/Texture.hpp"
|
||||
|
||||
#include <GL/glew.h>
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user