Michele Caini
|
2f873f2dd2
|
-: storage_mixin.hpp -> mixin.hpp (non-storage mixins are also a thing)
|
2022-12-22 15:12:03 +01:00 |
|
Michele Caini
|
fde1a524ea
|
sparse_set: ::get -> ::value (to avoid hiding from derived classes)
|
2022-12-22 13:10:57 +01:00 |
|
Michele Caini
|
0558010479
|
doc: drop references to docsforge + minor changes
|
2022-12-22 11:40:03 +01:00 |
|
Michele Caini
|
79a054a524
|
sigh_mixin: scope base_type properly
|
2022-12-20 15:46:18 +01:00 |
|
Michele Caini
|
d94e443a14
|
doc: drop outdated section
|
2022-12-20 15:32:35 +01:00 |
|
Michele Caini
|
3862184e88
|
sigh_mixin: support self managed storage classes
|
2022-12-20 15:30:37 +01:00 |
|
Michele Caini
|
f40fa3c2f6
|
test:
* use range destroy
* avoid compiler optimizations
|
2022-12-19 16:28:50 +01:00 |
|
Michele Caini
|
01bc93459b
|
test (bench): the new entity storage enables the fast path in all cases
|
2022-12-19 15:30:30 +01:00 |
|
Michele Caini
|
151bd07391
|
sparse_set: revert optmized range push, it prevents self-managed storage classes
|
2022-12-19 08:24:08 +01:00 |
|
Michele Caini
|
935393aae0
|
sparse_set: better, faster range push
|
2022-12-16 18:45:51 +01:00 |
|
Michele Caini
|
fbfde43477
|
snapshot: avoid unused variable warnings
|
2022-12-16 15:21:56 +01:00 |
|
Michele Caini
|
2ffbe115b7
|
component_traits: revert entity customization support
|
2022-12-16 15:14:31 +01:00 |
|
Michele Caini
|
645973eb79
|
sparse_set: insert -> push
|
2022-12-15 18:11:19 +01:00 |
|
Michele Caini
|
1332307972
|
sparse_set: emplace -> push
|
2022-12-15 14:16:58 +01:00 |
|
Michele Caini
|
b700f5eb5d
|
doc: typo
|
2022-12-15 12:18:29 +01:00 |
|
Michele Caini
|
e60dbdc521
|
sparse_set/storage:
* rename swap_at in swap_or_move to capture the real purpose
* define swap_at as a protected function to allow swapping from above
|
2022-12-15 11:19:44 +01:00 |
|
Michele Caini
|
c66623b330
|
sigh_mixin: avoid hiding basic_iterator type meber
|
2022-12-14 12:06:06 +01:00 |
|
Michele Caini
|
62246d8796
|
storage: avoid hiding basic_iterator type meber
|
2022-12-14 10:49:32 +01:00 |
|
Michele Caini
|
b35f131309
|
sparse_set: support swap-only mixins
|
2022-12-13 17:36:58 +01:00 |
|
Michele Caini
|
3dd82633a3
|
-: drop storage_mixin.cpp, I forgot to do it a couple of commits ago :)
|
2022-12-13 15:41:07 +01:00 |
|
Michele Caini
|
00231bf8a7
|
storage: make swap_at non-final to support checks on derived classes
|
2022-12-13 15:40:25 +01:00 |
|
Michele Caini
|
58d392e813
|
-: minor changes
|
2022-12-13 15:36:49 +01:00 |
|
Michele Caini
|
1d4d99d090
|
mixin: sigh_storage_mixin -> sigh_mixin
|
2022-12-13 10:53:07 +01:00 |
|
Michele Caini
|
fe3edf2c83
|
-: minor changes
|
2022-12-13 10:50:17 +01:00 |
|
Michele Caini
|
0864ba0429
|
-: drop useless typename
|
2022-12-13 10:48:34 +01:00 |
|
Michele Caini
|
3a96980013
|
build: minor changes
|
2022-12-12 18:43:44 +01:00 |
|
Michele Caini
|
423f7a555d
|
is_equality_comparable: detect C-style arrays directly
|
2022-12-12 18:32:07 +01:00 |
|
Michele Caini
|
5db8ad53ac
|
build: update gh workflow
|
2022-12-12 18:19:51 +01:00 |
|
Michele Caini
|
c2ab357802
|
view: make also VS toolset v141 happy
|
2022-12-12 15:42:39 +01:00 |
|
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 |
|