voxels/
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
#include "../logic/scripting/scripting.hpp"
|
#include "../logic/scripting/scripting.hpp"
|
||||||
#include <objects/rigging.hpp>
|
#include <objects/rigging.hpp>
|
||||||
#include <util/ThreadPool.hpp>
|
#include <util/ThreadPool.hpp>
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "Assets.hpp"
|
#include "Assets.hpp"
|
||||||
#include "assetload_funcs.hpp"
|
#include "assetload_funcs.hpp"
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#include "../logic/scripting/scripting.hpp"
|
#include "../logic/scripting/scripting.hpp"
|
||||||
#include <objects/EntityDef.hpp>
|
#include <objects/EntityDef.hpp>
|
||||||
#include <objects/rigging.hpp>
|
#include <objects/rigging.hpp>
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "ContentPack.hpp"
|
#include "ContentPack.hpp"
|
||||||
|
|
||||||
ContentIndices::ContentIndices(
|
ContentIndices::ContentIndices(
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#include "ContentPack.hpp"
|
#include "ContentPack.hpp"
|
||||||
#include <items/ItemDef.hpp>
|
#include <items/ItemDef.hpp>
|
||||||
#include <objects/EntityDef.hpp>
|
#include <objects/EntityDef.hpp>
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
class ContentUnitBuilder {
|
class ContentUnitBuilder {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#include <constants.hpp>
|
#include <constants.hpp>
|
||||||
#include <files/files.hpp>
|
#include <files/files.hpp>
|
||||||
#include <items/ItemDef.hpp>
|
#include <items/ItemDef.hpp>
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "Content.hpp"
|
#include "Content.hpp"
|
||||||
|
|
||||||
ContentLUT::ContentLUT(
|
ContentLUT::ContentLUT(
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include <typedefs.hpp>
|
#include <typedefs.hpp>
|
||||||
#include <util/listutil.hpp>
|
#include <util/listutil.hpp>
|
||||||
#include <util/stringutil.hpp>
|
#include <util/stringutil.hpp>
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "Content.hpp"
|
#include "Content.hpp"
|
||||||
#include "ContentBuilder.hpp"
|
#include "ContentBuilder.hpp"
|
||||||
#include "ContentPack.hpp"
|
#include "ContentPack.hpp"
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
#include "window/Window.hpp"
|
#include "window/Window.hpp"
|
||||||
#include "window/Events.hpp"
|
#include "window/Events.hpp"
|
||||||
#include "window/input.hpp"
|
#include "window/input.hpp"
|
||||||
#include "voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
|
|
||||||
// All in-game definitions (blocks, items, etc..)
|
// All in-game definitions (blocks, items, etc..)
|
||||||
void corecontent::setup(EnginePaths* paths, ContentBuilder* builder) {
|
void corecontent::setup(EnginePaths* paths, ContentBuilder* builder) {
|
||||||
|
|||||||
+2
-2
@@ -30,8 +30,8 @@
|
|||||||
#include "logic/scripting/scripting.hpp"
|
#include "logic/scripting/scripting.hpp"
|
||||||
#include <util/listutil.hpp>
|
#include <util/listutil.hpp>
|
||||||
#include <util/platform.hpp>
|
#include <util/platform.hpp>
|
||||||
#include "voxels/DefaultWorldGenerator.hpp"
|
#include <voxels/DefaultWorldGenerator.hpp>
|
||||||
#include "voxels/FlatWorldGenerator.hpp"
|
#include <voxels/FlatWorldGenerator.hpp>
|
||||||
#include "window/Camera.hpp"
|
#include "window/Camera.hpp"
|
||||||
#include "window/Events.hpp"
|
#include "window/Events.hpp"
|
||||||
#include "window/input.hpp"
|
#include "window/input.hpp"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
#include <files/files.hpp>
|
#include <files/files.hpp>
|
||||||
#include <objects/Player.hpp>
|
#include <objects/Player.hpp>
|
||||||
#include <util/ThreadPool.hpp>
|
#include <util/ThreadPool.hpp>
|
||||||
#include "../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "WorldFiles.hpp"
|
#include "WorldFiles.hpp"
|
||||||
|
|
||||||
namespace fs = std::filesystem;
|
namespace fs = std::filesystem;
|
||||||
|
|||||||
@@ -25,9 +25,9 @@
|
|||||||
#include <settings.hpp>
|
#include <settings.hpp>
|
||||||
#include <typedefs.hpp>
|
#include <typedefs.hpp>
|
||||||
#include <util/data_io.hpp>
|
#include <util/data_io.hpp>
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "../voxels/voxel.hpp"
|
#include <voxels/voxel.hpp>
|
||||||
#include "../window/Camera.hpp"
|
#include "../window/Camera.hpp"
|
||||||
#include "../world/World.hpp"
|
#include "../world/World.hpp"
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include <content/ContentPack.hpp>
|
#include <content/ContentPack.hpp>
|
||||||
#include <typedefs.hpp>
|
#include <typedefs.hpp>
|
||||||
#include "../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "WorldRegions.hpp"
|
#include "WorldRegions.hpp"
|
||||||
#include "files.hpp"
|
#include "files.hpp"
|
||||||
#define GLM_ENABLE_EXPERIMENTAL
|
#define GLM_ENABLE_EXPERIMENTAL
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#include "../data/dynamic_fwd.hpp"
|
#include "../data/dynamic_fwd.hpp"
|
||||||
#include <typedefs.hpp>
|
#include <typedefs.hpp>
|
||||||
#include <util/BufferPool.hpp>
|
#include <util/BufferPool.hpp>
|
||||||
#include "../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "files.hpp"
|
#include "files.hpp"
|
||||||
#define GLM_ENABLE_EXPERIMENTAL
|
#define GLM_ENABLE_EXPERIMENTAL
|
||||||
#include "glm/gtx/hash.hpp"
|
#include "glm/gtx/hash.hpp"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#include <core_defs.hpp>
|
#include <core_defs.hpp>
|
||||||
#include <graphics/core/Atlas.hpp>
|
#include <graphics/core/Atlas.hpp>
|
||||||
#include "../maths/UVRegion.hpp"
|
#include "../maths/UVRegion.hpp"
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#include "../logic/LevelController.hpp"
|
#include "../logic/LevelController.hpp"
|
||||||
#include "../logic/PlayerController.hpp"
|
#include "../logic/PlayerController.hpp"
|
||||||
#include <objects/Player.hpp>
|
#include <objects/Player.hpp>
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../world/Level.hpp"
|
#include "../world/Level.hpp"
|
||||||
|
|
||||||
LevelFrontend::LevelFrontend(
|
LevelFrontend::LevelFrontend(
|
||||||
|
|||||||
@@ -15,9 +15,9 @@
|
|||||||
#include <objects/EntityDef.hpp>
|
#include <objects/EntityDef.hpp>
|
||||||
#include "../physics/Hitbox.hpp"
|
#include "../physics/Hitbox.hpp"
|
||||||
#include <util/stringutil.hpp>
|
#include <util/stringutil.hpp>
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../world/Level.hpp"
|
#include "../world/Level.hpp"
|
||||||
#include "../world/World.hpp"
|
#include "../world/World.hpp"
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,9 @@
|
|||||||
#include "../physics/Hitbox.hpp"
|
#include "../physics/Hitbox.hpp"
|
||||||
#include <typedefs.hpp>
|
#include <typedefs.hpp>
|
||||||
#include <util/stringutil.hpp>
|
#include <util/stringutil.hpp>
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../window/Camera.hpp"
|
#include "../window/Camera.hpp"
|
||||||
#include "../window/Events.hpp"
|
#include "../window/Events.hpp"
|
||||||
#include "../window/input.hpp"
|
#include "../window/input.hpp"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
#include "../../logic/scripting/scripting_hud.hpp"
|
#include "../../logic/scripting/scripting_hud.hpp"
|
||||||
#include <util/stringutil.hpp>
|
#include <util/stringutil.hpp>
|
||||||
#include "../../physics/Hitbox.hpp"
|
#include "../../physics/Hitbox.hpp"
|
||||||
#include "../../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../../window/Camera.hpp"
|
#include "../../window/Camera.hpp"
|
||||||
#include "../../window/Events.hpp"
|
#include "../../window/Events.hpp"
|
||||||
#include "../../window/Window.hpp"
|
#include "../../window/Window.hpp"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#include <constants.hpp>
|
#include <constants.hpp>
|
||||||
#include <content/Content.hpp>
|
#include <content/Content.hpp>
|
||||||
#include "../../frontend/ContentGfxCache.hpp"
|
#include "../../frontend/ContentGfxCache.hpp"
|
||||||
#include "../../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../../window/Camera.hpp"
|
#include "../../window/Camera.hpp"
|
||||||
#include "../../window/Window.hpp"
|
#include "../../window/Window.hpp"
|
||||||
#include <graphics/core/Atlas.hpp>
|
#include <graphics/core/Atlas.hpp>
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
#include "../../maths/UVRegion.hpp"
|
#include "../../maths/UVRegion.hpp"
|
||||||
#include <constants.hpp>
|
#include <constants.hpp>
|
||||||
#include <content/Content.hpp>
|
#include <content/Content.hpp>
|
||||||
#include "../../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "../../voxels/VoxelsVolume.hpp"
|
#include <voxels/VoxelsVolume.hpp>
|
||||||
#include "../../voxels/ChunksStorage.hpp"
|
#include <voxels/ChunksStorage.hpp>
|
||||||
#include "../../lighting/Lightmap.hpp"
|
#include "../../lighting/Lightmap.hpp"
|
||||||
#include "../../frontend/ContentGfxCache.hpp"
|
#include "../../frontend/ContentGfxCache.hpp"
|
||||||
#include <settings.hpp>
|
#include <settings.hpp>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
#include "../../voxels/voxel.hpp"
|
#include <voxels/voxel.hpp>
|
||||||
#include <typedefs.hpp>
|
#include <typedefs.hpp>
|
||||||
|
|
||||||
class Content;
|
class Content;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#include "BlocksRenderer.hpp"
|
#include "BlocksRenderer.hpp"
|
||||||
#include <debug/Logger.hpp>
|
#include <debug/Logger.hpp>
|
||||||
#include <graphics/core/Mesh.hpp>
|
#include <graphics/core/Mesh.hpp>
|
||||||
#include "../../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "../../world/Level.hpp"
|
#include "../../world/Level.hpp"
|
||||||
#include <settings.hpp>
|
#include <settings.hpp>
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
|
|
||||||
#include "../../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../../voxels/ChunksStorage.hpp"
|
#include <voxels/ChunksStorage.hpp>
|
||||||
#include <util/ThreadPool.hpp>
|
#include <util/ThreadPool.hpp>
|
||||||
|
|
||||||
class Mesh;
|
class Mesh;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#include <graphics/core/Texture.hpp>
|
#include <graphics/core/Texture.hpp>
|
||||||
#include <assets/Assets.hpp>
|
#include <assets/Assets.hpp>
|
||||||
#include "../../window/Window.hpp"
|
#include "../../window/Window.hpp"
|
||||||
#include "../../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../../lighting/Lightmap.hpp"
|
#include "../../lighting/Lightmap.hpp"
|
||||||
|
|
||||||
#define GLM_ENABLE_EXPERIMENTAL
|
#define GLM_ENABLE_EXPERIMENTAL
|
||||||
|
|||||||
@@ -22,9 +22,9 @@
|
|||||||
#include <objects/Entities.hpp>
|
#include <objects/Entities.hpp>
|
||||||
#include <objects/Player.hpp>
|
#include <objects/Player.hpp>
|
||||||
#include <settings.hpp>
|
#include <settings.hpp>
|
||||||
#include "../../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "../../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../../window/Camera.hpp"
|
#include "../../window/Camera.hpp"
|
||||||
#include "../../window/Window.hpp"
|
#include "../../window/Window.hpp"
|
||||||
#include "../../world/Level.hpp"
|
#include "../../world/Level.hpp"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#include "../../../maths/voxmaths.hpp"
|
#include "../../../maths/voxmaths.hpp"
|
||||||
#include <objects/Player.hpp>
|
#include <objects/Player.hpp>
|
||||||
#include <util/stringutil.hpp>
|
#include <util/stringutil.hpp>
|
||||||
#include "../../../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../../../window/Events.hpp"
|
#include "../../../window/Events.hpp"
|
||||||
#include "../../../window/input.hpp"
|
#include "../../../window/input.hpp"
|
||||||
#include "../../../world/Level.hpp"
|
#include "../../../world/Level.hpp"
|
||||||
|
|||||||
@@ -3,10 +3,10 @@
|
|||||||
#include "LightSolver.hpp"
|
#include "LightSolver.hpp"
|
||||||
#include "Lightmap.hpp"
|
#include "Lightmap.hpp"
|
||||||
#include <content/Content.hpp>
|
#include <content/Content.hpp>
|
||||||
#include "../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "../voxels/voxel.hpp"
|
#include <voxels/voxel.hpp>
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
|
|
||||||
LightSolver::LightSolver(const ContentIndices* contentIds, Chunks* chunks, int channel)
|
LightSolver::LightSolver(const ContentIndices* contentIds, Chunks* chunks, int channel)
|
||||||
: contentIds(contentIds),
|
: contentIds(contentIds),
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
#include "LightSolver.hpp"
|
#include "LightSolver.hpp"
|
||||||
#include "Lightmap.hpp"
|
#include "Lightmap.hpp"
|
||||||
#include <content/Content.hpp>
|
#include <content/Content.hpp>
|
||||||
#include "../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "../voxels/voxel.hpp"
|
#include <voxels/voxel.hpp>
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include <constants.hpp>
|
#include <constants.hpp>
|
||||||
#include <util/timeutil.hpp>
|
#include <util/timeutil.hpp>
|
||||||
|
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
#include "../lighting/Lighting.hpp"
|
#include "../lighting/Lighting.hpp"
|
||||||
#include "../maths/fastmaths.hpp"
|
#include "../maths/fastmaths.hpp"
|
||||||
#include <util/timeutil.hpp>
|
#include <util/timeutil.hpp>
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../voxels/voxel.hpp"
|
#include <voxels/voxel.hpp>
|
||||||
#include "../world/Level.hpp"
|
#include "../world/Level.hpp"
|
||||||
#include "../world/World.hpp"
|
#include "../world/World.hpp"
|
||||||
#include "scripting/scripting.hpp"
|
#include "scripting/scripting.hpp"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
#include "../maths/fastmaths.hpp"
|
#include "../maths/fastmaths.hpp"
|
||||||
#include <typedefs.hpp>
|
#include <typedefs.hpp>
|
||||||
#include <util/Clock.hpp>
|
#include <util/Clock.hpp>
|
||||||
#include "../voxels/voxel.hpp"
|
#include <voxels/voxel.hpp>
|
||||||
|
|
||||||
class Player;
|
class Player;
|
||||||
class Block;
|
class Block;
|
||||||
|
|||||||
@@ -11,11 +11,11 @@
|
|||||||
#include "../lighting/Lighting.hpp"
|
#include "../lighting/Lighting.hpp"
|
||||||
#include "../maths/voxmaths.hpp"
|
#include "../maths/voxmaths.hpp"
|
||||||
#include <util/timeutil.hpp>
|
#include <util/timeutil.hpp>
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../voxels/ChunksStorage.hpp"
|
#include <voxels/ChunksStorage.hpp>
|
||||||
#include "../voxels/WorldGenerator.hpp"
|
#include <voxels/WorldGenerator.hpp>
|
||||||
#include "../world/Level.hpp"
|
#include "../world/Level.hpp"
|
||||||
#include "../world/World.hpp"
|
#include "../world/World.hpp"
|
||||||
#include "../world/WorldGenerators.hpp"
|
#include "../world/WorldGenerators.hpp"
|
||||||
|
|||||||
@@ -15,9 +15,9 @@
|
|||||||
#include "../physics/Hitbox.hpp"
|
#include "../physics/Hitbox.hpp"
|
||||||
#include "../physics/PhysicsSolver.hpp"
|
#include "../physics/PhysicsSolver.hpp"
|
||||||
#include <settings.hpp>
|
#include <settings.hpp>
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../voxels/voxel.hpp"
|
#include <voxels/voxel.hpp>
|
||||||
#include "../window/Camera.hpp"
|
#include "../window/Camera.hpp"
|
||||||
#include "../window/Events.hpp"
|
#include "../window/Events.hpp"
|
||||||
#include "../window/Window.hpp"
|
#include "../window/Window.hpp"
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
#include "../../../lighting/Lighting.hpp"
|
#include "../../../lighting/Lighting.hpp"
|
||||||
#include "../../../logic/BlocksController.hpp"
|
#include "../../../logic/BlocksController.hpp"
|
||||||
#include "../../../logic/LevelController.hpp"
|
#include "../../../logic/LevelController.hpp"
|
||||||
#include "../../../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../../../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "../../../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../../../voxels/voxel.hpp"
|
#include <voxels/voxel.hpp>
|
||||||
#include "../../../world/Level.hpp"
|
#include "../../../world/Level.hpp"
|
||||||
#include "api_lua.hpp"
|
#include "api_lua.hpp"
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
#include <objects/Player.hpp>
|
#include <objects/Player.hpp>
|
||||||
#include <objects/rigging.hpp>
|
#include <objects/rigging.hpp>
|
||||||
#include "../../../physics/Hitbox.hpp"
|
#include "../../../physics/Hitbox.hpp"
|
||||||
#include "../../../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../../../window/Camera.hpp"
|
#include "../../../window/Camera.hpp"
|
||||||
|
|
||||||
using namespace scripting;
|
using namespace scripting;
|
||||||
|
|||||||
@@ -11,9 +11,9 @@
|
|||||||
#include "../../../logic/BlocksController.hpp"
|
#include "../../../logic/BlocksController.hpp"
|
||||||
#include <objects/Player.hpp>
|
#include <objects/Player.hpp>
|
||||||
#include <util/stringutil.hpp>
|
#include <util/stringutil.hpp>
|
||||||
#include "../../../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../../../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../../../voxels/voxel.hpp"
|
#include <voxels/voxel.hpp>
|
||||||
#include "../../../world/Level.hpp"
|
#include "../../../world/Level.hpp"
|
||||||
#include "api_lua.hpp"
|
#include "api_lua.hpp"
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#include <objects/Player.hpp>
|
#include <objects/Player.hpp>
|
||||||
#include <util/stringutil.hpp>
|
#include <util/stringutil.hpp>
|
||||||
#include <util/timeutil.hpp>
|
#include <util/timeutil.hpp>
|
||||||
#include "../../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../../world/Level.hpp"
|
#include "../../world/Level.hpp"
|
||||||
#include "lua/lua_engine.hpp"
|
#include "lua/lua_engine.hpp"
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#include "rigging.hpp"
|
#include "rigging.hpp"
|
||||||
#include "../physics/Hitbox.hpp"
|
#include "../physics/Hitbox.hpp"
|
||||||
#include "../physics/PhysicsSolver.hpp"
|
#include "../physics/PhysicsSolver.hpp"
|
||||||
#include "../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../window/Camera.hpp"
|
#include "../window/Camera.hpp"
|
||||||
#include "../window/Events.hpp"
|
#include "../window/Events.hpp"
|
||||||
#include "../world/Level.hpp"
|
#include "../world/Level.hpp"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#include "../interfaces/Object.hpp"
|
#include "../interfaces/Object.hpp"
|
||||||
#include "../interfaces/Serializable.hpp"
|
#include "../interfaces/Serializable.hpp"
|
||||||
#include <settings.hpp>
|
#include <settings.hpp>
|
||||||
#include "../voxels/voxel.hpp"
|
#include <voxels/voxel.hpp>
|
||||||
|
|
||||||
class Camera;
|
class Camera;
|
||||||
class Inventory;
|
class Inventory;
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
#include "Hitbox.hpp"
|
#include "Hitbox.hpp"
|
||||||
|
|
||||||
#include "../maths/aabb.hpp"
|
#include "../maths/aabb.hpp"
|
||||||
#include "../voxels/Block.hpp"
|
#include <voxels/Block.hpp>
|
||||||
#include "../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../voxels/voxel.hpp"
|
#include <voxels/voxel.hpp>
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#define GLM_ENABLE_EXPERIMENTAL
|
#define GLM_ENABLE_EXPERIMENTAL
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#include "Hitbox.hpp"
|
#include "Hitbox.hpp"
|
||||||
|
|
||||||
#include <typedefs.hpp>
|
#include <typedefs.hpp>
|
||||||
#include "../voxels/voxel.hpp"
|
#include <voxels/voxel.hpp>
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#define VOXELS_DEFAULTWORLDGENERATOR_HPP_
|
#define VOXELS_DEFAULTWORLDGENERATOR_HPP_
|
||||||
|
|
||||||
#include <typedefs.hpp>
|
#include <typedefs.hpp>
|
||||||
#include "../voxels/WorldGenerator.hpp"
|
#include "WorldGenerator.hpp"
|
||||||
|
|
||||||
struct voxel;
|
struct voxel;
|
||||||
class Content;
|
class Content;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#define VOXELS_FLATWORLDGENERATOR_HPP_
|
#define VOXELS_FLATWORLDGENERATOR_HPP_
|
||||||
|
|
||||||
#include <typedefs.hpp>
|
#include <typedefs.hpp>
|
||||||
#include "../voxels/WorldGenerator.hpp"
|
#include "WorldGenerator.hpp"
|
||||||
|
|
||||||
struct voxel;
|
struct voxel;
|
||||||
class Content;
|
class Content;
|
||||||
|
|||||||
+3
-3
@@ -10,9 +10,9 @@
|
|||||||
#include "../physics/Hitbox.hpp"
|
#include "../physics/Hitbox.hpp"
|
||||||
#include "../physics/PhysicsSolver.hpp"
|
#include "../physics/PhysicsSolver.hpp"
|
||||||
#include <settings.hpp>
|
#include <settings.hpp>
|
||||||
#include "../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../voxels/ChunksStorage.hpp"
|
#include <voxels/ChunksStorage.hpp>
|
||||||
#include "../window/Camera.hpp"
|
#include "../window/Camera.hpp"
|
||||||
#include "LevelEvents.hpp"
|
#include "LevelEvents.hpp"
|
||||||
#include "World.hpp"
|
#include "World.hpp"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "LevelEvents.hpp"
|
#include "LevelEvents.hpp"
|
||||||
|
|
||||||
#include "../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
|
|
||||||
using std::vector;
|
using std::vector;
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -12,9 +12,9 @@
|
|||||||
#include <objects/Entities.hpp>
|
#include <objects/Entities.hpp>
|
||||||
#include <objects/Player.hpp>
|
#include <objects/Player.hpp>
|
||||||
#include <settings.hpp>
|
#include <settings.hpp>
|
||||||
#include "../voxels/Chunk.hpp"
|
#include <voxels/Chunk.hpp>
|
||||||
#include "../voxels/Chunks.hpp"
|
#include <voxels/Chunks.hpp>
|
||||||
#include "../voxels/ChunksStorage.hpp"
|
#include <voxels/ChunksStorage.hpp>
|
||||||
#include "../world/WorldGenerators.hpp"
|
#include "../world/WorldGenerators.hpp"
|
||||||
#include "Level.hpp"
|
#include "Level.hpp"
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#include <content/Content.hpp>
|
#include <content/Content.hpp>
|
||||||
#include "../voxels/FlatWorldGenerator.hpp"
|
#include <voxels/FlatWorldGenerator.hpp>
|
||||||
#include "../voxels/WorldGenerator.hpp"
|
#include <voxels/WorldGenerator.hpp>
|
||||||
|
|
||||||
std::vector<std::string> WorldGenerators::getGeneratorsIDs() {
|
std::vector<std::string> WorldGenerators::getGeneratorsIDs() {
|
||||||
std::vector<std::string> ids;
|
std::vector<std::string> ids;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "../voxels/WorldGenerator.hpp"
|
#include <voxels/WorldGenerator.hpp>
|
||||||
|
|
||||||
class Content;
|
class Content;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user