127 Commits

Author SHA1 Message Date
Jacob
b630099aca Update build.zig 2022-01-16 23:55:13 +00:00
Jacob Hinchliffe
1836e941fd Generate documentation from doc comments. 2022-01-16 22:10:18 +00:00
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);
```
2022-01-06 16:21:08 +00:00
prime31
6852f38a83 Update README.md 2021-12-19 19:27:17 -08:00
Mike
e589bae3b0 latest zig support 2021-12-18 13:36:06 -08:00
Austin Rude
253c2ca87a Use allocator.dupe() instead of std.mem.dupe() 2021-12-15 12:10:17 -07:00
Austin Rude
0fe6d1646f Use std.debug.print instead of std.debug.warn 2021-12-15 12:06:05 -07:00
Austin Rude
a95c85f5c7 Update for allocgate 2021-12-15 11:55:58 -07:00
Austin Rude
157a554e6d Update build.zig to use the std.target.Arch enum 2021-12-15 11:45:24 -07:00
Sashiri
5ba2773f7a Migrate from std.builtin to @import("builtin") 2021-10-15 00:14:16 +02:00
prime31
96ffd50ea6 Merge pull request #21 from Sashiri/entity_traits_definition
Update EntityTraitsDefinition
2021-10-14 14:40:04 -07:00
Sashiri
aa0dd139b2 Update EntityTraitsDefinition 2021-10-14 23:03:44 +02:00
Sashiri
e4dc1dc9ca Fix process pause signature 2021-10-14 22:59:22 +02:00
Locria Cyber
605693b8c2 Fix syntax errors 2021-10-06 12:23:57 +08:00
prime31
434aa523a3 Create LICENSE 2021-07-27 21:30:23 -07:00
RUSshy
2161bf61b4 Added missing entity traits changes 2021-07-17 18:47:23 +02:00
RUSshy
15d0e6d00d Update registry.zig 2021-07-17 14:08:19 +02:00
RUSshy
22b4fe2e02 Update handles.zig 2021-07-17 14:07:33 +02:00
RUSshy
e488cc384f Update sparse_set.zig 2021-07-17 14:05:30 +02:00
RUSshy
b900dfde2d Update handles.zig 2021-07-17 14:04:10 +02:00
prime31
7fd238b638 Merge pull request #10 from leroycep/update-to-0.8.0
Update to Zig 0.8.0
2021-06-29 23:03:46 -07:00
LeRoyce Pearson
33a5344b10 Remove unused variables and redudant comptimes
Latest version tested: 0.9.0-dev.339+81bf05bf6
2021-06-29 22:43:23 -06:00
LeRoyce Pearson
44192a1398 Update tests to return errors 2021-06-29 22:26:23 -06:00
Jonathan Bro
39af857bdc Resolve use of undeclared identifier 'slice' error 2021-06-25 23:41:06 +09:00
Meghan
04fae5d871 Create zig.mod 2021-06-19 17:18:44 -07:00
LeRoyce Pearson
514a893918 Update Registry.removeAll to 0.8.0 HashMap API 2021-06-16 00:56:01 -06:00
LeRoyce Pearson
6df575ee04 Update some uses of HashMap to match 0.8.0 changes 2021-06-13 20:07:25 -06:00
LeRoyce Pearson
efb8127b78 Update to zig 0.8.0-dev.1721 2021-04-12 03:17:27 -06:00
Mike
6233d751cf set output dir for all exes 2020-12-29 23:04:52 -08:00
Mike
e3291e3012 dont foget windows 2020-12-21 22:14:32 -08:00
Mike
b7c71e51e7 fix commas 2020-12-14 21:12:43 -08:00
Mike
b8e6f16d6f cleaned 2020-12-13 23:18:35 -08:00
Mike
5840b0709f Merge branch 'master' of github.com:prime31/zig-ecs
# Conflicts:
#	.vscode/tasks.json
2020-12-13 20:09:37 -08:00
Mike
3b279cec59 better build 2020-12-13 19:42:43 -08:00
Mike Desaro
b398969be6 fix cache dir 2020-12-12 15:23:45 -08:00
Mike Desaro
a9b1f60f5a Merge branch 'master' of github.com:prime31/zig-ecs 2020-12-10 19:32:25 -08:00
Mike Desaro
41a5180ece ignore mac files 2020-12-10 19:32:22 -08:00
Mike Desaro
3591aac019 snake case 2020-12-10 11:08:44 -08:00
Mike Desaro
b8117306fa zig 0.7 fixes 2020-12-04 12:48:15 -08:00
foxnne
737e5a9b39 fix error in linkArtifact 2020-12-03 16:23:29 -06:00
foxnne
3c540293fd add getPackage to build.zig 2020-12-03 15:59:28 -06:00
Mike Desaro
ae22b69026 arm64 support 2020-11-27 20:02:50 -08:00
Mike Desaro
695e59bbf5 hack to validate unsigned. closes #7 2020-11-27 20:02:40 -08:00
Maurizio Crocci
6e412489a2 Fixes Registry.removeAll iteration 2020-11-28 02:21:03 +00:00
CodeHz
f1171b78c8 fix for ziglang pull 6246 2020-09-06 07:12:55 +00:00
CodeHz
6b4ed304a6 fix iterate hashmap 2020-09-03 09:07:06 +00:00
prime31
5360be5b0e Update README.md 2020-08-18 11:51:43 -07:00
prime31
427c925bc5 Update ci.yml 2020-08-13 12:44:28 -07:00
prime31
19c25c9ca4 Update ci.yml 2020-08-13 12:38:50 -07:00
prime31
25a051981c Update ci.yml 2020-08-13 12:32:42 -07:00