diff options
| author | untodesu <kirill@untode.su> | 2025-03-18 13:55:21 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-03-18 13:55:21 +0500 |
| commit | 1c138d80ac08dfc48f0916c568f780e15db73834 (patch) | |
| tree | 63891e1c4eb643450389b025327f51bd6af986e8 /game/shared | |
| parent | f876a69c50db41bd31baad74658ee3b84c4bad6a (diff) | |
| download | voxelius-1c138d80ac08dfc48f0916c568f780e15db73834.tar.bz2 voxelius-1c138d80ac08dfc48f0916c568f780e15db73834.zip | |
Miscellaneous fixes
Diffstat (limited to 'game/shared')
| -rw-r--r-- | game/shared/feature.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/game/shared/feature.hh b/game/shared/feature.hh index eb7cf2a..f5fe73b 100644 --- a/game/shared/feature.hh +++ b/game/shared/feature.hh @@ -11,6 +11,8 @@ class Feature final : public std::vector<std::pair<voxel_pos, voxel_id>> { public: explicit Feature(void) = default; virtual ~Feature(void) = default; + +public: void place(const voxel_pos &vpos, Dimension *dimension, bool overwrite = false) const; void place(const voxel_pos &vpos, const chunk_pos &cpos, VoxelStorage &voxels, bool overwrite = false) const; }; |
