Commit graph

31 commits

Author SHA1 Message Date
acc03a75aa Add benchmarks 2025-02-20 14:35:22 +03:00
72f635400a 📦More tests for archetypes📦 2025-02-20 02:55:04 +03:00
cb05c2cf1d 📦Archetypes, entities, components introspection📦 2025-02-20 02:39:24 +03:00
27cf20fac3 Queries also provide entity_id 2025-02-20 00:17:11 +03:00
d1bafb4c46 Move system_scheduler to a separate file 2025-02-20 00:09:58 +03:00
3aaa4557c6 Use std::invocable<T&...> 2025-02-18 22:44:21 +03:00
006d9fc95e Custom concept for components 2025-02-18 22:27:54 +03:00
334b5d7bb8 std::vector for reusable ids should give more cache benefits 2025-02-17 22:50:53 +03:00
123aa2b7dc Change .clang-format 2025-02-16 21:18:39 +03:00
558a1f0299 Tiddify tests 2025-02-16 20:43:08 +03:00
74db6c8e60 Format 2025-02-16 20:41:05 +03:00
6efb8c070b Introduce system_scheduler 2025-02-16 20:39:41 +03:00
c082cc622f Make sure only 1 guy was triggered here 2025-02-15 22:45:52 +03:00
fc310e12ff typo 2025-02-15 22:37:23 +03:00
3b8234655d Bye-bye entity wrapper 2025-02-15 22:33:02 +03:00
12f2bf3474 Remove useless test (there are no limits for amount of entities) 2025-02-15 20:15:09 +03:00
70e1d0bad4 Add queries/systems support 2025-02-15 20:13:38 +03:00
586f7b224e std::set might work better for systems (?) 2025-02-15 18:24:18 +03:00
11ff925149 Farewell, my zecsy_bits 😭 2025-02-15 17:52:33 +03:00
8df572aadb Remove multiple components at once 2025-02-15 01:55:05 +03:00
6861e87c61 Set multiple components at once 2025-02-15 01:47:12 +03:00
672d27a6a3 Test multiple components at once 2025-02-15 01:13:51 +03:00
6737ffb2eb Addresses of removed components should be reused 2025-02-15 00:36:15 +03:00
84b132f853 Ability to remove components 2025-02-15 00:23:01 +03:00
a0f09710b0 Component retrieval 2025-02-14 23:56:01 +03:00
21c7e416ec Attach simple components to an entity 2025-02-14 23:42:01 +03:00
4e3ae245b8 World should throw on id overflow 2025-02-14 22:18:00 +03:00
c77948c441 Reserve entity #0 2025-02-14 21:47:16 +03:00
c9a4e27630 Destroy an entity and ensure it no longer exists 2025-02-14 21:41:36 +03:00
1962e97cf9 Make entity and verify its existence 2025-02-14 21:35:40 +03:00
f27b99f929 init 2025-02-14 21:01:46 +03:00