mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
New world format, fixes
This commit is contained in:
parent
0c65b13f4e
commit
0cf8382e95
21 changed files with 350 additions and 173 deletions
|
|
@ -20,8 +20,9 @@ void initialize_assets(AssetsLoader* loader) {
|
|||
|
||||
// All in-game definitions (blocks, items, etc..)
|
||||
void setup_definitions() {
|
||||
for (size_t i = 0; i < 256; i++)
|
||||
for (size_t i = 0; i < 256; i++) {
|
||||
Block::blocks[i] = nullptr;
|
||||
}
|
||||
|
||||
Block* block = new Block(BLOCK_AIR, 0);
|
||||
block->drawGroup = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue