Jacob
b630099aca
Update build.zig
3 years ago
Jacob Hinchliffe
1836e941fd
Generate documentation from doc comments.
3 years ago
prime31
9bf6b4af03
Merge pull request #24 from vvcarvalho/rename-singleton-field
...
rename singletons field, return a *TypeStore instead of TypeStore on singletons()
3 years ago
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
prime31
6852f38a83
Update README.md
3 years ago
Mike
e589bae3b0
latest zig support
3 years ago
prime31
a7d224247b
Merge pull request #23 from rudedogg/master
...
Update to build on latest master
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
Austin Rude
157a554e6d
Update build.zig to use the std.target.Arch enum
3 years ago
prime31
a14bfe64c3
Merge pull request #22 from Sashiri/builtin_migration
...
Migrate from std.builtin to @import("builtin")
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
prime31
c93429bf3d
Merge pull request #20 from Sashiri/undefined_type_fix
...
Fix process pause signature
3 years ago
Sashiri
aa0dd139b2
Update EntityTraitsDefinition
3 years ago
Sashiri
e4dc1dc9ca
Fix process pause signature
3 years ago
prime31
2bc293066a
Merge pull request #19 from locriacyber/master
...
Fix compile errors for zig 0.9
3 years ago
Locria Cyber
605693b8c2
Fix syntax errors
3 years ago
prime31
434aa523a3
Create LICENSE
3 years ago
prime31
e079ac5808
Merge pull request #17 from RUSshy/fix_memleak_2
...
Added missing entity traits changes
3 years ago
RUSshy
2161bf61b4
Added missing entity traits changes
3 years ago
prime31
0d89c0e255
Merge pull request #16 from RUSshy/master
...
Fix memory leak #15
3 years ago
RUSshy
4a480f84d2
Merge pull request #1 from RUSshy/fix_memleak
...
Fix memory leak
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
4 years ago
LeRoyce Pearson
33a5344b10
Remove unused variables and redudant `comptime`s
...
Latest version tested: 0.9.0-dev.339+81bf05bf6
4 years ago
LeRoyce Pearson
44192a1398
Update tests to return errors
4 years ago
prime31
9b467c6ae8
Merge pull request #12 from Nomy1/fix-util-error
...
Resolve use of undeclared identifier 'slice' error
4 years ago
Jonathan Bro
39af857bdc
Resolve use of undeclared identifier 'slice' error
4 years ago
prime31
39219bafd9
Merge pull request #11 from nektro/patch-1
...
add support for Zigmod package manager
4 years ago
Meghan
04fae5d871
Create zig.mod
4 years ago
LeRoyce Pearson
514a893918
Update Registry.removeAll to 0.8.0 HashMap API
4 years ago
LeRoyce Pearson
6df575ee04
Update some uses of HashMap to match 0.8.0 changes
4 years ago
prime31
9b8e051017
Merge pull request #9 from leroycep/master
...
Update to zig 0.8.0-dev.1721
4 years ago
LeRoyce Pearson
efb8127b78
Update to zig 0.8.0-dev.1721
4 years ago
Mike
6233d751cf
set output dir for all exes
4 years ago
Mike
e3291e3012
dont foget windows
4 years ago
Mike
b7c71e51e7
fix commas
4 years ago
Mike
b8e6f16d6f
cleaned
4 years ago
Mike
5840b0709f
Merge branch 'master' of github.com:prime31/zig-ecs
...
# Conflicts:
# .vscode/tasks.json
4 years ago
Mike
3b279cec59
better build
4 years ago
Mike Desaro
b398969be6
fix cache dir
4 years ago
Mike Desaro
a9b1f60f5a
Merge branch 'master' of github.com:prime31/zig-ecs
4 years ago
Mike Desaro
41a5180ece
ignore mac files
4 years ago
Mike Desaro
3591aac019
snake case
4 years ago
Mike Desaro
b8117306fa
zig 0.7 fixes
4 years ago