Commit Graph

174 Commits

Author SHA1 Message Date
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
Christian Treffs 4234957e92
Deprecate knownUniqueComponentTypes 2020-07-10 10:04:38 +02:00
Christian Treffs 32e619659e
Merge branch 'master' into develop 2020-07-10 09:59:44 +02:00
Christian Treffs 295063daa8
Deprecate Nexus.knownUniqueComponentTypes 2020-07-09 22:41:27 +02:00
Christian Treffs 3dd3d7fc10
Merge branch 'develop' into feature/classdojo_fixHashingOverflow 2020-07-09 22:35:38 +02:00
Christian Treffs ed182eb425
Make string hash functions return UInt64 based.
- These are used to produce a stable hash, so we want all platforms to produce the same hash value, therefore we use UInt64
2020-07-09 22:25:10 +02:00
Christian Treffs 259643cd8e
Cleanups 2020-07-09 22:23:12 +02:00
Christian Treffs 65caa8ac70
Extend platform architecture support 2020-07-09 22:20:54 +02:00
Christian Treffs 4a995e9083
Fix type requirements of UnorderedSparseSet 2020-07-09 17:15:49 +02:00
Christian Treffs 1ad4d883f5
Type entity id 2020-07-09 17:15:06 +02:00
Christian Treffs 63c09cf7fa
Refine UnorderedSparseSet 2020-07-09 17:10:00 +02:00
Liam Don d30a3bec3b Fix key-index in UnorderedSparseSet 2020-07-08 23:31:30 -07:00
Liam Don 0454e29e45 Use UInt64 for StableId 2020-07-08 20:57:02 -07:00
Liam Don e1b9f7b467 Don't check overflow in singer_djb2 hash function 2020-07-08 20:53:45 -07:00
Christian Treffs da7277b5e1
Add all components sequence to entity 2020-05-26 15:03:31 +02:00
Christian Treffs 09dd6d2645
Fix typos and cleanup 2020-05-08 14:59:55 +02:00
Christian Treffs 041d556dc9
Revert family removal 2020-04-30 22:18:46 +02:00
Christian Treffs 23435523b9
Re-introduce ManagedContiguousArray 2020-04-30 22:07:33 +02:00
Christian Treffs a070b907c2
Lint 2020-04-30 20:04:07 +02:00
Christian Treffs 66f5bfc0c6
Lint 2020-04-30 20:00:19 +02:00
Christian Treffs a79df79bf9
Delete empty families & fix event delegate 2020-04-30 19:59:10 +02:00
Christian Treffs 6600cba5ae
Rework conformances 2020-04-30 19:56:30 +02:00
Christian Treffs 81cbb0f2b4
Rework component identifier handling 2020-04-30 19:54:18 +02:00
Christian Treffs e1ac76513c
Remove abandoned code 2020-04-30 19:50:46 +02:00
Christian Treffs 53621234d7 Make Nexus fully codable 2019-10-05 22:38:49 +02:00
Christian Treffs c3d84b4f12 Refactor component and entity identifier 2019-10-05 22:38:28 +02:00
Christian Treffs fa1ebe0193 Update sparse set 2019-10-05 22:37:29 +02:00
Christian Treffs 893cfaee74 Conform UnorderedSparseSet to Sequence 2019-10-05 15:07:15 +02:00
Christian Treffs d3ab0d96be Make components codable 2019-10-05 14:56:28 +02:00
Christian Treffs 61d407e5db Optimize and cleanup Nexus 2019-10-05 14:55:52 +02:00
Christian Treffs 589a8c2ec1 Optimize UnorderedSparseSet 2019-10-05 14:55:30 +02:00
Christian Treffs 98f2ff5d20 Optimize ManagedContiguousArray 2019-10-05 14:54:15 +02:00
Christian Treffs 031db2c1e3 Conform Component + Entity Identifier to Identifiable protocol 2019-10-05 10:03:08 +02:00
Christian Treffs 99d08c5139 Add nexus events 2019-10-01 08:13:05 +02:00
Christian Treffs 4a2ad80dd6 Extend scene graph implementation 2019-10-01 07:59:09 +02:00
Christian Treffs 0d9d1100dc Extend nexus equality check 2019-10-01 07:15:54 +02:00
Christian Treffs bc7c00f2a8 Add documentation 2019-10-01 07:12:09 +02:00
Christian Treffs 71a319fe27 Finish basic scene graph implementation 2019-10-01 07:06:00 +02:00
Christian Treffs 8958d96687 Implement first draft of parent child relation storage 2019-09-30 23:17:59 +02:00
Christian Treffs f312f9335e Extend child API 2019-09-30 22:16:37 +02:00
Christian Treffs dbf82389e0 Add basic scene graph API 2019-09-30 21:54:19 +02:00
Christian Treffs 2657faff34 Cleanups 2019-09-30 21:01:19 +02:00
Christian Treffs 29cd66b947 Fix swiftlint warnings 2019-09-30 20:50:12 +02:00
Christian Treffs 1ed0e24585 Swiftlint 2019-09-30 20:37:03 +02:00
Christian Treffs 2084e04257 Fix build for Swift 5.0.1 2019-08-22 13:45:08 +02:00
Christian Treffs ec8a59f03b Fix trait set validation 2019-08-22 09:10:41 +02:00