diff options
| author | untodesu <kirill@untode.su> | 2025-09-12 15:09:01 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-09-12 15:09:01 +0500 |
| commit | f210a86c1406ccc6dfd6f14181dd7a1274ee0de4 (patch) | |
| tree | 58bf44927afe33609dc3a531b0d183f5504d8485 /game/server/world/random_tick.hh | |
| parent | 73cbcdd6e8c849e32abbf9757e603e6a6654e870 (diff) | |
| download | voxelius-f210a86c1406ccc6dfd6f14181dd7a1274ee0de4.tar.bz2 voxelius-f210a86c1406ccc6dfd6f14181dd7a1274ee0de4.zip | |
Random ticking? In my game?! Hell yeah!
Diffstat (limited to 'game/server/world/random_tick.hh')
| -rw-r--r-- | game/server/world/random_tick.hh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/game/server/world/random_tick.hh b/game/server/world/random_tick.hh new file mode 100644 index 0000000..4ef1691 --- /dev/null +++ b/game/server/world/random_tick.hh @@ -0,0 +1,14 @@ +#pragma once + +#include "shared/types.hh" + +namespace world +{ +class Chunk; +} // namespace world + +namespace world::random_tick +{ +void init(void); +void tick(const chunk_pos& cpos, Chunk* chunk); +} // namespace world::random_tick |
