Huge skylight optimizations. Also fixed the submodules.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user