Commit Graph

10 Commits

Author SHA1 Message Date
Michele Caini
1d4d99d090 mixin: sigh_storage_mixin -> sigh_mixin 2022-12-13 10:53:07 +01:00
Michele Caini
7428cb353c storage: add default entity type to storage_type 2022-05-25 10:32:40 +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
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
b59e06ec89 storage_traits: storage_type -> type 2022-05-13 14:11:23 +02:00
Michele Caini
e376a53b09 entity:
* custom move ctor/op for the registry class
* no registry argument from storage emplace, remove, ...
* added sparse set context to forward variables to mixins
* removed sparse set user data
2021-11-30 09:43:47 +01: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
bb1acee36a entity:
* sparse_set: added optional user data to ::remove and ::clear
* sparse_set: remove the payload, it was really meh
* storage: review sigh_storage_mixin, simplified storage_adapter_mixin
* registry: pass itself twhen adding/patchin/removing components

test: updated tests for sparse set and poly storage
examples: added a test to avoid regressions on storage_adapter_mixin
2021-02-22 14:32:29 +01:00