the whole game

This commit is contained in:
Kolyah35
2026-03-02 22:04:18 +03:00
parent 816e9060b4
commit f0617a5d22
2069 changed files with 581500 additions and 0 deletions

31
src/world/level/LightUpdate.h Executable file
View File

@@ -0,0 +1,31 @@
#ifndef NET_MINECRAFT_WORLD_LEVEL__LightUpdate_H__
#define NET_MINECRAFT_WORLD_LEVEL__LightUpdate_H__
//package net.minecraft.world.level;
#include "LightLayer.h"
#include "chunk/LevelChunk.h"
class Level;
class LightUpdate
{
public:
const LightLayer* layer;
int x0, y0, z0;
int x1, y1, z1;
//LightUpdate(); // for using std::set
LightUpdate(const LightUpdate* t);
LightUpdate(const LightUpdate& t);
LightUpdate(const LightLayer& _layer, int _x0, int _y0, int _z0, int _x1, int _y1, int _z1);
void operator=(const LightUpdate* t);
void update(Level* level);
bool expandToContain(int _x0, int _y0, int _z0, int _x1, int _y1, int _z1);
};
#endif /*NET_MINECRAFT_WORLD_LEVEL__LightUpdate_H__*/