Commit Graph

137 Commits

Author SHA1 Message Date
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