Huge skylight optimizations. Also fixed the submodules.

This commit is contained in:
milkwx3
2026-07-04 01:48:50 +03:00
parent 85ddc90883
commit 7ab2d5a083
7 changed files with 81 additions and 52 deletions
+2 -1
View File
@@ -303,7 +303,8 @@ typedef struct World World;
struct World {
Chunk chunks[MAX_WORLD_AREA];
};
extern const BlockDef BLOCKS[];
BlockDef&GetBlockDefinition(int id);
void LoadBlocks();
int GetBlock(World&world,int x,int y,int z);
int GetHighestBlock(World&world,int x,int z);
int GetSkyLight(World&world,int x,int y,int z);