ecs: remove name prefix
parent
498fa25e36
commit
934aaf565f
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
void ComponentsImport(ecs_world_t *ecs) {
|
void ComponentsImport(ecs_world_t *ecs) {
|
||||||
ECS_MODULE(ecs, Components);
|
ECS_MODULE(ecs, Components);
|
||||||
ecs_set_name_prefix(ecs, "Components");
|
|
||||||
|
|
||||||
ECS_IMPORT(ecs, FlecsMeta);
|
ECS_IMPORT(ecs, FlecsMeta);
|
||||||
|
|
||||||
ECS_META(ecs, Position);
|
ECS_META(ecs, Position);
|
||||||
|
|
|
@ -170,8 +170,6 @@ void DemoPlaceIceBlock(ecs_iter_t *it) {
|
||||||
|
|
||||||
void SystemsImport(ecs_world_t *ecs) {
|
void SystemsImport(ecs_world_t *ecs) {
|
||||||
ECS_MODULE(ecs, Systems);
|
ECS_MODULE(ecs, Systems);
|
||||||
ecs_set_name_prefix(ecs, "Systems");
|
|
||||||
|
|
||||||
ECS_IMPORT(ecs, Components);
|
ECS_IMPORT(ecs, Components);
|
||||||
|
|
||||||
ECS_SYSTEM(ecs, MovementImpulse, EcsOnLoad, components.Input, components.Velocity);
|
ECS_SYSTEM(ecs, MovementImpulse, EcsOnLoad, components.Input, components.Velocity);
|
||||||
|
|
Loading…
Reference in New Issue