Commit Graph

424 Commits

Author SHA1 Message Date
Mikhail
ff6d8cba5a update profile markers for DefaultDebugService 2024-01-29 01:10:05 +08:00
Mikhail
5fac3fd97c simple renaming & refactoring 2024-01-29 01:09:17 +08:00
Mikhail
0356302d90 Update Exceptions.cs 2024-01-26 18:59:07 +08:00
Mikhail
9ae92c7cdf add Deconstruct to entlong 2024-01-26 18:58:54 +08:00
Mikhail
36d5c15817 add IInjectionBlock 2024-01-26 02:26:17 +08:00
Mikhail
5760dd55d0 disable CS8981 in longent 2024-01-25 20:11:28 +08:00
Mikhail
294a3af4ac rework data interfaces 2024-01-25 20:11:06 +08:00
Mikhail
21ee6aee00 fix 2024-01-18 21:25:26 +08:00
Mikhail
266da2d85d fix 2024-01-11 00:53:15 +08:00
Mikhail
6ebda350a3 update 2024-01-11 00:48:39 +08:00
Mikhail
bf9809f3e6 resolve conflict 2024-01-08 13:46:32 +08:00
Mikhail
0958a55495 Merge branch 'new_dev' 2024-01-08 13:41:55 +08:00
Mikhail
b2414ec765 fixes for support unity 2020.1.x 2024-01-08 13:39:38 +08:00
Mikhail
94fdcab168 add bitsutility 2024-01-07 23:21:13 +08:00
Mikhail
40141dfbb9 update 2024-01-07 23:19:18 +08:00
Mikhail
14f1cf2856 Update EcsMask.cs 2024-01-07 20:45:42 +08:00
Mikhail
41391e7038 optimization mask building 2024-01-07 20:45:13 +08:00
Mikhail
e9cdfbfb51 update mask building 2024-01-07 19:32:16 +08:00
Mikhail
b34f8add00 update sorting & masks 2024-01-07 18:52:54 +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
fc167fb28c update collectiona 2024-01-05 23:49:29 +08:00
Mikhail
3119ea42db update collections 2024-01-05 22:16:48 +08:00
Mikhail
8b5cdd84f4 fixes for support Unity 2020.1.x 2024-01-04 22:52:54 +08:00
Mikhail
ab1eeffc0c
Update EcsAspect.cs 2024-01-04 12:12:41 +08:00
Mikhail
08e15da9fd fixes 2024-01-01 21:44:33 +08:00
Mikhail
e3c7aa8aac update for unity 2023-12-31 23:26:56 +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
0b6c1e8d26 fixes 2023-12-31 21:02:53 +08:00
Mikhail
b5300f7b43 tmp update 2023-12-31 17:58:20 +08:00
Mikhail
43d8489157 add Bake methods to EcsSpan 2023-12-31 17:33:48 +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
82c5dbc939 Update ArrayUtility.cs 2023-12-24 18:11:20 +08:00
Mikhail
89cb4c68b9 fix EcsGroup 2023-12-24 18:05:30 +08:00
Mikhail
7a6dc93bdb Update EcsGroup.cs 2023-12-24 17:09:01 +08:00
Mikhail
87ec923ff9 Update EcsGroup.cs 2023-12-24 16:04:24 +08:00
Mikhail
4e140a39d8 Update EcsGroup.cs 2023-12-24 15:54:34 +08:00
Mikhail
bf145650ee Update EcsGroup.cs 2023-12-24 15:48:24 +08:00
Mikhail
70cf1be408 update 2023-12-24 15:40:19 +08:00
Mikhail
909a9fe3e7 update EcsGroup 2023-12-23 20:17:28 +08:00
Mikhail
a72f54270d Update EcsGroup.cs 2023-12-22 23:25:31 +08:00
Mikhail
97a9281c4d Update EcsGroup.cs 2023-12-22 18:11:41 +08:00
Mikhail
3cfdce4024 rename IEcsDebugMetaProvider to IEcsMetaProvider 2023-12-20 23:31:04 +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
a912b4716d rework EcsGroup Api 2023-12-20 19:15:48 +08:00
Mikhail
503fc23aca fix 2023-12-20 19:07:19 +08:00
Mikhail
0d1b005306 rename NewEntity 2023-12-20 19:06:17 +08:00
Mikhail
f50697e43b remove implicit bingding pf processes to runner 2023-12-06 21:15:35 +08:00
Mikhail
212bfa0f2a add HasComponent to PoolsMediator 2023-12-06 20:45:32 +08:00
Mikhail
8aae08b21e rename binding attribute 2023-12-06 20:38:00 +08:00
Mikhail
f25036ae6e simple fixes 2023-12-06 20:35:07 +08:00
Mikhail
91a750394e add explicit binding of process to runner 2023-12-06 20:34:33 +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
cf18d104f8 fix 2023-12-06 18:38:48 +08:00
Mikhail
db863bf8bf tmp commit 2023-11-23 00:37:03 +08:00
Mikhail
b07256f020 move EcsMaskBit to EcsAspect.cs 2023-11-22 20:30:26 +08:00
Mikhail
4c236a11f3 functional recovery 2023-11-22 20:28:11 +08:00
Mikhail
6411abf869 functional recovery 2023-11-22 19:05:00 +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
12f166a01a create temp TestPool 2023-11-22 16:09: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
de88b0a8dd fix console messages color 2023-11-22 11:46:13 +08:00
Mikhail
c6c61890c9 update EcsDebug 2023-11-22 11:28:15 +08:00
Mikhail
cfcd2d131a add entlong.NewUnsafe 2023-11-21 10:43:02 +08:00
Mikhail
910dfb2d51 rename UncheckedGetPool to GetPoolUnchecked 2023-11-21 10:41:41 +08:00
Mikhail
c6db8d2fc0 fix usings 2023-11-15 17:49:31 +08:00
Mikhail
0637aec1dc simple refactoring/fixes 2023-11-15 17:47:11 +08:00
Mikhail
6354d91769 update Hybridity implementation 2023-11-08 15:15:10 +08:00
Mikhail
b49be251a5 add SparseArray64 2023-11-02 00:32:54 +08:00
Mikhail
f9b70c51b2 update debug utils
remove IEcsDebugName
add IEcsDebugMetaProvider
update EcsDebugUtility
2023-11-01 02:30:19 +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
0c06d971aa update hybridpool / add clear not alive components 2023-07-17 15:55:23 +08:00
Mikhail
aba19f98b9 setup entlong serialization 2023-07-17 15:54:28 +08:00
Mikhail
04c474edf5 add properties to EcsMask 2023-07-04 19:50:25 +08:00
Mikhail
9e465588d4 Merge branch 'dev' of https://github.com/DCFApixels/DragonECS into dev 2023-07-04 02:59:13 +08:00
Mikhail
a5951412be add unity metas 2023-07-04 02:59:09 +08:00
Mikhail
1a5372b7c0 add explicit conversion from entlong to int 2023-07-04 02:58:26 +08:00
Mikhail
112b96384d Rework component ids
Remove WorldMetaStorage
2023-07-04 00:00:25 +08:00
Mikhail
5612fe047c add simplified UncheckedGetPool for built-in pools 2023-07-03 02:50:16 +08:00
Mikhail
a11c7de42c add new getter methods to EcsWorld 2023-07-03 02:44:35 +08:00
Mikhail
143faf24e0 add new unpack methods 2023-07-03 02:40:13 +08:00
Mikhail
8f76a1cf2e add entlongs iterator to EcsGroup 2023-07-02 21:41:06 +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
b04756c03d Create EcsHybridPool.cs.meta 2023-06-30 01:19:03 +08:00
Mikhail
ded1c58296 change hybrid component interface 2023-06-30 01:01:19 +08:00
Mikhail
eddbe6b150 fix EcsGroup.ToString() 2023-06-30 00:59:49 +08:00
Mikhail
7b30dc9e53 fix hybrid pool 2023-06-30 00:37:54 +08:00
Mikhail
44e0792517 fix Break 2023-06-30 00:32:25 +08:00
Mikhail
49dd0eaa97 add EcsDebug.Break 2023-06-30 00:31:17 +08:00
Mikhail
d674f2da8b Implement Add and Del callbacks for Hybrid components. 2023-06-29 23:59:45 +08:00
Mikhail
393c56a166 add hybrid components 2023-06-29 23:53:26 +08:00
Mikhail
26e45a6f16 update debug utils/ add DebugGroup attribute 2023-06-29 17:57:28 +08:00
Mikhail
7a5aa6477d update entity copying/EcsTypeCode Api/add IdDispenser/import module with inject 2023-06-29 00:56:26 +08:00
Mikhail
709ecf9cf8 add meta 2023-06-27 06:01:30 +08:00
Mikhail
09ce342239 remove useless 2023-06-27 05:33:53 +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
f3b7841ffe hot fix 2023-06-27 01:21:52 +08:00
Mikhail
f7a0495c87 remove useless 2023-06-26 04:04:00 +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
29dc825685 simple refactoring 2023-06-25 23:13:51 +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
65878aa9a0 Create DataInterfaces.cs.meta 2023-06-22 12:52:58 +08:00
Mikhail
ce4a636082 add null check to AutoToString 2023-06-22 11:00:33 +08:00
Mikhail
be39dcf8d8 add summary to AutoToString 2023-06-22 10:58:57 +08:00
Mikhail
757283f4e7 add AutoToString 2023-06-22 10:50:47 +08:00
Mikhail
3c3e856eff fix namespace 2023-06-22 10:24:07 +08:00
Mikhail
c3a4d3e6de add EmptySubject 2023-06-22 04:09:43 +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
8eb5953c0d remove usless 2023-06-20 23:38:15 +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
75031b0014 insert AUTO_DEL_LAYER after POST_END_LAYER 2023-06-18 19:08:45 +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
f41f57b888 Merge branch 'dev' of https://github.com/DCFApixels/DragonECS into dev 2023-06-18 01:04:15 +08:00
Mikhail
7915db562d update world component methods 2023-06-18 01:02:57 +08:00
Mikhail
f0135f53be fix using 2023-06-18 00:41:44 +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
12efd35595 change exception message 2023-06-17 19:35:40 +08:00
Mikhail
0b0dab200b add catch exceptions to builtin process 2023-06-17 19:28:06 +08:00
Mikhail
2cc2adf4c4 add runtime injects method 2023-06-16 16:10:11 +08:00
Mikhail
130b732851 simple refactoring 2023-06-16 12:34:54 +08:00
Mikhail
5f4d1c0c8e update debug utils 2023-06-16 11:53:59 +08:00
Mikhail
4abef9b0d7 fix null injection check 2023-06-16 11:53:39 +08:00
Mikhail
7b5c912ebd add inject null check 2023-06-13 15:55:44 +08:00
Mikhail
840ccb2782 add inject null checks 2023-06-13 15:41:31 +08:00
Mikhail
4b63353965 refactoring to support c# 7.3 2023-06-12 21:59:27 +08:00
Mikhail
b0c0014faf refactoring to support c# 7.3 2023-06-12 20:46:51 +08:00
Mikhail
e5d6391630 change git ignore 2023-06-12 20:33:22 +08:00
Mikhail
05bf563f76 simple refactoring 2023-06-12 20:30:44 +08:00
Mikhail
968c6deb41 fix indexator 2023-06-12 12:49:41 +08:00
Mikhail
2e4c40e494 fix EcsGroup bake methods 2023-06-12 00:59:22 +08:00
Mikhail
0ca85a81b5 fix pipeline init flag 2023-06-10 19:46:35 +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
e828864ca8 remove EcsGroup.Release 2023-06-10 00:55:00 +08:00