Commit Graph

236 Commits

Author SHA1 Message Date
Mikhail
53911d4f25 rework configs 2024-03-07 06:46:44 +08:00
Mikhail
672e253b49 rename GetPool to GetPoolInstance 2024-03-07 03:30:18 +08:00
Mikhail
04691e1716 update world constructor 2024-03-07 03:17:51 +08:00
Mikhail
6f30b5de97 update Unpack 2024-03-03 22:46:09 +08:00
Mikhail
330261b971 refacotr GetComponents(debug) & add GetComponentTypeIDs(debug) 2024-03-03 05:52:19 +08:00
Mikhail
c05cd91c4e fix GetComponents debug method 2024-03-03 05:42:01 +08:00
Mikhail
b910c9d0e2 optimize GetComponents debug method 2024-03-03 04:53:40 +08:00
Mikhail
ec4142bc7d optimize GetComponents debug method 2024-03-03 04:49:35 +08:00
Mikhail
23c7b62ee8 add check to EcsWorld.Destroy 2024-03-03 01:25:45 +08:00
Mikhail
9708b29020 TODO solving 2024-03-02 21:59:02 +08:00
Mikhail
301fe5a55b add deletion of released entities in groups 2024-03-02 20:53:23 +08:00
Mikhail
dc7e1631a4 fixes 2024-03-01 22:02:36 +08:00
Mikhail
c7b8246e09 remove comments 2024-02-29 22:44:23 +08:00
Mikhail
a3a61d21da update/fix lazy gen 2024-02-29 22:42:33 +08:00
Mikhail
f67e6d59ea update gen to lazy gen 2024-02-29 03:28:13 +08:00
Mikhail
c5ac114853 refactoring 2024-02-26 10:43:37 +08:00
Mikhail
54bcda5891 optimize DelEntBuffer 2024-02-26 07:53:16 +08:00
Mikhail
7b72136349 add AggressiveUpVersion 2024-02-25 23:06:16 +08:00
Mikhail
a7276ce966 add virtual pool 2024-02-24 03:02:41 +08:00
Mikhail
170106273f update 2024-02-22 23:48:10 +08:00
Mikhail
bb35fa6150 return di, rework di, update for support unity 2020.1.0^ 2024-02-22 22:16:03 +08:00
Mikhail
92fa358c33 rework System/Process/Runner logic. rework injections. 2024-02-22 15:39:37 +08:00
Mikhail
19b1ddbc7d update DeleteLeakedEntites
& rename from DeleteEmptyEntites to DeleteLeakedEntites
2024-02-22 00:54:42 +08:00
Mikhail
475a51818f optimize entity-component masks 2024-02-16 21:17:20 +08:00
Mikhail
e1260a96fc update EcsWorld 2024-02-15 20:28:38 +08:00
Mikhail
b0f5ea97c0 fix 2024-02-15 18:15:25 +08:00
Mikhail
3d2ae2ff31 update EcsWorld 2024-02-15 18:11:24 +08:00
Mikhail
7c5f799d8e fix 2024-02-15 01:04:54 +08:00
Mikhail
8299c373b9 update world constructors 2024-02-15 00:53:20 +08:00
Mikhail
4c183bd126 update EcsWorld 2024-02-14 21:13:00 +08:00
Mikhail
37bfe72d7e fix IdDispenser 2024-02-14 17:05:41 +08:00
Mikhail
3618e75677 temp remove _entityDispenser.Sort 2024-02-14 03:04:55 +08:00
Mikhail
544ef0d40d refactoring 2024-02-14 03:04:05 +08:00
Mikhail
94a99e3121 update New/DelEntity add densify free entityIDs 2024-02-14 01:04:22 +08:00
Mikhail
d1374d72ca restore functionality 2024-02-13 21:13:46 +08:00
Mikhail
d76a699091 optimize New/DelEntity WIP 2024-02-13 21:00:32 +08:00
Mikhail
c7b8fd8d57 refctoring 2024-02-11 22:10:05 +08:00
Mikhail
48e8ca930f fix 2024-02-11 20:23:11 +08:00
Mikhail
f8f1d7b756 fix 2024-02-11 19:59:56 +08:00
Mikhail
659b7fdb64 simple refactoring 2024-02-11 01:29:18 +08:00
Mikhail
186ef6bd1a add EcsWrold.Version & optimize query executors 2024-02-11 01:17:10 +08:00
Mikhail
91370afce9 rename IEntitiesCollection to IEntityStorage 2024-02-11 00:42:49 +08:00
Mikhail
5f5940f443 update queries 2024-02-10 20:54:09 +08:00
Mikhail
16c62e69a6 update world configs 2024-02-10 20:53:58 +08:00
Mikhail
2d5271b410 fix 2024-02-10 19:35:11 +08:00
Mikhail
7b2c64274a update 2024-02-07 22:16:41 +08:00
Mikhail
a248f4fc34 add EcsWorldConfig 2024-02-03 01:12:53 +08:00
Mikhail
df24a2d26a update auto release del buffer & refactoring 2024-01-29 01:10:52 +08:00
Mikhail
e9cdfbfb51 update mask building 2024-01-07 19:32:16 +08:00
Mikhail
be2ecb8c07 sorting pools in query iterator
sorting pools in the iterator. by number of entities from the smallest to the largest.
2024-01-06 00:07:07 +08:00
Mikhail
08e15da9fd fixes 2024-01-01 21:44:33 +08:00
Mikhail
16b273d5e4 Update DelEntBuffer 2023-12-31 22:41:48 +08:00
Mikhail
770c8c5522 update debug 2023-12-31 21:03:00 +08:00
Mikhail
1ecad4de1d Update entity lifecycle/collcetions
update auto release DelEntBuffer
replace ReadnolySpan<int> to EcsSpan
2023-12-31 13:07:53 +08:00
Mikhail
70cf1be408 update 2023-12-24 15:40:19 +08:00
Mikhail
e7c623daf8 simple refactoring 2023-12-20 23:21:10 +08:00
Mikhail
4b0d188955 update debug attributes
rename DebugName attributes to MetaName attributes
rework DebugHide to MetaTags
2023-12-20 23:16:57 +08:00
Mikhail
0d1b005306 rename NewEntity 2023-12-20 19:06:17 +08:00
Mikhail
212bfa0f2a add HasComponent to PoolsMediator 2023-12-06 20:45:32 +08:00
Mikhail
f25036ae6e simple fixes 2023-12-06 20:35:07 +08:00
Mikhail
6e16e2962e update
remove "pipeline" argument from base processes
add PoolsMediator
update component mask
2023-12-06 18:58:06 +08:00
Mikhail
db863bf8bf tmp commit 2023-11-23 00:37:03 +08:00
Mikhail
4c236a11f3 functional recovery 2023-11-22 20:28:11 +08:00
Mikhail
f9db91eeb2 update new masks 2023-11-22 17:52:40 +08:00
Mikhail
5edd55df88 rework EcsMask 2023-11-22 17:35:03 +08:00
Mikhail
b580d69185 refactoring DelEntBuffer 2023-11-22 16:08:49 +08:00
Mikhail
5e6ac8cb16 add gc-like clearing of deleted entities 2023-11-22 11:53:41 +08:00
Mikhail
f858529325 update
add IEcsDebugName
add EcsDebugUtility.GetNameForObject
fix warning
add GC.Collect to EcsPipeline.Builder.Init
fix bit shifts in SparseArray
etc
2023-10-31 03:03:13 +08:00
Mikhail
112b96384d Rework component ids
Remove WorldMetaStorage
2023-07-04 00:00:25 +08:00
Mikhail
a11c7de42c add new getter methods to EcsWorld 2023-07-03 02:44:35 +08:00
Mikhail
43c5adc6cc usafe optimise GetEntityLong 2023-07-02 21:39:44 +08:00
Mikhail
649037577d add UncheckedGetPool 2023-07-02 16:45:40 +08:00
Mikhail
aad94da19d add UncheckedGet for world component 2023-07-02 16:17:13 +08:00
Mikhail
7a5aa6477d update entity copying/EcsTypeCode Api/add IdDispenser/import module with inject 2023-06-29 00:56:26 +08:00
Mikhail
cd1da0253a optimisation 2023-06-27 05:30:45 +08:00
Mikhail
51b409d5d6 GetPool optimisation
GetPool almost 2x faster.
2023-06-27 05:09:41 +08:00
Mikhail
35d71245bc replace int with short for indexing world components 2023-06-27 01:23:01 +08:00
Mikhail
9a6010efdb update exceptions 2023-06-26 02:53:55 +08:00
Mikhail
f07a489d96 update exceptions 2023-06-26 01:57:50 +08:00
Mikhail
4b7649e80c split EcsWorld 2023-06-25 23:22:01 +08:00
Mikhail
6494030509 refactoring 2023-06-22 14:39:12 +08:00
Mikhail
2b5cc8b27b rename Subject to Aspect 2023-06-22 14:31:13 +08:00
Mikhail
110cb45887 update EcsWorldCmp 2023-06-22 02:02:43 +08:00
Mikhail
aea6c75ad6 update world components 2023-06-21 15:03:33 +08:00
Mikhail
4f98009256 redesign world components 2023-06-21 01:37:05 +08:00
Mikhail
d7a209d9b0 update
expand functionality of WorldComponents
change interface of pools
2023-06-20 23:34:51 +08:00
Mikhail
87bd13a3d0 Rename parameters of world event subscription methods 2023-06-19 02:10:25 +08:00
Mikhail
28e786ca7a refactoring 2023-06-18 18:46:19 +08:00
Mikhail
ed01cfc454 rename EcsWorld.uniqueID to EcsWorld.id 2023-06-18 02:42:20 +08:00
Mikhail
7915db562d update world component methods 2023-06-18 01:02:57 +08:00
Mikhail
7e0af4da35 update world component methods 2023-06-18 00:39:25 +08:00
Mikhail
520eb0b597 add set world component method 2023-06-17 20:02:10 +08:00
Mikhail
5f4d1c0c8e update debug utils 2023-06-16 11:53:59 +08:00
Mikhail
a3a5326ca0 add init method for wrold components/ bug fix 2023-06-10 19:43:19 +08:00
Mikhail
355cece81b split IEcsWorldEventListener 2023-06-10 18:58:43 +08:00
Mikhail
cc39522279 refactoring 2023-06-10 18:15:09 +08:00
Mikhail
645546585e add world listeners 2023-06-08 04:04:39 +08:00
Mikhail
a7323363c4 Revert "update EcsGroup"
This reverts commit 29e92ede0b.
2023-06-05 00:22:06 +08:00
Mikhail
29e92ede0b update EcsGroup
rename set operations
replace Span with ReadOnlySpan
2023-06-05 00:16:45 +08:00
Mikhail
416504db45 simplifying the signature of EcsWorld.GetPool 2023-06-04 18:32:05 +08:00