ECS improvements!
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "ecs/ecsentity.h"
|
||||
#include "ecs/ecscomponent.h"
|
||||
|
||||
#define SCENE_ITEM_CHILD_MAX 16
|
||||
|
||||
@@ -16,11 +16,8 @@ typedef struct {
|
||||
ecsid_t parent;
|
||||
} scenetreenode_t;
|
||||
|
||||
typedef struct scene_s {
|
||||
scenetreenode_t items[ECS_ENTITY_COUNT_MAX];
|
||||
} scenetree_t;
|
||||
|
||||
extern scenetree_t SCENE_TREE;
|
||||
extern scenetreenode_t SCENE_TREE_DATA[ECS_ENTITY_COUNT_MAX];
|
||||
extern ecscomponent_t SCENE_TREE_COMPONENT;
|
||||
|
||||
/**
|
||||
* Initialize the scene tree.
|
||||
|
Reference in New Issue
Block a user