Commit Graph

192 Commits

Author SHA1 Message Date
Christian Treffs 0cabcccea9
Update tests 2020-04-30 20:01:16 +02:00
Christian Treffs 6effdbb836
Extend performance tests 2020-04-30 20:01:00 +02:00
Christian Treffs 4adfd85fb1
Update test base 2020-04-30 20:00:34 +02:00
Christian Treffs 344b0465dd
Make tests run in release mode 2020-04-30 19:52:25 +02:00
Christian Treffs e1ac76513c
Remove abandoned code 2020-04-30 19:50:46 +02:00
Christian Treffs 43f14eb891 Add tests 2019-10-05 22:59:59 +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 bba9ba46f8 Add identifier tests 2019-10-05 22:36:50 +02:00
Christian Treffs 589a8c2ec1 Optimize UnorderedSparseSet 2019-10-05 14:55:30 +02:00
Christian Treffs 031db2c1e3 Conform Component + Entity Identifier to Identifiable protocol 2019-10-05 10:03:08 +02:00
Christian Treffs 4a2ad80dd6 Extend scene graph implementation 2019-10-01 07:59:09 +02:00
Christian Treffs 6f40250fdb Extend scene graph tests 2019-10-01 07:46:28 +02:00
Christian Treffs 1d261474b9 Implement basic scene graph tests 2019-10-01 07:06:26 +02:00
Christian Treffs f99f171a15 Add tests for scene graph implementation 2019-09-30 22:19:41 +02:00
Christian Treffs dbf82389e0 Add basic scene graph API 2019-09-30 21:54:19 +02:00
Christian Treffs d4b8ffbf0c Add entity identifier comparison test 2019-09-30 21:08:11 +02:00
Christian Treffs 5117127ee3 Lint tests 2019-09-30 20:52:24 +02:00
Christian Treffs 971554f589 Add all tests to LinuxMain.swift 2019-08-22 14:03:06 +02:00
Christian Treffs f824505501 Fix unit tests on Linux 2019-08-22 13:55:05 +02:00
Christian Treffs 2084e04257 Fix build for Swift 5.0.1 2019-08-22 13:45:08 +02:00
Christian Treffs bd20408bf6 Naming and optimizations 2019-08-21 14:09:17 +02:00
Christian Treffs c4d213a4e2 Implement entity and component lookup for different family sizes 2019-08-21 13:48:04 +02:00
Christian Treffs af3864701e Rework TypedFamilies to Family 2019-08-21 13:17:07 +02:00
Christian Treffs b62cf7464b Refactor EntityIdentifier 2019-08-20 16:36:45 +02:00
Christian Treffs 7c98d5af88 Refactor ComponentIdentifier, remove TypeIdentifiable 2019-08-20 15:28:15 +02:00
Christian Treffs a1617ce390 Refactor entity creation + entity naming 2019-08-20 15:09:12 +02:00
Christian Treffs 9252a0b76e Upate license 2019-08-01 07:10:22 +02:00
Christian Treffs 181d8cac51 Add access control for components 2019-06-25 08:10:19 +02:00
Christian Treffs 209c19fa2f Unconform sparse set to collection, since index collision problem occurs 2019-03-08 17:57:01 +01:00
Christian Treffs f62759f3a1 Add small improvements to performance tests 2019-02-14 16:41:22 +01:00
Christian Treffs 9486e633df Overall improvements to consistency 2019-02-14 16:18:03 +01:00
Christian Treffs 13dc68dc26 Resolve component collision decission 2019-02-14 14:59:27 +01:00
Christian Treffs f7d2a5b3a2 Cleanups 2019-02-14 14:35:07 +01:00
Christian Treffs 4e15ef217e Cleanups 2019-02-14 12:52:07 +01:00
Christian Treffs 83efcfd423 Refactor FamilyTraitSet to remove unused needsAtLeastOne component set 2019-02-14 12:52:00 +01:00
Christian Treffs fee1c2e52e Cleanup and refactor tests 2019-02-14 12:34:42 +01:00
Christian Treffs c1a68300de Introduce unsafe API for performance and refine Single 2019-02-14 10:43:03 +01:00
Christian Treffs ef7859a021 Make entity struct + inline some functions 2019-02-13 18:03:57 +01:00
Christian Treffs cb248d87cf Introduce single 2019-02-13 17:32:47 +01:00
Christian Treffs 2faf91fb2d Add entities performance test 2018-09-29 19:04:25 +02:00
Christian Treffs 69de718637 Remove old Family implementation 2018-09-29 19:00:16 +02:00
Christian Treffs c546ef6adb Refactor family tests 2018-09-29 18:42:08 +02:00
Christian Treffs 444ec00224 Extend SpareSet tests 2018-09-29 18:41:49 +02:00
Christian Treffs f034cdd178 Remove FamilyMembers sequence since its unnecessary overhead 2018-09-29 16:45:01 +02:00
Christian Treffs 7f9ab6dcac Brought performance of TypedFamily en par to Family implementation 2018-09-29 16:35:32 +02:00
Christian Treffs c18ca1c681 Open entity 2018-08-01 18:05:24 +02:00
Christian Treffs 8ed57b600d Cleanups & Swiftlint 2018-07-06 09:05:55 +02:00
Christian Treffs e0fd2bbeb1 Fix bug in onFamilyDeinit 2018-05-10 19:57:42 +02:00
Christian Treffs d274b3e719 Add SystemsTests 2018-05-10 17:18:27 +02:00
Christian Treffs 03b34aaad6 Rename SparseSet to UnorderedSparseSet 2018-05-10 15:58:41 +02:00
Christian Treffs d8ee72569e Fix major flaws in SparseSet 2018-05-10 15:41:33 +02:00
Christian Treffs 532741b126 Refactor family management 2018-05-09 19:42:13 +02:00
Christian Treffs 7021e6eb30 Refactor iterate 2018-05-09 10:12:23 +02:00
Christian Treffs 96c956e03c Add SparseSet tests 2018-05-08 18:31:43 +02:00
Christian Treffs ea7be64755 Cleanups 2018-01-02 15:58:08 +01:00
Christian Treffs 9a30453e5e Refactored entity storage to sparse set 2017-11-20 22:55:05 +01:00
Christian Treffs 22a9abb882 Refactor component identifier mapping to sparse set 2017-11-20 22:02:13 +01:00
Christian Treffs 05b4115d14 Cleanups and FIXMEs 2017-11-20 21:15:20 +01:00
Christian Treffs cb1ad79ff4 Swiftlint struct rules applied 2017-11-16 23:00:41 +01:00
Christian Treffs 2ec9b1c364 Swiftlint strict first pass 2017-11-16 22:45:01 +01:00
Christian Treffs de4a77c822 Removed unused imports from tests 2017-11-16 22:03:31 +01:00
Christian Treffs 525fb31724 Cleanups and small refactorings 2017-11-16 21:53:47 +01:00
Christian Treffs 78c248ab0a Fix some reference counting 2017-11-02 17:48:46 +01:00
Christian Treffs 555e2088bb Cleanups and unification of storage protocol 2017-10-31 12:18:07 +01:00
Christian Treffs a559387891 Fixed SparseSet - needs optimizations 2017-10-31 10:49:43 +01:00
Christian Treffs a491d457ec Add SparseComponentSet 2017-10-31 00:41:33 +01:00
Christian Treffs a33281b1fa Fix family assign/remove problem 2017-10-28 13:55:02 +02:00
Christian Treffs 8c38f76e5a performance optimizations 2017-10-25 16:25:27 +02:00
Christian Treffs f3c64d8dac Iteration optimizations 2017-10-23 23:02:20 +02:00
Christian Treffs e07ac8e248 Stabelize API 2017-10-22 12:53:21 +02:00
Christian Treffs 5371107f4f Project ready for testing 2017-10-21 23:54:43 +02:00
Christian Treffs 22d65c9a6f Cleanups finished for now 2017-10-21 23:34:04 +02:00
Christian Treffs 41745a1fa7 Cleanups 2017-10-21 23:12:13 +02:00
Christian Treffs 00bb739880 Fix family iteration 2017-10-21 22:33:52 +02:00
Christian Treffs 2386fab4c3 Family iteration working 2017-10-20 16:25:29 +02:00
Christian Treffs 9ffcb3d4f7 Add performance test for combine hash 2017-10-18 11:01:12 +02:00
Christian Treffs c11060712b Add combine hash 2017-10-18 08:51:44 +02:00
Christian Treffs 136905e43b Fix hashing 2017-10-16 23:31:31 +02:00
Christian Treffs ca36926975 Cleanups and improvements 2017-10-16 09:33:39 +02:00
Christian Treffs 5994c37b52 Fix tests and results;
Cleanups
2017-10-15 11:29:20 +02:00
Christian Treffs bf62fde5db Add entity reuse concept;
Add tests for entity creation/deletion & component creation/deletion
2017-10-15 10:59:53 +02:00
Christian Treffs 4e0522aa49 new implementation - first test working 2017-10-15 01:36:18 +02:00
Christian Treffs e16759f9f1 Add Entity and Family storage implementations 2017-10-10 22:18:14 +02:00
Christian Treffs fb2d011c8d Add awesome component handling 2017-10-09 22:23:02 +02:00
Christian Treffs ccdb9545db Add component mapping 2017-10-09 22:03:00 +02:00
Christian Treffs 94d79c9d65 Fix Family behaviour 2017-10-09 20:37:19 +02:00
Christian Treffs e6cb5770e0 Add Family basics 2017-10-09 19:43:05 +02:00
Christian Treffs 6a045cd643 Stabelized API 2017-10-09 16:06:57 +02:00
Christian Treffs ec80d1ad1b Add simple test 2017-10-09 03:48:42 +02:00
Christian Treffs 4afb0ff42d Add ECS basics 2017-10-09 03:33:53 +02:00
Christian Treffs c904cb3a96 initial 2017-10-08 22:13:15 +02:00