default load-speed set to 4 + minor refactor

This commit is contained in:
MihailRis
2024-01-24 20:43:52 +03:00
parent 58fbb96f2c
commit 5687e55094
5 changed files with 17 additions and 15 deletions
+4 -1
View File
@@ -2,6 +2,8 @@
#define LIGHTING_LIGHTING_H_
class Content;
class ContentIndices;
class Chunk;
class Chunks;
class LightSolver;
@@ -17,10 +19,11 @@ public:
~Lighting();
void clear();
void prebuildSkyLight(int cx, int cz);
void buildSkyLight(int cx, int cz);
void onChunkLoaded(int cx, int cz, bool expand);
void onBlockSet(int x, int y, int z, int id);
static void prebuildSkyLight(Chunk* chunk, const ContentIndices* indices);
};
#endif /* LIGHTING_LIGHTING_H_ */