summaryrefslogtreecommitdiffstats
path: root/src/game/shared/voxel_storage.hh
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-07-01 03:08:39 +0500
committeruntodesu <kirill@untode.su>2025-07-01 03:08:39 +0500
commit458e0005690ea9d579588a0a12368fc2c2c9a93a (patch)
tree588a9ca6cb3c76d9193b5bd4601d64f0e50e8c8c /src/game/shared/voxel_storage.hh
parentc7b0c8e0286a1b2bb7ec55e579137dfc3b22eeb9 (diff)
downloadvoxelius-458e0005690ea9d579588a0a12368fc2c2c9a93a.tar.bz2
voxelius-458e0005690ea9d579588a0a12368fc2c2c9a93a.zip
I hyper-focued on refactoring again
- I put a cool-sounding "we are number one" remix on repeat and straight up grinded the entire repository to a better state until 03:09 AM. I guess I have something wrong in my brain that makes me do this shit
Diffstat (limited to 'src/game/shared/voxel_storage.hh')
-rw-r--r--src/game/shared/voxel_storage.hh18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/game/shared/voxel_storage.hh b/src/game/shared/voxel_storage.hh
deleted file mode 100644
index 702bdac..0000000
--- a/src/game/shared/voxel_storage.hh
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef SHARED_VOXEL_STORAGE_HH
-#define SHARED_VOXEL_STORAGE_HH 1
-#pragma once
-
-#include "shared/const.hh"
-#include "shared/types.hh"
-
-class ReadBuffer;
-class WriteBuffer;
-
-class VoxelStorage final : public std::array<voxel_id, CHUNK_VOLUME> {
-public:
- using std::array<voxel_id, CHUNK_VOLUME>::array;
- void serialize(WriteBuffer& buffer) const;
- void deserialize(ReadBuffer& buffer);
-};
-
-#endif // SHARED_VOXEL_STORAGE_HH