This commit is contained in:
InfiniteCoder 2024-08-04 22:42:44 +03:00
parent 5c9bc83bbd
commit c7755040bd
45 changed files with 85 additions and 85 deletions

View File

@ -16,7 +16,7 @@
#include "../logic/scripting/scripting.hpp"
#include <objects/rigging.hpp>
#include <util/ThreadPool.hpp>
#include "../voxels/Block.hpp"
#include <voxels/Block.hpp>
#include "Assets.hpp"
#include "assetload_funcs.hpp"

View File

@ -9,7 +9,7 @@
#include "../logic/scripting/scripting.hpp"
#include <objects/EntityDef.hpp>
#include <objects/rigging.hpp>
#include "../voxels/Block.hpp"
#include <voxels/Block.hpp>
#include "ContentPack.hpp"
ContentIndices::ContentIndices(

View File

@ -9,7 +9,7 @@
#include "ContentPack.hpp"
#include <items/ItemDef.hpp>
#include <objects/EntityDef.hpp>
#include "../voxels/Block.hpp"
#include <voxels/Block.hpp>
template <class T>
class ContentUnitBuilder {

View File

@ -6,7 +6,7 @@
#include <constants.hpp>
#include <files/files.hpp>
#include <items/ItemDef.hpp>
#include "../voxels/Block.hpp"
#include <voxels/Block.hpp>
#include "Content.hpp"
ContentLUT::ContentLUT(

View File

@ -17,7 +17,7 @@
#include <typedefs.hpp>
#include <util/listutil.hpp>
#include <util/stringutil.hpp>
#include "../voxels/Block.hpp"
#include <voxels/Block.hpp>
#include "Content.hpp"
#include "ContentBuilder.hpp"
#include "ContentPack.hpp"

View File

@ -8,7 +8,7 @@
#include "window/Window.hpp"
#include "window/Events.hpp"
#include "window/input.hpp"
#include "voxels/Block.hpp"
#include <voxels/Block.hpp>
// All in-game definitions (blocks, items, etc..)
void corecontent::setup(EnginePaths* paths, ContentBuilder* builder) {

View File

@ -30,8 +30,8 @@
#include "logic/scripting/scripting.hpp"
#include <util/listutil.hpp>
#include <util/platform.hpp>
#include "voxels/DefaultWorldGenerator.hpp"
#include "voxels/FlatWorldGenerator.hpp"
#include <voxels/DefaultWorldGenerator.hpp>
#include <voxels/FlatWorldGenerator.hpp>
#include "window/Camera.hpp"
#include "window/Events.hpp"
#include "window/input.hpp"

View File

@ -11,7 +11,7 @@
#include <files/files.hpp>
#include <objects/Player.hpp>
#include <util/ThreadPool.hpp>
#include "../voxels/Chunk.hpp"
#include <voxels/Chunk.hpp>
#include "WorldFiles.hpp"
namespace fs = std::filesystem;

View File

@ -25,9 +25,9 @@
#include <settings.hpp>
#include <typedefs.hpp>
#include <util/data_io.hpp>
#include "../voxels/Block.hpp"
#include "../voxels/Chunk.hpp"
#include "../voxels/voxel.hpp"
#include <voxels/Block.hpp>
#include <voxels/Chunk.hpp>
#include <voxels/voxel.hpp>
#include "../window/Camera.hpp"
#include "../world/World.hpp"

View File

@ -9,7 +9,7 @@
#include <content/ContentPack.hpp>
#include <typedefs.hpp>
#include "../voxels/Chunk.hpp"
#include <voxels/Chunk.hpp>
#include "WorldRegions.hpp"
#include "files.hpp"
#define GLM_ENABLE_EXPERIMENTAL

View File

@ -12,7 +12,7 @@
#include "../data/dynamic_fwd.hpp"
#include <typedefs.hpp>
#include <util/BufferPool.hpp>
#include "../voxels/Chunk.hpp"
#include <voxels/Chunk.hpp>
#include "files.hpp"
#define GLM_ENABLE_EXPERIMENTAL
#include "glm/gtx/hash.hpp"

View File

@ -8,7 +8,7 @@
#include <core_defs.hpp>
#include <graphics/core/Atlas.hpp>
#include "../maths/UVRegion.hpp"
#include "../voxels/Block.hpp"
#include <voxels/Block.hpp>
#include <string>

View File

@ -10,7 +10,7 @@
#include "../logic/LevelController.hpp"
#include "../logic/PlayerController.hpp"
#include <objects/Player.hpp>
#include "../voxels/Block.hpp"
#include <voxels/Block.hpp>
#include "../world/Level.hpp"
LevelFrontend::LevelFrontend(

View File

@ -15,9 +15,9 @@
#include <objects/EntityDef.hpp>
#include "../physics/Hitbox.hpp"
#include <util/stringutil.hpp>
#include "../voxels/Block.hpp"
#include "../voxels/Chunk.hpp"
#include "../voxels/Chunks.hpp"
#include <voxels/Block.hpp>
#include <voxels/Chunk.hpp>
#include <voxels/Chunks.hpp>
#include "../world/Level.hpp"
#include "../world/World.hpp"

View File

@ -34,9 +34,9 @@
#include "../physics/Hitbox.hpp"
#include <typedefs.hpp>
#include <util/stringutil.hpp>
#include "../voxels/Block.hpp"
#include "../voxels/Chunk.hpp"
#include "../voxels/Chunks.hpp"
#include <voxels/Block.hpp>
#include <voxels/Chunk.hpp>
#include <voxels/Chunks.hpp>
#include "../window/Camera.hpp"
#include "../window/Events.hpp"
#include "../window/input.hpp"

View File

@ -20,7 +20,7 @@
#include "../../logic/scripting/scripting_hud.hpp"
#include <util/stringutil.hpp>
#include "../../physics/Hitbox.hpp"
#include "../../voxels/Chunks.hpp"
#include <voxels/Chunks.hpp>
#include "../../window/Camera.hpp"
#include "../../window/Events.hpp"
#include "../../window/Window.hpp"

View File

@ -4,7 +4,7 @@
#include <constants.hpp>
#include <content/Content.hpp>
#include "../../frontend/ContentGfxCache.hpp"
#include "../../voxels/Block.hpp"
#include <voxels/Block.hpp>
#include "../../window/Camera.hpp"
#include "../../window/Window.hpp"
#include <graphics/core/Atlas.hpp>

View File

@ -4,10 +4,10 @@
#include "../../maths/UVRegion.hpp"
#include <constants.hpp>
#include <content/Content.hpp>
#include "../../voxels/Block.hpp"
#include "../../voxels/Chunk.hpp"
#include "../../voxels/VoxelsVolume.hpp"
#include "../../voxels/ChunksStorage.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.hpp>

View File

@ -5,7 +5,7 @@
#include <vector>
#include <memory>
#include <glm/glm.hpp>
#include "../../voxels/voxel.hpp"
#include <voxels/voxel.hpp>
#include <typedefs.hpp>
class Content;

View File

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

View File

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

View File

@ -6,7 +6,7 @@
#include <graphics/core/Texture.hpp>
#include <assets/Assets.hpp>
#include "../../window/Window.hpp"
#include "../../voxels/Chunks.hpp"
#include <voxels/Chunks.hpp>
#include "../../lighting/Lightmap.hpp"
#define GLM_ENABLE_EXPERIMENTAL

View File

@ -22,9 +22,9 @@
#include <objects/Entities.hpp>
#include <objects/Player.hpp>
#include <settings.hpp>
#include "../../voxels/Block.hpp"
#include "../../voxels/Chunk.hpp"
#include "../../voxels/Chunks.hpp"
#include <voxels/Block.hpp>
#include <voxels/Chunk.hpp>
#include <voxels/Chunks.hpp>
#include "../../window/Camera.hpp"
#include "../../window/Window.hpp"
#include "../../world/Level.hpp"

View File

@ -12,7 +12,7 @@
#include "../../../maths/voxmaths.hpp"
#include <objects/Player.hpp>
#include <util/stringutil.hpp>
#include "../../../voxels/Block.hpp"
#include <voxels/Block.hpp>
#include "../../../window/Events.hpp"
#include "../../../window/input.hpp"
#include "../../../world/Level.hpp"

View File

@ -3,10 +3,10 @@
#include "LightSolver.hpp"
#include "Lightmap.hpp"
#include <content/Content.hpp>
#include "../voxels/Chunks.hpp"
#include "../voxels/Chunk.hpp"
#include "../voxels/voxel.hpp"
#include "../voxels/Block.hpp"
#include <voxels/Chunks.hpp>
#include <voxels/Chunk.hpp>
#include <voxels/voxel.hpp>
#include <voxels/Block.hpp>
LightSolver::LightSolver(const ContentIndices* contentIds, Chunks* chunks, int channel)
: contentIds(contentIds),

View File

@ -2,10 +2,10 @@
#include "LightSolver.hpp"
#include "Lightmap.hpp"
#include <content/Content.hpp>
#include "../voxels/Chunks.hpp"
#include "../voxels/Chunk.hpp"
#include "../voxels/voxel.hpp"
#include "../voxels/Block.hpp"
#include <voxels/Chunks.hpp>
#include <voxels/Chunk.hpp>
#include <voxels/voxel.hpp>
#include <voxels/Block.hpp>
#include <constants.hpp>
#include <util/timeutil.hpp>

View File

@ -6,10 +6,10 @@
#include "../lighting/Lighting.hpp"
#include "../maths/fastmaths.hpp"
#include <util/timeutil.hpp>
#include "../voxels/Block.hpp"
#include "../voxels/Chunk.hpp"
#include "../voxels/Chunks.hpp"
#include "../voxels/voxel.hpp"
#include <voxels/Block.hpp>
#include <voxels/Chunk.hpp>
#include <voxels/Chunks.hpp>
#include <voxels/voxel.hpp>
#include "../world/Level.hpp"
#include "../world/World.hpp"
#include "scripting/scripting.hpp"

View File

@ -7,7 +7,7 @@
#include "../maths/fastmaths.hpp"
#include <typedefs.hpp>
#include <util/Clock.hpp>
#include "../voxels/voxel.hpp"
#include <voxels/voxel.hpp>
class Player;
class Block;

View File

@ -11,11 +11,11 @@
#include "../lighting/Lighting.hpp"
#include "../maths/voxmaths.hpp"
#include <util/timeutil.hpp>
#include "../voxels/Block.hpp"
#include "../voxels/Chunk.hpp"
#include "../voxels/Chunks.hpp"
#include "../voxels/ChunksStorage.hpp"
#include "../voxels/WorldGenerator.hpp"
#include <voxels/Block.hpp>
#include <voxels/Chunk.hpp>
#include <voxels/Chunks.hpp>
#include <voxels/ChunksStorage.hpp>
#include <voxels/WorldGenerator.hpp>
#include "../world/Level.hpp"
#include "../world/World.hpp"
#include "../world/WorldGenerators.hpp"

View File

@ -15,9 +15,9 @@
#include "../physics/Hitbox.hpp"
#include "../physics/PhysicsSolver.hpp"
#include <settings.hpp>
#include "../voxels/Block.hpp"
#include "../voxels/Chunks.hpp"
#include "../voxels/voxel.hpp"
#include <voxels/Block.hpp>
#include <voxels/Chunks.hpp>
#include <voxels/voxel.hpp>
#include "../window/Camera.hpp"
#include "../window/Events.hpp"
#include "../window/Window.hpp"

View File

@ -2,10 +2,10 @@
#include "../../../lighting/Lighting.hpp"
#include "../../../logic/BlocksController.hpp"
#include "../../../logic/LevelController.hpp"
#include "../../../voxels/Block.hpp"
#include "../../../voxels/Chunk.hpp"
#include "../../../voxels/Chunks.hpp"
#include "../../../voxels/voxel.hpp"
#include <voxels/Block.hpp>
#include <voxels/Chunk.hpp>
#include <voxels/Chunks.hpp>
#include <voxels/voxel.hpp>
#include "../../../world/Level.hpp"
#include "api_lua.hpp"

View File

@ -7,7 +7,7 @@
#include <objects/Player.hpp>
#include <objects/rigging.hpp>
#include "../../../physics/Hitbox.hpp"
#include "../../../voxels/Chunks.hpp"
#include <voxels/Chunks.hpp>
#include "../../../window/Camera.hpp"
using namespace scripting;

View File

@ -11,9 +11,9 @@
#include "../../../logic/BlocksController.hpp"
#include <objects/Player.hpp>
#include <util/stringutil.hpp>
#include "../../../voxels/Block.hpp"
#include "../../../voxels/Chunks.hpp"
#include "../../../voxels/voxel.hpp"
#include <voxels/Block.hpp>
#include <voxels/Chunks.hpp>
#include <voxels/voxel.hpp>
#include "../../../world/Level.hpp"
#include "api_lua.hpp"

View File

@ -19,7 +19,7 @@
#include <objects/Player.hpp>
#include <util/stringutil.hpp>
#include <util/timeutil.hpp>
#include "../../voxels/Block.hpp"
#include <voxels/Block.hpp>
#include "../../world/Level.hpp"
#include "lua/lua_engine.hpp"

View File

@ -10,7 +10,7 @@
#include "rigging.hpp"
#include "../physics/Hitbox.hpp"
#include "../physics/PhysicsSolver.hpp"
#include "../voxels/Chunks.hpp"
#include <voxels/Chunks.hpp>
#include "../window/Camera.hpp"
#include "../window/Events.hpp"
#include "../world/Level.hpp"

View File

@ -9,7 +9,7 @@
#include "../interfaces/Object.hpp"
#include "../interfaces/Serializable.hpp"
#include <settings.hpp>
#include "../voxels/voxel.hpp"
#include <voxels/voxel.hpp>
class Camera;
class Inventory;

View File

@ -2,9 +2,9 @@
#include "Hitbox.hpp"
#include "../maths/aabb.hpp"
#include "../voxels/Block.hpp"
#include "../voxels/Chunks.hpp"
#include "../voxels/voxel.hpp"
#include <voxels/Block.hpp>
#include <voxels/Chunks.hpp>
#include <voxels/voxel.hpp>
#include <iostream>
#define GLM_ENABLE_EXPERIMENTAL

View File

@ -4,7 +4,7 @@
#include "Hitbox.hpp"
#include <typedefs.hpp>
#include "../voxels/voxel.hpp"
#include <voxels/voxel.hpp>
#include <vector>
#include <glm/glm.hpp>

View File

@ -2,7 +2,7 @@
#define VOXELS_DEFAULTWORLDGENERATOR_HPP_
#include <typedefs.hpp>
#include "../voxels/WorldGenerator.hpp"
#include "WorldGenerator.hpp"
struct voxel;
class Content;

View File

@ -2,7 +2,7 @@
#define VOXELS_FLATWORLDGENERATOR_HPP_
#include <typedefs.hpp>
#include "../voxels/WorldGenerator.hpp"
#include "WorldGenerator.hpp"
struct voxel;
class Content;

View File

@ -10,9 +10,9 @@
#include "../physics/Hitbox.hpp"
#include "../physics/PhysicsSolver.hpp"
#include <settings.hpp>
#include "../voxels/Chunk.hpp"
#include "../voxels/Chunks.hpp"
#include "../voxels/ChunksStorage.hpp"
#include <voxels/Chunk.hpp>
#include <voxels/Chunks.hpp>
#include <voxels/ChunksStorage.hpp>
#include "../window/Camera.hpp"
#include "LevelEvents.hpp"
#include "World.hpp"

View File

@ -1,6 +1,6 @@
#include "LevelEvents.hpp"
#include "../voxels/Chunk.hpp"
#include <voxels/Chunk.hpp>
using std::vector;

View File

@ -12,9 +12,9 @@
#include <objects/Entities.hpp>
#include <objects/Player.hpp>
#include <settings.hpp>
#include "../voxels/Chunk.hpp"
#include "../voxels/Chunks.hpp"
#include "../voxels/ChunksStorage.hpp"
#include <voxels/Chunk.hpp>
#include <voxels/Chunks.hpp>
#include <voxels/ChunksStorage.hpp>
#include "../world/WorldGenerators.hpp"
#include "Level.hpp"

View File

@ -3,8 +3,8 @@
#include <iostream>
#include <content/Content.hpp>
#include "../voxels/FlatWorldGenerator.hpp"
#include "../voxels/WorldGenerator.hpp"
#include <voxels/FlatWorldGenerator.hpp>
#include <voxels/WorldGenerator.hpp>
std::vector<std::string> WorldGenerators::getGeneratorsIDs() {
std::vector<std::string> ids;

View File

@ -5,7 +5,7 @@
#include <string>
#include <vector>
#include "../voxels/WorldGenerator.hpp"
#include <voxels/WorldGenerator.hpp>
class Content;