Victor carvalho
a294babecc
mod(registry.zig): rename singletons field, return pointer *TypeStore.
...
Renaming the field `singletons` to `type_store` fixes the following
error in Zig master (0.10.0-dev.193+1d55e4cae):
`error: type '.ecs.type_store.TypeStore' not a function`
Returning a pointer makes the API a bit more ergonomic to consume,
allowing multiple calls to add and get to the singletons. For example:
```zig
var singletons = registry.singletons();
singletons.add(State.init(allocator));
var state = singletons.get(State);
```
3 years ago
Austin Rude
253c2ca87a
Use allocator.dupe() instead of std.mem.dupe()
3 years ago
Austin Rude
0fe6d1646f
Use std.debug.print instead of std.debug.warn
3 years ago
Austin Rude
a95c85f5c7
Update for allocgate
3 years ago
Sashiri
5ba2773f7a
Migrate from std.builtin to @import("builtin")
3 years ago
prime31
96ffd50ea6
Merge pull request #21 from Sashiri/entity_traits_definition
...
Update EntityTraitsDefinition
3 years ago
Sashiri
aa0dd139b2
Update EntityTraitsDefinition
3 years ago
Sashiri
e4dc1dc9ca
Fix process pause signature
3 years ago
Locria Cyber
605693b8c2
Fix syntax errors
3 years ago
RUSshy
2161bf61b4
Added missing entity traits changes
3 years ago
RUSshy
15d0e6d00d
Update registry.zig
3 years ago
RUSshy
22b4fe2e02
Update handles.zig
3 years ago
RUSshy
e488cc384f
Update sparse_set.zig
3 years ago
RUSshy
b900dfde2d
Update handles.zig
3 years ago
prime31
7fd238b638
Merge pull request #10 from leroycep/update-to-0.8.0
...
Update to Zig 0.8.0
3 years ago
LeRoyce Pearson
33a5344b10
Remove unused variables and redudant `comptime`s
...
Latest version tested: 0.9.0-dev.339+81bf05bf6
3 years ago
LeRoyce Pearson
44192a1398
Update tests to return errors
3 years ago
Jonathan Bro
39af857bdc
Resolve use of undeclared identifier 'slice' error
3 years ago
LeRoyce Pearson
514a893918
Update Registry.removeAll to 0.8.0 HashMap API
3 years ago
LeRoyce Pearson
6df575ee04
Update some uses of HashMap to match 0.8.0 changes
3 years ago
LeRoyce Pearson
efb8127b78
Update to zig 0.8.0-dev.1721
4 years ago
Mike Desaro
b8117306fa
zig 0.7 fixes
4 years ago
Mike Desaro
695e59bbf5
hack to validate unsigned. closes #7
4 years ago
Maurizio Crocci
6e412489a2
Fixes Registry.removeAll iteration
4 years ago
CodeHz
f1171b78c8
fix for ziglang pull 6246
4 years ago
CodeHz
6b4ed304a6
fix iterate hashmap
4 years ago
joachimschmidt557
aa9c20d4b5
Update to latest HashMap API
...
.iterator() is deprecated, iterating over the items directly
is now supported
4 years ago
joachimschmidt557
c0a10ee49d
Update to latest zig
4 years ago
Mike Desaro
a18a627f98
bump for new zig version
4 years ago
Mike
9ca3e90b7b
update to latest zig version
4 years ago
Mike
46c2af939e
bug fixes and speedup
4 years ago
Mike
7874ddf6b6
valgrinded
4 years ago
Mike
69ff91ad7b
Merge branch 'master' of github.com-p31:prime31/zig-ecs
4 years ago
Mike
c61f6e998d
valgrinding
4 years ago
Mike
57a27bd57d
dont use testing allocator
4 years ago
Mike
df926f965c
fix group bugs
4 years ago
Mike
e76971101b
fixes and tests
4 years ago
Mike
73080c2cfc
add view vs group
4 years ago
Mike
2beaeedb6f
scheduler done
4 years ago
Mike
dd52ed2f46
comments
4 years ago
Mike
cdef61d6dc
Schedular working
4 years ago
Mike
a352f8350c
start of scheduler
4 years ago
Mike
9dd7ca445a
cleanup sort
4 years ago
Mike
96385b6c61
cleanup sort
4 years ago
Mike
6b34565a2a
entity iterator
4 years ago
Mike
7c7b50aefa
cleaning
4 years ago
Mike
dd5285875e
clear clears
4 years ago
Mike
230afa8e4c
the monster update to paged sparse sets
4 years ago
Mike
735830994f
add len to all sorts for owned groups
4 years ago
Mike
34b2702333
progress on sort
4 years ago