Root includes

This commit is contained in:
InfiniteCoder 2024-08-04 10:24:11 +03:00
parent eeb9ba77fb
commit d5dc68dd38
132 changed files with 164 additions and 164 deletions

View file

@ -2,7 +2,7 @@
#include <utility>
#include "../core_defs.hpp"
#include <core_defs.hpp>
#include "../util/stringutil.hpp"
std::string to_string(BlockModel model) {

View file

@ -8,7 +8,7 @@
#include "../maths/UVRegion.hpp"
#include "../maths/aabb.hpp"
#include "../typedefs.hpp"
#include <typedefs.hpp>
inline std::string BLOCK_ITEM_SUFFIX = ".item";

View file

@ -6,7 +6,7 @@
#include <memory>
#include <unordered_map>
#include "../constants.hpp"
#include <constants.hpp>
#include "../lighting/Lightmap.hpp"
#include "voxel.hpp"

View file

@ -7,7 +7,7 @@
#include <memory>
#include <vector>
#include "../typedefs.hpp"
#include <typedefs.hpp>
#include "voxel.hpp"
class VoxelRenderer;

View file

@ -7,7 +7,7 @@
#include "../lighting/Lightmap.hpp"
#include "../maths/voxmaths.hpp"
#include "../objects/Entities.hpp"
#include "../typedefs.hpp"
#include <typedefs.hpp>
#include "../world/Level.hpp"
#include "../world/World.hpp"
#include "Block.hpp"

View file

@ -4,7 +4,7 @@
#include <memory>
#include <unordered_map>
#include "../typedefs.hpp"
#include <typedefs.hpp>
#include "voxel.hpp"
#define GLM_ENABLE_EXPERIMENTAL

View file

@ -15,7 +15,7 @@
#include <vector>
#include "../content/Content.hpp"
#include "../core_defs.hpp"
#include <core_defs.hpp>
#include "../maths/FastNoiseLite.h"
#include "../maths/util.hpp"
#include "../maths/voxmaths.hpp"

View file

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

View file

@ -1,7 +1,7 @@
#include "FlatWorldGenerator.hpp"
#include "../content/Content.hpp"
#include "../core_defs.hpp"
#include <core_defs.hpp>
#include "Chunk.hpp"
#include "voxel.hpp"

View file

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

View file

@ -1,8 +1,8 @@
#ifndef VOXELS_VOXELSVOLUME_HPP_
#define VOXELS_VOXELSVOLUME_HPP_
#include "../constants.hpp"
#include "../typedefs.hpp"
#include <constants.hpp>
#include <typedefs.hpp>
#include "voxel.hpp"
class VoxelsVolume {

View file

@ -3,7 +3,7 @@
#include <string>
#include "../typedefs.hpp"
#include <typedefs.hpp>
struct voxel;
class Content;

View file

@ -1,7 +1,7 @@
#ifndef VOXELS_VOXEL_HPP_
#define VOXELS_VOXEL_HPP_
#include "../typedefs.hpp"
#include <typedefs.hpp>
inline constexpr int BLOCK_DIR_NORTH = 0x0;
inline constexpr int BLOCK_DIR_WEST = 0x1;