Commit graph

312 commits

Author SHA1 Message Date
6f6a263553 Add util::cyclic_iterator 2023-05-06 12:55:06 +03:00
546db9fb98 Add util::type_name(std::type_index) 2023-04-19 19:01:06 +03:00
9f0179a86a Fix typo in util::signal::subscription_token 2023-04-18 15:29:49 +03:00
df5e188236 Improve util::dfs::cycle_iterator 2023-04-15 13:16:09 +03:00
c26f626baf GCC 12 compilation fixes 2023-03-26 23:51:40 +03:00
c639e533fe Add some util::range helper methods 2023-03-08 22:24:38 +03:00
d27d4cca17 Add util::make_span(initializer_list) 2023-03-06 08:58:33 +03:00
11af452b16 Make util enum values_range constexpr 2023-02-25 12:42:36 +03:00
15b08aeb47 Add a simple signal implementation to util 2023-02-24 15:01:42 +03:00
aa61c63609 Turn util::to_string into a callable object 2023-02-24 15:01:27 +03:00
4cb86d9314 Return finished animations from util::animation_manager 2023-02-14 13:50:32 +03:00
b7252f8746 Add a simple animation manager to util 2023-02-13 18:03:56 +03:00
40c62d621a Add util::dfs 2023-02-09 15:23:05 +03:00
fdcf0d5b88 MacOS fixes 2023-01-16 23:53:34 +03:00
e83df0d965 Fix util::make_pathfinder 2023-01-15 22:41:29 +03:00
7376109e96 util::span interface improvements 2023-01-10 03:35:21 +03:00
148efb02cc Fix ecs tests 2023-01-09 20:49:56 +03:00
098c3e84b1 Add common directories to file dialog 2023-01-05 19:30:00 +03:00
9c70c8e19e Add util::range deduction guides 2023-01-02 23:07:20 +03:00
7d55b374e4 Add util::open_url 2022-12-18 18:14:43 +03:00
aa8f2faf75 Use util::hstring in util::resource_container 2022-11-30 18:20:59 +03:00
ab99236adc Use util::hstring in util::ecs 2022-11-30 18:16:55 +03:00
9146c19ccd Add util::hstring - both owning & not owning string - for use to emulate heterogeneous containers 2022-11-30 18:16:47 +03:00
2d59777d60 Support searching ecs species by name 2022-11-09 23:06:25 +03:00
b00a74f431 Fix initializing ecs species components 2022-11-09 17:46:10 +03:00
07804bdeda Support ecs species behaviors 2022-10-29 14:46:06 +03:00
9489c1caef Pass ecs & species handle to behavior context 2022-10-29 10:26:16 +03:00
ca85b7ee18 Support creating entities with prescribes values of some components 2022-10-28 23:44:00 +03:00
20401bee45 Implement ecs constructors & destructors 2022-10-28 23:36:04 +03:00
55c3266343 Add util::resource_container - a simple name+id-based container 2022-10-28 19:04:08 +03:00
9b18e664e8 Replace ecs sparse component with default-constructed ones upon entity destruction 2022-10-28 16:05:58 +03:00
61885dde25 Add util::ecs::species() for iterating over all species 2022-10-27 20:59:34 +03:00
24917370ea Add util::hash_sequence 2022-10-27 17:51:05 +03:00
051e812358 Change default util::clock duration & clock type 2022-10-05 22:55:30 +03:00
d95807e320 Add util::to_shared 2022-10-05 22:53:52 +03:00
9e0690faf4 Fix ecs tests 2022-09-09 12:41:55 +03:00
1aa5156002 Make ecs::entity_species a static member 2022-08-19 09:50:10 +03:00
876cbd7362 Support ecs behavior::begin called when starting iteration over a species 2022-08-19 09:49:41 +03:00
34ee3f0a6e Support ecs behavior forbidden components that prevent applying it to a certain species 2022-08-19 09:49:14 +03:00
4fae4bbbe4 Add event-based behavior & processor registration in ECS 2022-08-16 14:36:35 +03:00
2482a8c224 Support adding arbitrary arguments to ECS behavior call 2022-08-16 10:14:21 +03:00
f22b45c5e8 ECS handles refactor: handle includes species & version 2022-08-15 19:40:50 +03:00
8a7c9ea263 Add util::object_pool 2022-08-10 11:45:48 +03:00
f39cc15bd8 Add util::spatial_array::size,min,max 2022-08-10 11:45:40 +03:00
b3304e7785 Fix uninitialized values in util::spatial_array 2022-08-08 11:19:38 +03:00
e0a185d349 Fix util::spatial_array::end 2022-08-07 11:20:04 +03:00
5afd76e214 Add util::spatial_array::begin/end 2022-08-05 16:12:22 +03:00
8f6bd5b5fc Add util::spatial_array asserts in case of wrong number of indices 2022-08-05 16:12:13 +03:00
2421dee3b7 Default-initialize elements in util::spatial_array 2022-08-05 16:11:45 +03:00
649c051b61 Add auto-expanding in all directions util::spatial_array 2022-08-05 15:54:58 +03:00