Commit Graph

218 Commits

Author SHA1 Message Date
Christian Treffs 680ab42176
Merge branch 'feature/obsolete-relatives' into develop 2020-08-06 15:58:33 +02:00
Christian Treffs c21d4c6681
Unify file comments 2020-08-06 15:56:44 +02:00
Christian Treffs ae283feab4
Remove obsolete relatives implementation 2020-08-06 15:53:12 +02:00
Christian Treffs 8f2b24c7b5
Merge tag 'seg-fault' into develop
Fixes fireblade-engine/ecs#21

# Conflicts:
#	Sources/FirebladeECS/FamilyProtocols.swift
2020-08-06 15:27:16 +02:00
Christian Treffs e1e9167ae7
Fix segmentation fault 11 (FamilyProtocols.swift:25:8)
- fixes issue https://github.com/fireblade-engine/ecs/issues/21
2020-08-06 15:09:35 +02:00
Christian Treffs 0b273542fc
Refine family stencil 2020-08-05 16:10:20 +02:00
Christian Treffs dc6db4ed26
Add disable line length exception 2020-08-05 10:36:13 +02:00
Christian Treffs 5f753ae5a6
Merge branch 'develop' into feature/codegen 2020-08-05 10:34:15 +02:00
Christian Treffs 71aa30c562
Make precondition to assert 2020-08-05 10:30:12 +02:00
Christian Treffs d251b3d388
Re-order single 2020-08-05 10:29:51 +02:00
Christian Treffs 493cf9f676
File names 2020-08-05 10:21:54 +02:00
Christian Treffs 66eac2898d
Lint 2020-08-05 09:49:07 +02:00
Christian Treffs d48249dbfa
Generate 8 families 2020-08-05 09:15:55 +02:00
Christian Treffs 8229254e99
Updates 2020-08-04 17:26:17 +02:00
Christian Treffs 35f733bd96
Update documentation 2020-08-04 17:22:18 +02:00
Christian Treffs cae23ea219
Lint 2020-08-04 17:17:17 +02:00
Christian Treffs 1bf4ea9eff
Generate 2020-08-04 17:15:40 +02:00
Christian Treffs 2d56682568
Add documentation to family creator function 2020-08-04 17:15:13 +02:00
Christian Treffs c20444d069
Stencil 2020-08-04 16:32:21 +02:00
Christian Treffs 8490fe481c
Lint 2020-08-04 16:31:02 +02:00
Christian Treffs 5af13166f8
Generate family 1...5 2020-08-04 16:27:32 +02:00
Christian Treffs f3d665f0be
Working version stencil 2020-08-04 16:26:52 +02:00
Christian Treffs c53952615a
Stencil WIP 2020-08-04 16:17:22 +02:00
Christian Treffs f08c3f8ba9
Setup sourcery generation 2020-08-04 13:05:34 +02:00
Christian Treffs 0d79dc1d13
Deprecate relatives API 2020-08-03 11:40:15 +02:00
Christian Treffs 48c617266c
Fix lint warnings 2020-08-03 11:22:56 +02:00
Christian Treffs 64c7b16764
Use unsafelyUnwrapped more often 2020-08-03 11:14:35 +02:00
Christian Treffs 040b36d983
Rename EntityIdentifier.Id to Idx 2020-08-03 11:11:39 +02:00
Christian Treffs 0be112f900
Cleanups 2020-08-03 11:03:48 +02:00
Christian Treffs 354ddcc8b1
Refactor UnorderedSparseSet to use dedicated class based storage while being a struct - increases performance significantly 2020-08-03 10:59:53 +02:00
Christian Treffs d08353fd53
Optimize sparse set 2020-07-30 22:17:53 +02:00
Christian Treffs 81f61cafbb
Optimize sparse set 2020-07-30 22:09:41 +02:00
Christian Treffs 96ef53cf6d
Refine multiple component creation 2020-07-30 21:35:44 +02:00
Christian Treffs bcbd9bb31c
Remove wrong documentation 2020-07-30 16:18:35 +02:00
Christian Treffs 85debd9852
Remove swift version check 2020-07-30 16:14:50 +02:00
Christian Treffs b7c745950c
Add documentation 2020-07-30 16:06:49 +02:00
Christian Treffs 2440ec8ed9
Add components function builder implementation 2020-07-30 15:33:49 +02:00
Christian Treffs 09bfa595c3
Extend nexus with naive entity with component collection creation 2020-07-30 15:33:28 +02:00
Christian Treffs eeb789f041
Fix typos 2020-07-24 08:53:47 +02:00
Christian Treffs 70a210b276
Return newly created entities 2020-07-23 22:04:17 +02:00
Christian Treffs 416b6dab36
Cleanups 2020-07-22 14:48:19 +02:00
Christian Treffs 99710fd5e1
Add coding to family 5 2020-07-22 14:32:36 +02:00
Christian Treffs 6c5a1d29f7
Add coding to family 4 2020-07-22 14:20:07 +02:00
Christian Treffs da94c055f8
Add coding to family 3 2020-07-22 14:09:29 +02:00
Christian Treffs 6812e53d7a
WIP: decoding + encoding 2020-07-22 13:41:29 +02:00
Christian Treffs f48fd3c2e7
Add createMember() method to families 2020-07-21 17:02:16 +02:00
Christian Treffs f72723c123
Add subscripts to access components of entity 2020-07-16 14:01:12 +02:00
Christian Treffs 170ee14db8
Add more tests 2020-07-15 21:29:09 +02:00
Christian Treffs 8da21ec110
Remove unused code 2020-07-15 21:17:44 +02:00
Christian Treffs b113f146dc
Introduce EntityIdentifierGenerator 2020-07-15 18:14:41 +02:00