summaryrefslogtreecommitdiffstats
path: root/src/game/server/world/random_tick.hh
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-12-26 23:17:56 +0500
committeruntodesu <kirill@untode.su>2025-12-26 23:17:56 +0500
commit0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e (patch)
tree90ddefa28b40b6384dd9618bb7573704de2733a9 /src/game/server/world/random_tick.hh
parent6bb4233d5b2a1688e63c947542e92ec5d5a857a6 (diff)
downloadvoxelius-0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e.tar.bz2
voxelius-0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e.zip
Add include guards and header comments to sources
Diffstat (limited to 'src/game/server/world/random_tick.hh')
-rw-r--r--src/game/server/world/random_tick.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/server/world/random_tick.hh b/src/game/server/world/random_tick.hh
index 9c67dc4..0d01267 100644
--- a/src/game/server/world/random_tick.hh
+++ b/src/game/server/world/random_tick.hh
@@ -1,3 +1,10 @@
+// SPDX-License-Identifier: BSD-2-Clause
+// Copyright (c) 2025 Kirill Dmitrievich
+// File: random_tick.hh
+// Description: Voxel random ticking
+
+#ifndef SERVER_WORLD_RANDOM_TICK_HH
+#define SERVER_WORLD_RANDOM_TICK_HH
#pragma once
#include "shared/types.hh"
@@ -9,3 +16,5 @@ namespace random_tick
void init(void);
void tick(const chunk_pos& cpos, Chunk* chunk);
} // namespace random_tick
+
+#endif