Commit Graph

250 Commits

Author SHA1 Message Date
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
Mikhail
1c5ce4561b remove EcsWhereResult 2023-06-02 03:33:33 +08:00
Mikhail
8c612aa949 update EcsGroup 2023-06-01 20:14:34 +08:00
Mikhail
33f1f03294 refactoring 2023-05-30 18:30:10 +08:00
Mikhail
b73101d18c fix 2023-05-30 15:20:27 +08:00
Mikhail
f565499138 add world components 2023-05-30 15:15:37 +08:00
Mikhail
217a843b47 refactoring 2023-05-30 04:32:09 +08:00
Mikhail
8b0f463129 refactoring 2023-05-29 23:03:02 +08:00
Mikhail
62ceb3384e refactoring 2023-05-28 06:35:33 +08:00
Mikhail
72b344b3dd refactoring 2023-05-28 06:29:04 +08:00
Mikhail
42a8be7345 refactoring 2023-05-28 05:53:08 +08:00
Mikhail
77286fc00c update world meta/update mask debuging 2023-05-27 22:15:25 +08:00
Mikhail
1b8cf0f0e9 refactoring 2023-05-27 15:59:46 +08:00
Mikhail
8f8571a646 Change generic constraints 2023-05-27 09:06:10 +08:00
Mikhail
7cc02d00ba moving part of the API into a separate module 2023-05-26 06:18:09 +08:00
Mikhail
32429e5af8 refactoring
rename directive to DISABLE_DRAGONECS_ASSERT_CHEKS
2023-05-26 05:13:11 +08:00
Mikhail
caef8d8bae refactoring 2023-05-26 03:45:35 +08:00
Mikhail
6fd85813c3 refactoring 2023-05-26 00:24:38 +08:00
Mikhail
3fa030e95d remove Pipeline from EcsWorld & add event subscription 2023-05-23 15:58:31 +08:00
Mikhail
f15de024f5 update 2023-05-23 01:47:28 +08:00
Mikhail
c0c089ec01 global update
rework queries
update remove entities
add sanitize checks
fixes
etс
2023-05-07 00:50:02 +08:00
Mikhail
d5e1700029 update/add component count/auto delete empty entity 2023-04-26 16:45:37 +08:00
Mikhail
24849ab619 update queries 2023-04-24 16:48:18 +08:00
Mikhail
cb25943b55 remove world interface 2023-04-24 00:31:03 +08:00
Mikhail
65861cb798 refactoring 2023-04-24 00:19:07 +08:00
Mikhail
aa220f17e6 refactoring 2023-04-23 22:55:13 +08:00
Mikhail
54b88a3a98 fix create/delete entity methods 2023-04-23 17:19:52 +08:00
Mikhail
b5d9d0e5e1 implemented JoinAttachQuery 2023-04-23 04:10:54 +08:00
Mikhail
22ff801f15 Update 2023-04-22 23:40:09 +08:00
Mikhail
e2371103c1 fix filter fbug 2023-04-21 16:03:50 +08:00
Mikhail
3a15b93da5 reworkpool system/ add new pools 2023-04-21 03:16:05 +08:00
Mikhail
905cd3033a fix changes 2023-04-21 01:05:06 +08:00
Mikhail
212d45f778 refactoring 2023-04-20 20:10:16 +08:00
Mikhail
f2d43146d6 rework world
to remove abstraction, to improve performance.
2023-04-20 20:03:26 +08:00
Mikhail
df833a5b39 fix changes 2023-04-20 19:23:58 +08:00
Mikhail
b8fb3011b0 remove legacy component mask 2023-04-20 18:26:11 +08:00
Mikhail
b26a255a90 fix changes 2023-04-20 18:23:23 +08:00
Mikhail
0d4da6325c add delete entity buffer 2023-04-20 11:37:27 +08:00
Mikhail
0813a68e04 fix changes 2023-04-20 10:59:55 +08:00
Mikhail
13dfbe9e31 fix changes 2023-04-18 19:35:42 +08:00
Mikhail
e7835a39d3 fix changes 2023-04-17 22:58:52 +08:00
Mikhail
c0b1d8ba5b fix changes 2023-04-15 00:23:46 +08:00
Mikhail
df54e7bac7 remove useless 2023-04-12 23:14:24 +08:00
Mikhail
6d357fc948 simplifying EcsQuery 2023-04-12 23:09:50 +08:00
Mikhail
d7988166dd fix changes 2023-04-10 22:22:17 +08:00
Mikhail
eeb1620c22 update 2023-04-09 02:52:39 +08:00
Mikhail
a00c47a980 add set operations into EcsGroup 2023-04-08 21:29:18 +08:00
Mikhail
7ccf23e137 fix changes 2023-04-08 19:54:47 +08:00
Mikhail
b5f134845d rework identifier implementation 2023-04-08 05:50:44 +08:00
Mikhail
1ed1782e4a refactoring 2023-04-08 00:47:35 +08:00
Mikhail
53b7fae2c4 remove usless 2023-04-07 19:23:07 +08:00
Mikhail
9e865ffdbe fix 2023-04-07 18:21:52 +08:00
Mikhail
50ea02f967 refactoring 2023-04-07 18:16:13 +08:00
Mikhail
7e4a33bd4d refactoring / simplifying query initialization 2023-04-07 16:03:42 +08:00
Mikhail
9805f0c709 fixes 2023-04-07 15:11:48 +08:00
Mikhail
d81ee5f1e5 rename EntityArhietype to Query 2023-04-07 14:03:29 +08:00
Mikhail
05aa578b96 Rework filters & pooling / optimization 2023-04-07 05:08:48 +08:00
Mikhail
b2958cd0de fix changes 2023-04-06 23:40:47 +08:00
Mikhail
26c9e50905 add simple filter method 2023-04-02 22:36:08 +08:00
Mikhail
815b1c2bb0 simple refactoring 2023-04-01 22:29:34 +08:00
Mikhail
2e0765626e add check mask methods 2023-04-01 22:19:36 +08:00
Mikhail
57f07f8c2d rework world entities storage/ fix group methods 2023-04-01 22:18:40 +08:00
Mikhail
de7762861c Optimization 2023-04-01 20:45:37 +08:00
Mikhail
f8d03cf949 expand functionality. redesign IEcsReadonlyGroup into EcsReadonlyGroup 2023-03-30 20:47:39 +08:00
Mikhail
14e1a0ae09 rework EcsGroup
for performance
2023-03-30 10:46:57 +08:00
Mikhail
abbe33e3b5 EcsWorld.Destroy implementation 2023-03-30 02:29:11 +08:00
Mikhail
63474c4fdd fix GetFilter method 2023-03-30 02:04:33 +08:00
Mikhail
0513c55d2c refactoring 2023-03-30 01:57:10 +08:00
Mikhail
cb121b8397 rework world arhetype implementation 2023-03-30 01:14:43 +08:00
Mikhail
e2ebe33b57 Update 2023-03-26 11:19:03 +08:00
Mikhail
9a8e4a6995 Update EcsWorld.cs 2023-03-23 01:15:34 +08:00
Mikhail
9db3f192ac refactoring 2023-03-16 01:49:14 +08:00
Mikhail
94dc93d7fa Fixes / First working version 2023-03-13 04:32:24 +08:00
Mikhail
c3e55cb10b remove old mask/fixes 2023-03-13 01:39:04 +08:00
Mikhail
67aa840be9 new masks 2023-03-13 00:05:35 +08:00
Mikhail
5371c0473c testing 2023-03-12 20:45:18 +08:00
Mikhail
66b136df92 Rework
Rework runner system, SparseSet etc
2023-03-11 17:11:40 +08:00
Mikhail
b73652cb37 ReworkWorld 2023-03-02 14:42:44 +08:00
Mikhail
d64d4407c9 Update WIP 2023-02-27 18:16:23 +08:00
Mikhail
796a555cbc Update WIP, add Mask/Filter 2023-02-14 03:26:34 +08:00
Mikhail
dc2e0cd810 Update WIP, remove Members, add Read/Write pool getter, add DI 2023-02-13 21:11:54 +08:00
Mikhail
980ed316e1 Update WIP 2023-02-09 02:26:43 +08:00
Mikhail
b97f409671 Update WIP 2023-02-08 17:57:06 +08:00
Mikhail
36b696777b Update WIP 2023-02-08 17:07:39 +08:00
Mikhail
cab282ac43 Update WIP 2023-02-07 17:11:56 +08:00
Mikhail
2c6fac98fb Update WIP, add table members 2023-02-06 01:27:32 +08:00
Mikhail
491e8069c3 Update WIP 2023-02-05 19:59:45 +08:00