mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
world/
This commit is contained in:
parent
5153152389
commit
9f9b9f2d64
31 changed files with 47 additions and 47 deletions
|
|
@ -10,8 +10,8 @@
|
|||
#include <voxels/Chunk.hpp>
|
||||
#include <voxels/Chunks.hpp>
|
||||
#include <voxels/voxel.hpp>
|
||||
#include "../world/Level.hpp"
|
||||
#include "../world/World.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include <world/World.hpp>
|
||||
#include "scripting/scripting.hpp"
|
||||
|
||||
BlocksController::BlocksController(Level* level, uint padding)
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@
|
|||
#include <voxels/Chunks.hpp>
|
||||
#include <voxels/ChunksStorage.hpp>
|
||||
#include <voxels/WorldGenerator.hpp>
|
||||
#include "../world/Level.hpp"
|
||||
#include "../world/World.hpp"
|
||||
#include "../world/WorldGenerators.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include <world/World.hpp>
|
||||
#include <world/WorldGenerators.hpp>
|
||||
|
||||
const uint MAX_WORK_PER_FRAME = 128;
|
||||
const uint MIN_SURROUNDING = 9;
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@
|
|||
#include <graphics/ui/gui_util.hpp>
|
||||
#include "../interfaces/Task.hpp"
|
||||
#include <util/stringutil.hpp>
|
||||
#include "../world/Level.hpp"
|
||||
#include "../world/World.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include <world/World.hpp>
|
||||
#include "LevelController.hpp"
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
#include <objects/Entities.hpp>
|
||||
#include "../physics/Hitbox.hpp"
|
||||
#include <settings.hpp>
|
||||
#include "../world/Level.hpp"
|
||||
#include "../world/World.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include <world/World.hpp>
|
||||
#include "scripting/scripting.hpp"
|
||||
|
||||
static debug::Logger logger("level-control");
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
#include "../window/Events.hpp"
|
||||
#include "../window/Window.hpp"
|
||||
#include "../window/input.hpp"
|
||||
#include "../world/Level.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include "BlocksController.hpp"
|
||||
#include "scripting/scripting.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include <voxels/Chunk.hpp>
|
||||
#include <voxels/Chunks.hpp>
|
||||
#include <voxels/voxel.hpp>
|
||||
#include "../../../world/Level.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <content/Content.hpp>
|
||||
#include "../../../window/Camera.hpp"
|
||||
#include "../../../world/Level.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
#include <logic/LevelController.hpp>
|
||||
#include "../../../window/Events.hpp"
|
||||
#include "../../../window/Window.hpp"
|
||||
#include "../../../world/Level.hpp"
|
||||
#include "../../../world/WorldGenerators.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include <world/WorldGenerators.hpp>
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include "../../../frontend/hud.hpp"
|
||||
#include <objects/Entities.hpp>
|
||||
#include "../../../world/Level.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include <logic/LevelController.hpp>
|
||||
#include "api_lua.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
#include <graphics/ui/gui_util.hpp>
|
||||
#include <items/Inventories.hpp>
|
||||
#include <util/stringutil.hpp>
|
||||
#include "../../../world/Level.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace gui;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
#include <voxels/Block.hpp>
|
||||
#include <voxels/Chunks.hpp>
|
||||
#include <voxels/voxel.hpp>
|
||||
#include "../../../world/Level.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include "api_lua.hpp"
|
||||
|
||||
namespace scripting {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#include <items/Inventories.hpp>
|
||||
#include <items/ItemStack.hpp>
|
||||
#include <logic/BlocksController.hpp>
|
||||
#include "../../../world/Level.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
#include <engine.hpp>
|
||||
#include <files/WorldFiles.hpp>
|
||||
#include <files/engine_paths.hpp>
|
||||
#include "../../../world/Level.hpp"
|
||||
#include "../../../world/World.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include <world/World.hpp>
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include <objects/Player.hpp>
|
||||
#include "../../../physics/Hitbox.hpp"
|
||||
#include "../../../window/Camera.hpp"
|
||||
#include "../../../world/Level.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include "libentity.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
#include <assets/AssetsLoader.hpp>
|
||||
#include <engine.hpp>
|
||||
#include <files/engine_paths.hpp>
|
||||
#include "../../../world/Level.hpp"
|
||||
#include "../../../world/World.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include <world/World.hpp>
|
||||
#include "api_lua.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
#include <util/stringutil.hpp>
|
||||
#include <util/timeutil.hpp>
|
||||
#include <voxels/Block.hpp>
|
||||
#include "../../world/Level.hpp"
|
||||
#include <world/Level.hpp>
|
||||
#include "lua/lua_engine.hpp"
|
||||
|
||||
using namespace scripting;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue