Michele Caini
559db104f8
view: suppress some warnings due to initialization order
2021-12-15 10:24:08 +01:00
Michele Caini
365c57be4c
build system: allow compiling the tests with clang-cl (thanks gtest for failing otherwise)
2021-12-15 10:23:34 +01:00
Michele Caini
6f0c84fc68
dense_hash_map/dense_hash_set: remove [[nodiscard]] from friend function declaration
2021-12-15 09:33:23 +01:00
Michele Caini
75782d9e99
registry: review/cleanup
2021-12-14 23:15:57 +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
4b3108283f
dense_hash_map/dense_hash_set: avoid pointer overflow for end iterators ( close #804 )
2021-12-14 16:44:34 +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
54717dc7e2
test: minor changes
2021-12-12 17:45:13 +01:00
Michele Caini
631c909abd
group: drop conceptually broken reverse iterators
2021-12-12 17:45:06 +01:00
Michele Caini
208746f28f
view: get rid of the internal::storage_tuple function, back to the uniform model
2021-12-12 17:05:37 +01:00
Michele Caini
61c5f8ae22
registry/view/group: cleanup
2021-12-12 16:51:48 +01:00
Michele Caini
4e0cca3a08
view: clean up
2021-12-12 01:18:41 +01:00
Michele Caini
b86ffc2370
view: drop conceptually broken reverse iterators
2021-12-12 01:11:20 +01:00
Michele Caini
33574c9885
doc: updated README file
2021-12-10 10:24:08 +01:00
Michele Caini
672c542f99
group: removed ::data, use ::handle<T>().data() and ::storage<T>().data() instead
2021-12-10 09:30:16 +01:00
Michele Caini
f741fe48a1
group: added ::handle to non-owning groups
2021-12-10 08:25:46 +01:00
Michele Caini
4347ebcee2
group: added base_type type member
2021-12-09 17:50:51 +01:00
Michele Caini
4e3e5a5361
doc: updated doc for the ecs module
2021-12-09 17:49:30 +01:00
Michele Caini
8e6439c3d1
group: removed ::raw, use ::storage().raw() instead
2021-12-09 17:49:18 +01:00
Michele Caini
b54d358feb
view: removed ::data for single type views, use ::storage().data() instead
2021-12-09 09:37:17 +01:00
Michele Caini
78baa7b12d
view: removed ::raw for single type views, use ::storage().raw() instead
2021-12-09 09:21:37 +01:00
Michele Caini
19f1dd22e9
view: minor changes to avoid confusion
2021-12-09 09:12:08 +01:00
Michele Caini
73f583f68a
registry: doc cleanup
2021-12-09 09:05:14 +01:00
Michele Caini
52de43e329
registry: removed ::empty<T>(), use ::view<T>().empty() or ::storage<T>().empty() instead
2021-12-09 08:20:34 +01:00
Michele Caini
49ddacaac0
registry: removed ::size<T>(), use ::view<T>().size() or ::storage<T>().size() instead
2021-12-08 15:17:35 +01:00
Michele Caini
4533b3a1c0
registry: minor chages (doc/internals)
2021-12-05 17:01:40 +01:00
Michele Caini
f30ea02794
registry:
...
* removed registry::reserve<Component> (use registry.storage<Component>.reserve(v) instead)
* removed registry::capacity<Component> (use registry.storage<Component>.capacity() instead)
* removed registry::shrink_to_fit<Component> (use registry.storage<Component>.shrink_to_fit() instead)
2021-12-05 16:20:14 +01:00
Michele Caini
7112dda299
build_system: added all headers to the EnTT target
2021-12-05 16:01:32 +01:00
Michele Caini
02636a7108
view: minor changes
2021-12-05 15:55:40 +01:00
Michele Caini
36a9456e0d
test: minor changes to make all major compilers agree at least on something :)
2021-12-04 15:32:38 +01:00
Michele Caini
113893dcea
meta: added meta_any::owner
2021-12-04 15:28:52 +01:00
Michele Caini
1abbe9c7b2
test: minor changes (code coverage)
2021-12-04 15:21:49 +01:00
Michele Caini
7205ac791c
meta: make policies check function return types
2021-12-03 18:25:11 +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
d9c9438f3c
test: minor changes
2021-12-03 14:39:50 +01:00
Michele Caini
37250843e1
sigh: allocator support
2021-12-02 11:30:54 +01:00
Michele Caini
072ab88721
build system: avoid using windows-2016 (deprecated by GH)
2021-12-01 10:33:43 +01:00
Michele Caini
c208e6b107
natvis: avoid errors due to null/tombstone definition not available in some contexts
2021-11-30 14:44:12 +01:00
Michele Caini
65f3185b39
entity: add page_size to entt_traits to make it more natvis friendly and customizable on a per-type basis
2021-11-30 13:48:12 +01:00
Michele Caini
34f73f8a2b
registry: added base_type member type
2021-11-30 11:23:15 +01:00
Michele Caini
cb4142a97d
entity: simplified to_version
2021-11-30 09:46:15 +01:00
Michele Caini
80d08d5a34
view:
...
* fixed init list order to suppress a warning
* try to please gcc that fails to compile valid code
2021-11-30 09:46:14 +01:00
Michele Caini
052aecf533
natvis: basic_view (single and multi type)
2021-11-30 09:46:14 +01:00
Michele Caini
7bde714f18
view: minor changes
2021-11-30 09:46:14 +01:00
Michele Caini
5ff429f656
view:
...
* added single type view overloads for ::storage to make it compatible with the multi-type view version
* removed the useless tuple from single type views
* updated operator|
2021-11-30 09:46:14 +01:00
Michele Caini
92f27299e1
group: added the ::storage method (with tests)
2021-11-30 09:46:14 +01:00
Michele Caini
f9013375f8
view: added the ::storage method (with tests)
2021-11-30 09:46:14 +01:00
Michele Caini
f18b0045ba
registry: get around an issue of the toolset v141
2021-11-30 09:46:14 +01:00
Michele Caini
18173cc4c0
view: minor changes
2021-11-30 09:46:12 +01:00
Michele Caini
6a1ffdd7a5
natvis: bypass some natvis idiosyncrasies to display storage information and content in all cases
2021-11-30 09:45:37 +01:00