Commit graph

23 commits

Author SHA1 Message Date
e5811b61a0 Fix triggering constructor & destructor callbacks when attaching/detaching ecs components 2025-03-06 18:20:40 +03:00
cd31187d3f Add missing include 2025-02-02 21:28:59 +03:00
bfa0491f39 Support retrieving ECS table statistics 2024-11-29 01:15:35 +03:00
80b4cc938d Fix constructors & destructors order
Order of callbacks was affected by the order of caches, which are pretty
much arbitrary. For a fix, explicitly order the callbacks globally
per-world.
2024-11-28 18:55:17 +03:00
ad752f0ea1 Separate ordered & unordered component hashes in ecs 2024-11-18 16:55:39 +03:00
655dd2778f Implement string entity description in ecs 2024-09-01 23:59:31 +03:00
bd1393c505 Improve working with ecs caches, support retrieving ecs cache & table count, and fix ecs query container memory leak 2024-06-03 13:59:50 +03:00
68d4adcad2 Support reporting ECS memory usage 2024-06-03 11:35:37 +03:00
443fa3d8ca ECS object lifetime issues fixes 2024-05-24 21:42:17 +03:00
b9b18b800d Properly call constructors & destructors when attaching/detaching ECS components 2024-05-23 13:28:48 +03:00
080893ee96 Fix copying entities 2024-01-06 22:21:07 +03:00
a85e72a5b6 ECS destructors wip 2023-12-18 12:45:42 +03:00
028b4e1296 ECS constructors wip 2023-12-18 12:38:58 +03:00
3b5e649a31 Support cloning entities in ecs::container 2023-12-17 15:30:12 +03:00
340a5f4254 Support ecs::without 2023-12-16 23:01:06 +03:00
95b26d890e Rename ecs::entity_handle -> ecs::handle 2023-12-16 16:29:54 +03:00
8b1157c641 Implement ecs::entity_container::attach/detach 2023-08-26 18:24:10 +03:00
59c803d31c ECS library wip: rewrite tables using explicit columns 2023-08-26 12:33:14 +03:00
31ffd4dc54 Remove component bitsets from ecs; use uuid hash tables instead 2023-08-24 17:33:19 +03:00
dbeee752b7 Speed up searching for ecs table columns using a hash_map<uuid, column_id> 2023-08-24 16:26:29 +03:00
c1991cbb57 ECS library wip: support explicit query cache 2023-08-22 21:18:53 +03:00
e0e0df8128 ECS library wip & tests 2023-08-22 20:30:04 +03:00
63008d62ff ECS library wip 2023-08-22 14:53:03 +03:00