Commit Graph

886 Commits

Author SHA1 Message Date
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
Mikhail
5c714b068d update Where methods for combinable subjects 2023-06-09 23:15:09 +08:00
Mikhail
645546585e add world listeners 2023-06-08 04:04:39 +08:00
Mikhail
479fd57d37 refactoring 2023-06-07 02:08:44 +08:00
Mikhail
17170a8edc refactoring 2023-06-07 01:38:53 +08:00
Mikhail
17680cc295 priority of base subject constraints 2023-06-05 22:59:34 +08:00
Mikhail
11acff9bac fix 2023-06-05 22:22:21 +08:00
Mikhail
c05a038e77 add orders to subjects 2023-06-05 22:13:46 +08:00
Mikhail
999531b290 add order of combining subjects 2023-06-05 22:09:34 +08:00
Mikhail
e59ef89dfc update EcsGroup
rename set operations
replace Span with ReadOnlySpan
2023-06-05 00:23:18 +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
a4c2b65eb9 fix conflict of constraints 2023-06-04 18:58:26 +08:00
Mikhail
416504db45 simplifying the signature of EcsWorld.GetPool 2023-06-04 18:32:05 +08:00
Mikhail
c7b0083d98 Update WorldMetaStorage.cs 2023-06-03 01:59:12 +08:00
Mikhail
80ac00e887 add CombinedSubject 2023-06-03 01:58:54 +08:00
Mikhail
39ca9d7d74 fix 2023-06-02 15:43:07 +08:00
Mikhail
690e882364 fix 2023-06-02 05:40:58 +08:00
Mikhail
9aef47e66b Update EcsSubject.cs 2023-06-02 04:00:08 +08:00
Mikhail
1c5ce4561b remove EcsWhereResult 2023-06-02 03:33:33 +08:00
Mikhail
7951cf27a8 refactoring debug attribute 2023-06-02 03:03:48 +08:00
Mikhail
a53fa7e717 change defines 2023-06-02 01:20:46 +08:00
Mikhail
8c612aa949 update EcsGroup 2023-06-01 20:14:34 +08:00
Mikhail
5c9452e56b update EcsGroup 2023-06-01 19:13:04 +08:00
Mikhail
5f047a4507 refactoring/update debug utility 2023-05-31 04:09:55 +08:00
Mikhail
33f1f03294 refactoring 2023-05-30 18:30:10 +08:00
Mikhail
5661d1e6d9 rename IEcsSystem to IEcsProcess 2023-05-30 18:27:30 +08:00
Mikhail
9d35096f09 rename ImportSystems method to Import 2023-05-30 17:56:53 +08:00
Mikhail
dd562986f0 remove useless 2023-05-30 16:07:45 +08:00
Mikhail
8dc8236f7e rename write methods to get 2023-05-30 16:01:16 +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
11d9b45ecd update injections 2023-05-30 01:31:04 +08:00
Mikhail
d7494648c9 update DeleteOneFrameComponentSystem 2023-05-30 00:13:50 +08:00
Mikhail
bf8f6518df rename method 2023-05-30 00:13:05 +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
5c805ba555 refactoring/add DebuggerProxy to entlong 2023-05-27 23:02:32 +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
55f6843451 moving part of the API into a separate module 2023-05-26 06:37:15 +08:00
Mikhail
d230afdeb7 remove useless 2023-05-26 06:22:33 +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
1ad7fbabdb refactoring 2023-05-26 04:31:31 +08:00
Mikhail
ddb1eb1491 refactoring 2023-05-26 04:25:09 +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
0e793f70ec fix builtin worlds 2023-05-23 16:00:27 +08:00
Mikhail
3fa030e95d remove Pipeline from EcsWorld & add event subscription 2023-05-23 15:58:31 +08:00
Mikhail
ffeddfae8a refactoring 2023-05-23 02:11:00 +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
ec4f8325b6 Update Systems.cs 2023-04-26 16:54:18 +08:00
Mikhail
d5e1700029 update/add component count/auto delete empty entity 2023-04-26 16:45:37 +08:00
Mikhail
7ef7fb0d14 add ui world 2023-04-24 17:46:10 +08:00
Mikhail
065e1caac3 fix 2023-04-24 17:37:20 +08:00
Mikhail
5bab19acb4 update injects 2023-04-24 17:34:38 +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
79238733d7 refactoring 2023-04-23 18:05:27 +08:00
Mikhail
ed30d58614 add namespace for runners core 2023-04-23 17:55:01 +08:00
Mikhail
54b88a3a98 fix create/delete entity methods 2023-04-23 17:19:52 +08:00
Mikhail
514cf706e5 remove ent 2023-04-23 15:57:35 +08:00
Mikhail
d1abb9d647 refactoring 2023-04-23 11:52:46 +08:00
Mikhail
555909fcc0 refactoring 2023-04-23 11:51:50 +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
699a64f0b6 add relation pools 2023-04-21 14:21:24 +08:00
Mikhail
b38d59ae80 update 2023-04-21 03:46:51 +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
8ce6fc4861 Update EcsPool.cs 2023-04-20 11:23:54 +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
5243218b73 update set operations for EcsGroup 2023-04-08 23:01:10 +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
3d6155ea80 refactoring 2023-04-07 17:15:31 +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
467f2e07c7 fix changes 2023-04-07 03:12:56 +08:00
Mikhail
b2958cd0de fix changes 2023-04-06 23:40:47 +08:00
Mikhail
b565510a69 fix changes 2023-04-06 11:50:31 +08:00
Mikhail
10a35f3a2c Update InjectSystem.cs 2023-04-05 10:15:58 +08:00
Mikhail
22bdd69273 add NotHas method (!Has) 2023-04-03 23:19:10 +08:00
Mikhail
b74d41c268 fix color 2023-04-03 23:18:28 +08:00
Mikhail
86367460c9 remove trash 2023-04-03 06:18:39 +08:00
Mikhail
9bc1eb42ab add DebugNameAttribute 2023-04-03 06:18:07 +08:00
Mikhail
26c9e50905 add simple filter method 2023-04-02 22:36:08 +08:00
Mikhail
a1dadc033b fix 2023-04-01 23:59:51 +08:00
Mikhail
8f39070e22 refactoring 2023-04-01 22:46:42 +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
d5caaa441f remove trash 2023-04-01 21:31:00 +08:00
Mikhail
fd653dc06f Optimization 2023-04-01 21:16:08 +08:00
Mikhail
de7762861c Optimization 2023-04-01 20:45:37 +08:00
Mikhail
a489f4cbae bug fix 2023-03-31 14:58:07 +08:00
Mikhail
f8d03cf949 expand functionality. redesign IEcsReadonlyGroup into EcsReadonlyGroup 2023-03-30 20:47:39 +08:00
Mikhail
db3e633a05 fix using 2023-03-30 16:45:43 +08:00
Mikhail
6186036a08 Implement IComponentReset 2023-03-30 16:43:22 +08:00
Mikhail
6a2521e4e8 Update EcsDebug.cs 2023-03-30 16:39:16 +08:00
Mikhail
4710778ddf add destroy trash runners 2023-03-30 11:17:17 +08:00
Mikhail
14e1a0ae09 rework EcsGroup
for performance
2023-03-30 10:46:57 +08:00
Mikhail
624abd5b51 add EcsPipeline inject 2023-03-30 10:46:01 +08:00
Mikhail
abbb68cad7 remove *.meta files 2023-03-30 06:31:12 +08:00
Mikhail
1890943d5a remove BitMask 2023-03-30 06:19:24 +08:00
Mikhail
fea46221e0 add ProfilerMarkers into ent methods 2023-03-30 06:17:06 +08:00
Mikhail
a7afdfdde3 rename ProfilerMarker to EcsProfilerMarker 2023-03-30 06:05:53 +08:00
Mikhail
67a57621d5 add ProfilerMarker 2023-03-30 06:03:05 +08:00
Mikhail
f23ed953d7 rename EcsSystems to EcsPipeline 2023-03-30 05:32:43 +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
a215d7702a simplifying the way to get Enumerator. 2023-03-30 01:23:18 +08:00
Mikhail
cb121b8397 rework world arhetype implementation 2023-03-30 01:14:43 +08:00
Mikhail
f093a7896a Remove temp file 2023-03-29 23:38:10 +08:00
Mikhail
e96ff34af9 Add exceptions for incorrect Runner implementations. 2023-03-29 23:34:19 +08:00
Mikhail
17b8e596a9 fixes 2023-03-29 19:40:18 +08:00
Mikhail
7dd9f6bc5e Update InjectSystem.cs 2023-03-29 15:48:37 +08:00
Mikhail
3787f2fc38 Add DebugHide attribute 2023-03-29 15:45:55 +08:00
Mikhail
e422e83d51 add Source property for EcsRunner 2023-03-29 15:09:00 +08:00
Mikhail
899cd9f40b add IEcsInjectCallbacks 2023-03-29 06:19:24 +08:00
Mikhail
09b8b72e50 Add delayed initialization for EcsSystems 2023-03-29 04:23:37 +08:00
Mikhail
9ecf475e28 fix DebugColor add SystemsBlockMarker 2023-03-27 20:31:45 +08:00
Mikhail
eb7f1836aa Add profile markers for builtin runners 2023-03-27 17:58:51 +08:00
Mikhail
aa80699f5a Add debug feature 2023-03-27 17:34:12 +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
73090da11a fixes 2023-03-12 02:48:51 +08:00
Mikhail
25fc3318d0 Updtae runners 2023-03-12 02:02:39 +08:00
Mikhail
6ae6775e00 Update runner 2023-03-12 01:33:48 +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