Commit Graph

63 Commits

Author SHA1 Message Date
Christian Treffs 2c1c5885ae
Modernize project (#66)
* Add Mintfile

* Update Makefile

* Use old swiftlint and swiftformat versions

* Lint

* Update SwiftLint and SwiftFormat Versions + Lint

* Re-add documented make rules

* Update sourcery to 2.2.5

* Update SwiftLint and Lint
2024-10-09 17:08:12 +02:00
Christian Treffs d2cc6c1115
Remove unused entity storage 2020-08-21 16:28:30 +02:00
Christian Treffs f3cfe64b7d
Refine entity identifier 2020-08-21 08:26:15 +02:00
Christian Treffs 552665edd0
Generalize entity identifier generator 2020-08-06 22:45:55 +02:00
Christian Treffs ae283feab4
Remove obsolete relatives implementation 2020-08-06 15:53:12 +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 6812e53d7a
WIP: decoding + encoding 2020-07-22 13:41:29 +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 295063daa8
Deprecate Nexus.knownUniqueComponentTypes 2020-07-09 22:41:27 +02:00
Christian Treffs 4a995e9083
Fix type requirements of UnorderedSparseSet 2020-07-09 17:15:49 +02:00
Christian Treffs 23435523b9
Re-introduce ManagedContiguousArray 2020-04-30 22:07:33 +02:00
Christian Treffs 81cbb0f2b4
Rework component identifier handling 2020-04-30 19:54:18 +02:00
Christian Treffs c3d84b4f12 Refactor component and entity identifier 2019-10-05 22:38:28 +02:00
Christian Treffs 61d407e5db Optimize and cleanup Nexus 2019-10-05 14:55:52 +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 8958d96687 Implement first draft of parent child relation storage 2019-09-30 23:17:59 +02:00
Christian Treffs 29cd66b947 Fix swiftlint warnings 2019-09-30 20:50:12 +02:00
Christian Treffs 00026ad85a Cleanup nexus event delegate handling 2019-08-20 17:04:17 +02:00
Christian Treffs b692d5de92 Optimize Nexus storage 2019-08-20 17:00:56 +02:00
Christian Treffs d68b935e2e Cleanup typealiases 2019-08-20 16:49:56 +02:00
Christian Treffs b62cf7464b Refactor EntityIdentifier 2019-08-20 16:36:45 +02:00
Christian Treffs ccf18f6945 Refactor NexusDelegate to own file and rename to NexusEventDelegate 2019-08-20 15:07:28 +02:00
Christian Treffs ab785d666d Move typealiases to own file 2019-08-20 15:06:30 +02:00
Christian Treffs 85c7e2296b Refactor sparse component identifier set out 2019-03-08 17:57:47 +01:00
Christian Treffs df7f36ea5c Add debug description & make sparse set arrays œusableFromInline 2019-02-21 13:29:45 +01:00
Christian Treffs f7d2a5b3a2 Cleanups 2019-02-14 14:35:07 +01:00
Christian Treffs 4b3bf150de Fix AnyObject to class 2018-12-24 12:50:51 +01:00
Christian Treffs a0b541f351 Swiftlint autocorrect 2018-12-24 12:41:08 +01:00
Christian Treffs 7a5a7974e2 Account for number of components by type in nexus equatable comparison 2018-12-04 08:06:53 +01:00
Christian Treffs 664d208284 Add swiftlint rules and fix implications 2018-09-27 21:09:35 +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 4513b5a178 Introduce equality 2018-05-09 07:32:36 +02:00
Christian Treffs 11b47da7bb Cleanups and lint 2018-05-08 17:22:50 +02: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 525fb31724 Cleanups and small refactorings 2017-11-16 21:53:47 +01:00
Christian Treffs a42918501d Fix deinit routines 2017-11-03 08:47:06 +01:00
Christian Treffs 78c248ab0a Fix some reference counting 2017-11-02 17:48:46 +01:00
Christian Treffs 19cab7af5d Reworked Entitiy storage as SparseSet 2017-11-01 07:44:24 +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