summary refs log tree commit diff
path: root/src/World/Generation/Lighting.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/World/Generation/Lighting.hpp')
-rw-r--r--src/World/Generation/Lighting.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/World/Generation/Lighting.hpp b/src/World/Generation/Lighting.hpp
new file mode 100644
index 0000000..7bb8fcc
--- /dev/null
+++ b/src/World/Generation/Lighting.hpp
@@ -0,0 +1,13 @@
+#pragma once
+
+#include "../Chunk.hpp"
+#include "ChunkNeighbors.hpp"
+
+namespace MC::World::Generation::Lighting {
+
+constexpr U8 LightSun = 200;
+constexpr U8 LightTorch = 100;
+
+void light_chunk(Chunk& chunk, ChunkNeighbors& neighbors);
+
+}