sebas77
ecc90ab8a2
Add more functions for convenience
6 years ago
sebas77
dabc32d6a1
Add ExecuteOnEntities (careful this may change with c# 7 in future)
6 years ago
sebas77
4233f20e6f
better class names
6 years ago
sebas77
96349ac83e
force the use of explicit groups
6 years ago
sebas77
081dde24b0
add comment and rename function
6 years ago
sebas77
2f3c43932b
rename file
6 years ago
sebas77
cb68b29939
still better names
6 years ago
sebas77
a2968f7442
improve class names
6 years ago
sebas77
42328fe278
improving class names
6 years ago
sebas77
e9337f4be3
fix comments
6 years ago
sebas77
0e0d5a5aeb
fix comments
6 years ago
sebas77
98ed73d3f3
fix compiling error
6 years ago
sebas77
c2ab0147a6
Add SwapEntityGroup with EGID
6 years ago
sebas77
7472a36e5b
better names
6 years ago
sebas77
a2a0851eeb
Reworking the IEntityDescriptorHolder to avoid confusion
6 years ago
sebas77
5651416785
fix compiling errors
6 years ago
sebas77
b5121de872
remove some contraints that were not necessary
6 years ago
sebas77
ed3d521d93
rename functions
6 years ago
sebas77
9f256ae1c1
fix asm def
6 years ago
sebas77
8d2ef03501
minor modifications and asmedf
6 years ago
sebas77
9b470a8dee
rename IEntityData into IEntityStruct, it's not necessary to add confusion with more names
fix MoveEntityView function
fix Preallocate function
6 years ago
sebas77
a62a3c8dd2
improve code
6 years ago
sebas77
497f97650b
- put some effort to make the Sequencer declaration more readable, making more generic parameter explicit
- reworked IEntityViewsDB interface, some breaking renaming and added more functions
- added two struct friendly functions as workaround while we wait for the c# byref keyworkd: QueryEntities<T> and ExecutOnEntity<T>
- fix the SwapEntityGroup function
- various optimizations
- implement a simple and efficient way to initialize entity struct values (EntityStructInitializer)
- check (in debug only) if entitystruct has only value and primitive types, otherwise throw exception
-
6 years ago
sebas77
f32ad2b822
Improve the work on the the EntityStructs
6 years ago
sebas77
550c21851c
add Exists<T>(egid), Fetch<T> and Has<T>
add support for engines with EntityView, EntityStruct and EntityViewStruct
6 years ago
sebas77
1b639831e0
moving toward EntityViewStruct
6 years ago
sebas77
70344dbe13
working on use just one data structure, still WIP and a lot of work to do
6 years ago
sebas77
ab5e5c94bd
mega refactoring, now EntityView and EntityStructs use almost exactly the same code
introduced EntityViewStruct
cut a lot of code not needed anymore
breaking change engines add and remove callback now accept only ref params
breaking change QueryEntityViewsAsArray renamed in to QueryEntityViewsCacheFriendly
6 years ago
sebas77
2c40b46d35
Mega work in progress to support entity views as structs
6 years ago
sebas77
fe0a777475
EGID are now long to avoid any limitation
6 years ago
sebas77
5f416c0266
it's very important that people won't use GenericEntityDescriptor and MixedEntityDescriptor directly
6 years ago
sebas77
002bb2896a
move files in the right folder
6 years ago
sebas77
c2ff71d780
EntityStructs cannot be put in or queried from groups anymore
EnttiyStructs can now be built with an initializer
6 years ago
sebas77
ccdc03421a
better logs
6 years ago
sebas77
5179c885f7
some optimizations
6 years ago
sebas77
e4d3ea9e4b
fix some errors
remove some redundant methods
6 years ago
sebas77
36cae3be95
refactoring complete (minus some improvements)
- introduced the concept of global ID, as a combination of groupID and entityID
- only 256 groups and 2^24 entities can be created
- all the entities are now built always in group, when the group is not specified, the "standard" groups is used
- the groupID can be retrieved from the EGID
-
6 years ago
sebas77
a65a36fcab
Entity Struct Add callback rework
6 years ago
sebas77
4703f4ee6b
refactoring in progress
6 years ago
sebas77
23580f381d
fixed a serious bug that sneaked in because I trust too much the refactoring tools that this time failed miserably
6 years ago
sebas77
e876b3e531
better generics constraints
6 years ago
sebas77
d825dbd373
fixed wrong behaviour
6 years ago
sebas77
260b7f5ef3
add setter
6 years ago
sebas77
f70f3a88f3
cleanup code
6 years ago
sebas77
ff5816b6b0
fixed wrong code behaviour
6 years ago
sebas77
f7f97732eb
clean up and fix more bugs
6 years ago
sebas77
ac656a776a
refactored the RemoveEntity logic, made simpler, made it working
6 years ago
sebas77
32b86d9fc8
rename RemoveEntitiesGroup into DeleteEntityGroup
add SimpleSubmissionEntityViewScheduler for testing purposes
6 years ago
sebas77
292e5e51d3
it's possible to add a list of TO engines in the sequencer without condition
6 years ago
sebas77
d6fe686096
DispatchOnChange and DispatchOnSet must hold only value types
fix QueryGroupedEntityViews
6 years ago