mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
- Added Lua scripts hud.open, inventory.create and inventory.remove - Window now resizes even if it is not focused
This commit is contained in:
parent
5faca685ec
commit
8e549fe806
11 changed files with 117 additions and 13 deletions
|
|
@ -13,7 +13,7 @@ Chunk::Chunk(int xpos, int zpos) : x(xpos), z(zpos) {
|
|||
top = CHUNK_H;
|
||||
}
|
||||
|
||||
bool Chunk::isEmpty() {
|
||||
bool Chunk::isEmpty() const {
|
||||
int id = -1;
|
||||
for (uint i = 0; i < CHUNK_VOL; i++) {
|
||||
if (voxels[i].id != id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue