Commit Graph

4031 Commits

Author SHA1 Message Date
Michele Caini
4fb558f143 view: further reduce instantiations 2022-12-12 15:08:37 +01:00
Michele Caini
5762a8a086 view: reuse internal functions if possible 2022-12-12 11:49:47 +01:00
Michele Caini
ed4c675211 sparse_set/storage: drop move_element 2022-12-12 09:38:58 +01:00
Michele Caini
f157898462 config: ENTT_FAIL(msg) -> ENTT_ASSERT(false, msg) 2022-12-07 12:22:35 +01:00
Michele Caini
6d20709e07 storage: minor changes 2022-12-07 10:41:33 +01:00
Michele Caini
a9a9853c01 sigh_storage_mixin: use entity_type from Type 2022-12-06 14:34:16 +01:00
Michele Caini
af14aa4c9e doc: more about signals (sigh_storage_mixin) 2022-12-06 12:01:01 +01:00
Michele Caini
24d6b98817 test: minor changes 2022-12-05 15:29:43 +01:00
Michele Caini
899f4baa63 storage:
* drop storage_for]_t]
* make storage_type[_t] deal with constness
2022-12-05 14:47:32 +01:00
Michele Caini
c1ab7ba025 sigh_storage_mixin: make all virtual member functions final 2022-12-05 09:52:22 +01:00
Michele Caini
9d38f60207 registry: thanks MSVC for accepting invalid C++ code 2022-12-02 11:57:29 +01:00
Michele Caini
0efa25cf61 sigh: cool, I keep doing the same error again and again apparently :) 2022-12-02 11:49:21 +01:00
Michele Caini
6316b60451 registry: make it work with storage<void> also in C++17 2022-12-02 10:56:03 +01:00
Michele Caini
f268fb60a8 entity: avoid breaking changes due to type members renaming 2022-12-01 13:26:22 +01:00
Michele Caini
3520d6915c entity: add base_type 2022-12-01 12:48:26 +01:00
Michele Caini
4da7a84518 entity: make checks work with 64b identifiers :) 2022-12-01 12:26:24 +01:00
Michele Caini
382dfc3bb4 entity: strict check on entity/version masks 2022-12-01 11:17:31 +01:00
Michele Caini
b6dcdc816e entity:
* also expose entity_mask and version mask to the final user
* avoid default args with entt_traits::construct for backward compatibility
2022-12-01 09:22:46 +01:00
Michele Caini
c9d544089a doc: review/cleanup entity.md a bit (done) 2022-11-30 16:17:02 +01:00
Michele Caini
3eb5faeed5 doc: review/cleanup entity.md a bit (work in progress) 2022-11-29 14:40:27 +01:00
Michele Caini
7a328c7edf doc: updated links 2022-11-29 08:21:19 +01:00
Michele Caini
6567aa1951 doc: a note about listeners disconnection (close #958) 2022-11-28 15:40:21 +01:00
Michele Caini
92319f0111 entt_traits: split basic impl, simplify def 2022-11-28 12:48:16 +01:00
Michele Caini
782d86b6e7 entt_traits: value_type -> type (cuz it's not a value type after all) 2022-11-26 18:57:10 +01:00
Michele Caini
c2cae37c1d entity_traits: make page_size type explicit 2022-11-25 18:24:12 +01:00
Michele Caini
1026d26ecb entt_traits: drop reserved value 2022-11-25 11:13:14 +01:00
Michele Caini
7156803dbe test: local non-static constexpr variables 2022-11-25 11:11:54 +01:00
Michele Caini
f54ed54247 helper: local non-static constexpr variables 2022-11-25 11:07:29 +01:00
Michele Caini
f30b50195a algorithm: local non-static constexpr variables 2022-11-25 10:59:47 +01:00
Michele Caini
c90ab9affd sparse_set:
* break dependency on traits_type::reserved
* use a tombstone if all I need is a tombstone
2022-11-25 10:23:43 +01:00
Michele Caini
c2f6ca43f1 doc: graph (close #957) 2022-11-24 09:33:34 +01:00
Michele Caini
3e5e41d88f test: cover some corner cases of the flow class 2022-11-24 09:33:04 +01:00
Michele Caini
9eafc0431d flow: minor changes 2022-11-24 09:31:14 +01:00
Michele Caini
0a82b777b2 component_traits: support specializations based on entity type 2022-11-23 14:53:31 +01:00
Michele Caini
32bcc01a46 component:
* make component_traits treat void properly
* drop ignore_as_empty_v
2022-11-23 12:36:21 +01:00
Michele Caini
9c3fe3546b nativs: entity module 2022-11-23 11:29:48 +01:00
Michele Caini
83f8aed583 helper: use traits_type from storage class directly 2022-11-23 11:28:08 +01:00
Michele Caini
2fd6602740 snapshot: use public registry traits_type member type 2022-11-23 11:11:54 +01:00
Michele Caini
a554d406e7 registry:
* public traits_type member type
* break dependency on component_traits
* use public storage traits_type member type
2022-11-23 11:06:51 +01:00
Michele Caini
5f12f872e6 test: minor changes 2022-11-23 11:04:56 +01:00
Michele Caini
be4eb68a30 helper:
* break dependency on component_traits
* use public storage traits_type member type
2022-11-23 08:58:45 +01:00
Michele Caini
df5284d9e5 view:
* break dependency on component_traits
* use public storage traits_type member type
2022-11-23 08:56:46 +01:00
Michele Caini
0e27d33e7e storage: public traits_type member type 2022-11-23 08:54:56 +01:00
Michele Caini
fe6e6ae738 sparse_set: public traits_type member type 2022-11-23 08:52:54 +01:00
Michele Caini
9d29713eaa entity: naming convention 2022-11-22 15:33:55 +01:00
Michele Caini
270d0277db group: cleanup 2022-11-22 15:33:20 +01:00
Michele Caini
0bd06c8d5d hashed_string: naming convention 2022-11-22 15:32:37 +01:00
Michele Caini
733f215ccf storage: break dependency between component_traits and storage_iterator 2022-11-22 14:53:20 +01:00
Michele Caini
ad01a69fe5 *: renaming/coding style 2022-11-22 14:45:26 +01:00
Michele Caini
dd9c1dade8 sparse_set: no need to differentiate template args for sparse_set_iterator 2022-11-22 14:44:59 +01:00