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
Michele Caini
60e8e4a82a
doc: updated list of links ( close #723 )
2021-07-27 18:54:29 +02:00
Michele Caini
92e23476ab
doc: updated list of similar projects ( close #731 )
2021-07-27 18:54:29 +02:00
Michele Caini
4560fef058
doc: updated list of showcases ( close #732 )
2021-07-27 18:54:29 +02:00
Michele Caini
8978a0d159
core:
...
* added trait is_ebco_eligible[_v]
* added class compressed_pair
* tests and doc for compressed_pair
2021-07-27 18:53:49 +02:00
Michele Caini
3df6b05c00
doc: fixed typo ( close #742 )
2021-07-26 09:17:11 +02:00
Michele Caini
2b07b92039
meta (prep for hook func):
...
* removed meta_type::reset
* added meta_reset overloads
2021-07-23 15:47:40 +02:00
Michele Caini
2d5a3f24aa
doc: updated documentation
2021-07-21 00:07:02 +02:00
Michele Caini
c6bf82664c
doc: added a note about optimized range-destroy
2021-06-28 11:20:40 +02:00
Michele Caini
1f8c896181
registry:
...
* deprecated ::destroyed (use ::released instead)
* added ::release overloads (aka force-destroy)
2021-06-24 10:51:03 +02:00
Michele Caini
538425e35c
doc: in-place delete and pointer stability
2021-06-22 09:53:56 +02:00
Michele Caini
29265e4181
doc: updated doxy.in file
2021-06-03 10:44:13 +02:00
Michele Caini
88b58cf23d
doc: added a note about tombstones
2021-06-03 09:06:36 +02:00
Michele Caini
ca34309f75
config: removed ENTT_NOEXCEPT, added ENTT_NOEXCEPTION
2021-06-03 08:44:30 +02:00
Michele Caini
3e7dc7af29
entity:
...
* review of entt_traits design
* added static constexpr member function entt_traits::to_integral
* added static constexpr member function entt_traits::to_entity
* added static constexpr member function entt_traits::to_version
* added static constexpr member function entt_traits::to_type
* custom class identifiers must expose member type entity_field
* it's no longer required to specialize entt_traits (breaking change)
2021-05-28 08:59:50 +02:00
Michele Caini
0b3e3fd19a
doc: updated links ( close #709 ) and TODO file
2021-05-28 08:58:36 +02:00
Michele Caini
755699c31b
config:
...
* removed entt::page_size
* renamed ENTT_PAGE_SIZE to ENTT_SPARSE_PAGE
* added ENTT_PACKED_PAGE (page size for component arrays)
2021-05-25 10:07:20 +02:00
Michele Caini
b062bbf58d
storage/view/group: reintroduce (opaque) ::raw functions as it ought to be
2021-05-17 11:59:51 +02:00
Michele Caini
48f3fcf3bd
doc: updated links ( close #704 )
2021-05-16 22:33:04 +02:00
Michele Caini
6194e12616
entity:
...
* allocator support for sparse set and storage
* pointer stability when assigning components
* removed ::raw functions (registry, view, group)
* to_entity returns null for invalid components
2021-05-14 15:12:16 +02:00
Michele Caini
eca7484e30
doc: updated doc for any/meta_any
2021-05-08 17:13:51 +02:00
Michele Caini
a32ca8eb1d
doc: updated doc for any/meta_any/poly
2021-05-08 17:13:50 +02:00
Michele Caini
3d6202ecfd
any: make_any
2021-05-08 17:13:50 +02:00
Michele Caini
daf72a7c61
entity: registry ::remove/::erase entity/range and safe/unsafe versions ( close #486 )
2021-05-04 11:36:02 +02:00
Michele Caini
5c56cbd672
process: dead -> finished
2021-04-13 09:02:29 +02:00