Michele Caini
a8be765aa8
registry: disable optimizations based on is_iterator_type, free pools allow to implement them on the user side and more efficiently when needed
2022-01-22 16:52:45 +01:00
Michele Caini
d2d35d490a
doc: updated entity.md
2022-01-22 16:45:05 +01:00
Michele Caini
3878a696af
registry: standalone context type ( close #575 )
2022-01-20 09:37:31 +01:00
Michele Caini
49ac34c405
doc: avoid confusion with context variables
2022-01-19 16:02:04 +01:00
Michele Caini
9fb1970ac0
sparse_set/storage: rollback ::policy(pol), incompatible with views
2022-01-09 16:15:47 +01:00
Michele Caini
d514ecbd5e
doc: updated documentation about deletion policies
2022-01-08 14:36:04 +01:00
Michele Caini
4dd0862fad
runtime_view:
...
* added ::iterate and ::exclude member functions to attach pools at runtime
* removed vector-based constructor
* removed basic_registry<...>::runtime_view member function
* updated benchmarks accordingly (also reviewed them as a whole just because)
2021-12-30 14:41:05 +01:00
Michele Caini
19ab584d32
doc: updated FAQs
2021-12-29 16:34:26 +01:00
Michele Caini
9d304cb35c
doc: fixed typo about in_place_delete
2021-12-23 16:31:07 +01:00
Michele Caini
ee08a4966f
doc: updated list of links, added D2R to it too
2021-12-23 14:35:34 +01:00
Michele Caini
aeca69903e
doc: updated similar projects
2021-12-22 17:53:45 +01:00
Michele Caini
25c7436652
doc: minor changes
2021-12-21 14:10:33 +01:00
Michele Caini
3498dea486
registry ( close #521 ):
...
* remove visit
* added storage_proxy_iterator (input iterator category, modeled as a random access iterator)
* added ::storage() (const and non-const) to return an iterable object over all pools
2021-12-17 17:05:14 +01:00
Michele Caini
69ddf4936e
registry: remove the visit overload that also takes an entity
2021-12-14 22:57:10 +01:00
Michele Caini
12d177a6c8
registry: removed ::orphans, use ::each/::orphan instead (no way to further optimize it)
2021-12-13 10:00:32 +01:00
Michele Caini
b86ffc2370
view: drop conceptually broken reverse iterators
2021-12-12 01:11:20 +01:00
Michele Caini
4e3e5a5361
doc: updated doc for the ecs module
2021-12-09 17:49:30 +01:00
Michele Caini
3335b81ad4
meta:
...
* dtor support to member functions
* review to introduce strict checks on policies
2021-12-03 17:56:09 +01:00
Michele Caini
3fcccae241
component traits:
...
* added page_size to tune the page size on a per-type basis
* turned in_place_delete into a boolean value
* turned ignore_if_empty into a boolean value
* removed in_place_delete_v (no longer required)
2021-11-30 09:45:37 +01:00
Michele Caini
eca86999c3
doc: added a section about runtime stuff
2021-11-30 09:43:48 +01:00
Michele Caini
89b2131052
doc:
...
* const thread safe registry
* detached views
2021-11-30 09:43:47 +01:00
Michele Caini
00e7ab1db8
entity: fully remove the poly storage support
2021-11-30 09:43:47 +01:00
Michele Caini
2866dcdd03
doc: updated documentation about making EnTT work smoothly across boundaries
2021-11-30 09:43:47 +01:00
Michele Caini
19230f7672
dispatcher: make it run smoothly across boundaries
2021-11-30 09:43:47 +01:00
Michele Caini
764dfbe46a
doc: minor changes
2021-11-30 09:43:47 +01:00
Michele Caini
19068ea5c7
doc: updated links
2021-11-13 12:19:51 +01:00
Michele Caini
16e3cfc589
container: added dense_hash_set
2021-10-30 13:45:02 +02:00
Michele Caini
74cdf000b4
doc: fixed a couple of typos
2021-10-26 15:44:05 +02:00
Michele Caini
af249098cd
container: sparse set based dense hash map
2021-10-12 16:50:28 +02:00
Michele Caini
04b2e1152c
any:
...
* when moving fails, try to copy anyway as a fallback
* code coverage
2021-09-22 17:13:02 +02:00
Michele Caini
03e363f5d9
any: added the ::assign function to copy/move assign the wrapped variable
2021-09-22 16:27:56 +02:00
Michele Caini
12f05e8f72
doc: fixed typo ( close #784 )
2021-09-20 08:07:05 +02:00
Michele Caini
42dcec961b
meta: support for multi-setters on meta data members
2021-09-15 09:32:12 +02:00
Michele Caini
36627dbe78
meta:
...
* removed meta_ctor, no alternatives provided
* removed meta_type::ctor overloads, no alternatives provided
2021-09-13 19:03:22 +02:00
Michele Caini
7ab08779dc
type_info: temporarily reintroduce type_info::index for performance reasons
2021-09-10 11:29:05 +02:00
Michele Caini
fb3252732b
type_info: name rollback, hash_code -> hash (why should I introduce a breaking change to match a terrible name from the standard library after all?)
2021-09-09 14:49:39 +02:00
Michele Caini
92d43ce620
core: rename type_seq to type_index
2021-09-09 09:53:29 +02:00
Michele Caini
6943822fed
type_info:
...
* make the API closer to that of std::type_info
* remove the ::seq member function
* rename :.hash to ::hash_code
2021-09-09 09:44:58 +02:00
Michele Caini
591f885e67
meta: automatic conversion function to underlying type for enums (see #735 )
2021-09-03 18:23:49 +02:00
Michele Caini
bac51045e5
meta: automatic arithmetic conversions (see #735 )
2021-09-03 14:37:52 +02:00
Michele Caini
3c4d13d8b9
sparse_set/view:
...
* added basic_sparse_set<E>::current to return known version of identifiers in set
* sparse arrays also contain updated entity versions, no more unused bits
* basic_sparse_set<E>::contains performs a strict version check
* sparse sets manage correctly foreign entities in all cases now
* no tombstone checks for multi-type views, zero-cost pointer stability model
2021-08-16 17:07:52 +02:00
Michele Caini
1013c6a50e
meta: removed annotation support for meta properties
2021-08-12 19:54:12 +02:00
Michele Caini
d9494960a2
meta:
...
* removed the possibility of invoking meta_factory::prop multiple times
* further reduced instantiations due to meta properties
2021-08-11 17:11:09 +02:00
Michele Caini
135d6915ee
meta, review implicitly generated meta default constructors:
...
* reduce instantiations and remove their static objects
* these ctors are no longer returned from a direct lookup nor during iterations
2021-08-09 10:07:43 +02:00
Michele Caini
4b629045c3
core: added enum-as-bitmask support for enum classes (thanks to @TerensTare for the suggestion)
2021-08-05 10:42:42 +02:00
Michele Caini
e95d9b9cf6
doc: updated links.md
2021-08-01 10:18:21 +02:00
Michele Caini
fbab047d7f
doc: fixed typo ( close #749 )
2021-07-30 12:13:13 +02:00
Michele Caini
754a8a637e
doc: updated list of showcases ( close #744 )
2021-07-28 14:44:42 +02:00
Michele Caini
ab24a50de7
doc: fixed typo
2021-07-27 18:56:16 +02:00
Michele Caini
99198fb07f
doc: added a note about the no-policy trick
2021-07-27 18:56:08 +02:00