copygirl
c992fa2f2f
Test to check multiple contexts work
7 months ago
copygirl
99ae978f20
Ensure EntityHolder is unique
...
This change is required for new versions of Zig
to consider the EntityHolder struct to be unique.
This is done by capturing the ctx and type in a
compile time context.
See also: https://github.com/ziglang/zig/pull/19190
7 months ago
copygirl
bde3ec33e5
Fix missing newlines in errors in Context.lookupAndRegister
8 months ago
copygirl
2b7c8528d3
Panic when Context.lookup returns 0
8 months ago
copygirl
d9882bf86e
Add lookups for (some) builtin Flecs types
8 months ago
copygirl
7f3e79781e
Move Context to its own file
8 months ago
copygirl
ea93c6026a
Don't usingnamespace all of errors.zig
8 months ago
copygirl
deb1104944
Split Context.lookup into lookup and lookupMut
8 months ago
copygirl
7fc5dbba4d
Remove Path from Context
8 months ago
copygirl
772908b3c1
Update Zig and Flecs, big refactor
9 months ago
copygirl
efd821aa87
Get rid of empty files for now
1 year ago
copygirl
a372768702
Implement Flecs' OS API alloc functions
...
- Add init(alloc) function to initialize Flecs interop
- Set Flecs' OS API functions to use given allocator
- Move World.allocator to a global allocator
1 year ago
copygirl
cf60a43e10
Entity.init improvements
...
- Move EntityConfig to Entity.Config
- Now able to specify .parent and .path
- Add "Entity_init_id_path" test
1 year ago
copygirl
9d0d30a608
Add WIP Path helper struct
1 year ago
copygirl
418bff8183
Add Pair to main.zig
1 year ago
copygirl
82e2dbe2f2
Change Lookup field type to ecs_entity_t
1 year ago
copygirl
41d5155d4d
Implement some things, first test success?
1 year ago
copygirl
0c6477c852
Various inital workings
1 year ago
copygirl
e5d1a3ffd8
Initial commit
1 year ago