Commit Graph

3406 Commits

Author SHA1 Message Date
Michele Caini
0b1985ca7e view: use storage_for[_t] 2022-05-26 11:50:22 +02:00
Michele Caini
637764ee4e group: use storage_for[_t] 2022-05-26 08:46:53 +02:00
Michele Caini
c6e613c317 storage: storage_for[_t] utility 2022-05-26 08:25:47 +02:00
Michele Caini
aa3e769463 doc: type_list_transform 2022-05-25 23:04:15 +02:00
Michele Caini
630ba195d1 input_iterator_pointer: no reason for which it shouldn't be copyable 2022-05-25 16:51:44 +02:00
Michele Caini
13276d2f10 input_iterator_pointer: minor changes 2022-05-25 16:48:07 +02:00
Michele Caini
d59407a339 any: makes assign work for all basic_any types 2022-05-25 16:46:50 +02:00
Michele Caini
92c2fd9409 hashed_string: nit 2022-05-25 11:42:10 +02:00
Michele Caini
063e6160e0 natvis: explicit entity-component mapping 2022-05-25 11:39:42 +02:00
Michele Caini
6155a10037 doc: minor changes 2022-05-25 11:24:20 +02:00
Michele Caini
7428cb353c storage: add default entity type to storage_type 2022-05-25 10:32:40 +02:00
Michele Caini
fe3b5b03eb entity/invoke: properly decay deduced argument to avoid nasty errors with reference types 2022-05-24 14:11:19 +02:00
Michele Caini
497fb90b12 doc: updated core.md 2022-05-24 10:59:50 +02:00
Michele Caini
48ab892de1 type_traits: type_list_transform[_t] utility 2022-05-24 10:59:40 +02:00
Michele Caini
a85ad88d5a entitiy/invoke: use nth_argument_t and avoid explicitly mentioning the registry 2022-05-24 08:31:14 +02:00
Michele Caini
cf2566ff74 doc: nth_argument (core) 2022-05-23 11:47:04 +02:00
Michele Caini
619f51518a type_traits: nth_argument utility (with tests) 2022-05-23 11:46:50 +02:00
Michele Caini
b26330adab delegate: minor changes 2022-05-23 11:35:11 +02:00
Michele Caini
83009bac02 resource: remove use_count (close #889) 2022-05-21 14:18:05 +02:00
Michele Caini
8780d536c7 resource: add member function handle 2022-05-21 14:14:15 +02:00
Michele Caini
99f4134d9d resource: add type member handle_type 2022-05-21 14:12:31 +02:00
Michele Caini
ca02ab7d5d resource: add type member element_type 2022-05-21 14:11:25 +02:00
kcalbCube
dc295ca0e1 doc: add an notice about possible undefined behaviour. (#887) 2022-05-20 10:44:25 +02:00
Michele Caini
8ee91095c5 organizer: make it depend on the registry type and not the entity type 2022-05-20 09:07:32 +02:00
Michele Caini
49c7b2f8f4 entity/*: renaming things to make them clear 2022-05-19 09:00:04 +02:00
Michele Caini
5d80cf11ef helper: decouple invoke and to_entity from the registry type 2022-05-19 08:15:17 +02:00
Michele Caini
bc929bcb90 snapshot: suppress warnings/errors due to shadow template parameters 2022-05-18 15:21:35 +02:00
Michele Caini
26a3057acf handle: decouple from entity type, make it work with all registry types 2022-05-18 15:02:25 +02:00
Michele Caini
96cf0a6d02 handle: prepare for a registry oriented version 2022-05-18 11:12:53 +02:00
Michele Caini
12e773f3fb as_group/as_view: make them transparent to the registry type 2022-05-17 12:40:47 +02:00
Michele Caini
c321997591 snapshot/loader: support all types of registry (allocator oriented) 2022-05-17 12:35:45 +02:00
Michele Caini
b2d98452f1 observer: support all types of registry (allocator oriented) 2022-05-17 12:28:54 +02:00
Michele Caini
16e48aa10f storage_type_t: simplify the definition to make it work with default template arguments for storage_type 2022-05-17 12:17:44 +02:00
Michele Caini
4da85a5f4a storage_type[_t]: flip entity type and value type 2022-05-17 12:07:21 +02:00
Michele Caini
a5c9d3a809 basic_storage: flip entity type and value type 2022-05-17 11:55:53 +02:00
Michele Caini
f288ba744d test: cleanup 2022-05-17 11:35:32 +02:00
Michele Caini
ba5b85de00 storage: use storage_type_t everywhere 2022-05-16 08:59:04 +02:00
Michele Caini
bd2f412225 storage: add storage_type_t 2022-05-16 08:25:50 +02:00
Michele Caini
a86cf32f55 entity: storage_traits -> storage_type 2022-05-16 08:25:23 +02:00
Michele Caini
0c8178c753 view/group/registry: storage_type -> storage_for (prepare for storage_type_t) 2022-05-15 10:45:33 +02:00
Michele Caini
b59e06ec89 storage_traits: storage_type -> type 2022-05-13 14:11:23 +02:00
Michele Caini
10153a371b sparse_set: use null values as watchdogs 2022-05-13 12:12:48 +02:00
Michele Caini
a93c1478c0 sparse_set: check against null rather than tombstone (prepare support for enable/disable) 2022-05-13 11:10:08 +02:00
Michele Caini
215b7a19c9 test: suppress warning due to integral conversions 2022-05-12 17:51:03 +02:00
Michele Caini
14ed666b91 helper: suppress warning with gcc from to_entity 2022-05-12 17:50:13 +02:00
Michele Caini
ac1d61b2c4 sparse_set: refine the check of the bump function 2022-05-12 17:32:25 +02:00
Michele Caini
acb6e90158 sparse_set: bump doesn't allow to set a tombstone version (yet) 2022-05-12 15:58:38 +02:00
Michele Caini
d3609737f5 view: minor changes 2022-05-12 14:23:45 +02:00
Michele Caini
95b91cd7dd runtime_view: remove the dependency on the sparse set class 2022-05-12 12:43:00 +02:00
Michele Caini
affd2a3b91 registry: ::storage<T> doesn't accept const types anymore 2022-05-11 13:48:03 +02:00