summaryrefslogtreecommitdiffstats
path: root/src/game/shared
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-30 23:39:41 +0500
committeruntodesu <kirill@untode.su>2025-06-30 23:39:41 +0500
commitc7b0c8e0286a1b2bb7ec55e579137dfc3b22eeb9 (patch)
tree310a7798b85ce049b918454cb79e1f9db1505dd1 /src/game/shared
parent43a7dc51d80b6fd99cd5e77561809ea4b179bc73 (diff)
downloadvoxelius-c7b0c8e0286a1b2bb7ec55e579137dfc3b22eeb9.tar.bz2
voxelius-c7b0c8e0286a1b2bb7ec55e579137dfc3b22eeb9.zip
Nuke core/macros.hh
Diffstat (limited to 'src/game/shared')
-rw-r--r--src/game/shared/chunk_aabb.hh4
-rw-r--r--src/game/shared/feature.hh4
-rw-r--r--src/game/shared/ray_dda.hh4
3 files changed, 3 insertions, 9 deletions
diff --git a/src/game/shared/chunk_aabb.hh b/src/game/shared/chunk_aabb.hh
index abc629b..fa63ffe 100644
--- a/src/game/shared/chunk_aabb.hh
+++ b/src/game/shared/chunk_aabb.hh
@@ -2,13 +2,11 @@
#define SHARED_CHUNK_AABB 1
#pragma once
-#include "core/macros.hh"
-
#include "shared/types.hh"
class ChunkAABB final {
public:
- DECLARE_DEFAULT_CONSTRUCTOR(ChunkAABB);
+ ChunkAABB(void) = default;
virtual ~ChunkAABB(void) = default;
void set_bounds(const chunk_pos& min, const chunk_pos& max);
diff --git a/src/game/shared/feature.hh b/src/game/shared/feature.hh
index b676adb..2a7b27b 100644
--- a/src/game/shared/feature.hh
+++ b/src/game/shared/feature.hh
@@ -2,8 +2,6 @@
#define SHARED_FEATURE_HH 1
#pragma once
-#include "core/macros.hh"
-
#include "shared/types.hh"
class Dimension;
@@ -11,7 +9,7 @@ class VoxelStorage;
class Feature final : public std::vector<std::tuple<voxel_pos, voxel_id, bool>> {
public:
- DECLARE_DEFAULT_CONSTRUCTOR(Feature);
+ Feature(void) = default;
virtual ~Feature(void) = default;
public:
diff --git a/src/game/shared/ray_dda.hh b/src/game/shared/ray_dda.hh
index 504fa7b..5cc0005 100644
--- a/src/game/shared/ray_dda.hh
+++ b/src/game/shared/ray_dda.hh
@@ -2,15 +2,13 @@
#define SHARED_RAY_DDA 1
#pragma once
-#include "core/macros.hh"
-
#include "shared/types.hh"
class Dimension;
class RayDDA final {
public:
- DECLARE_DEFAULT_CONSTRUCTOR(RayDDA);
+ RayDDA(void) = default;
explicit RayDDA(const Dimension* dimension, const chunk_pos& start_chunk, const glm::fvec3& start_fpos, const glm::fvec3& direction);
explicit RayDDA(const Dimension& dimension, const chunk_pos& start_chunk, const glm::fvec3& start_fpos, const glm::fvec3& direction);