mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
Minor refactor
This commit is contained in:
parent
aa88fcd7f9
commit
be980b2aa6
7 changed files with 21 additions and 17 deletions
|
|
@ -15,7 +15,7 @@ void setup_definitions() {
|
|||
block->skyLightPassing = true;
|
||||
block->obstacle = false;
|
||||
block->selectable = false;
|
||||
block->model = 0;
|
||||
block->model = BlockModel::none;
|
||||
Block::blocks[block->id] = block;
|
||||
|
||||
block = new Block(BLOCK_DIRT, 2);
|
||||
|
|
@ -71,7 +71,7 @@ void setup_definitions() {
|
|||
block->drawGroup = 5;
|
||||
block->lightPassing = true;
|
||||
block->obstacle = false;
|
||||
block->model = 2;
|
||||
block->model = BlockModel::xsprite;
|
||||
block->hitboxScale = 0.5f;
|
||||
Block::blocks[block->id] = block;
|
||||
|
||||
|
|
@ -79,7 +79,7 @@ void setup_definitions() {
|
|||
block->drawGroup = 5;
|
||||
block->lightPassing = true;
|
||||
block->obstacle = false;
|
||||
block->model = 2;
|
||||
block->model = BlockModel::xsprite;
|
||||
Block::blocks[block->id] = block;
|
||||
|
||||
block = new Block(BLOCK_BRICK, 17);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue