mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
Items intruduced (part II)
This commit is contained in:
parent
eae00dbb11
commit
b5739c678f
15 changed files with 62 additions and 40 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#include "content/ItemDef.h"
|
||||
#include "items/ItemDef.h"
|
||||
#include "content/Content.h"
|
||||
#include "window/Window.h"
|
||||
#include "window/Events.h"
|
||||
|
|
@ -21,6 +21,7 @@ void setup_definitions(ContentBuilder* builder) { // Strange function, need to R
|
|||
block->obstacle = false;
|
||||
block->selectable = false;
|
||||
block->model = BlockModel::none;
|
||||
block->pickingItem = "core:empty";
|
||||
builder->add(block);
|
||||
|
||||
ItemDef* item = builder->createItem("core:empty");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue