|
|
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 |
|
|
|
a29cbf793e
|
Fix removing packed entities
|
2022-07-26 14:31:43 +03:00 |
|
|
|
f3d005b4f3
|
Support util::statistics_lite::push(value,count)
|
2022-06-26 16:14:51 +03:00 |
|
|
|
dc232b8fba
|
Support edge visit callbacks in util::pathfinder
|
2022-06-26 12:27:38 +03:00 |
|
|
|
8a7e95a6d1
|
Fix pathfinding in case start = end
|
2022-06-24 15:06:28 +03:00 |
|
|
|
c6f971a36f
|
Support removing entities while iterating in util::ecs
|
2022-06-23 17:28:34 +03:00 |
|
|
|
09ecce5e6d
|
Add A* pathfinding implementation in util
|
2022-06-22 00:42:15 +03:00 |
|
|
|
05608cc17c
|
Don't allow indexing util::array with wrong number of indices
|
2022-06-20 17:32:50 +03:00 |
|
|
|
70f3b68077
|
Implement util::ecs packed/sparse policy
|
2022-06-19 22:26:22 +03:00 |
|
|
|
598ad99e65
|
Fix util::array resizing - move elements instead of copying
|
2022-06-18 15:18:39 +03:00 |
|
|
|
6d0a8cec55
|
Add macro helper for generating structs
|
2022-06-13 01:01:13 +03:00 |
|
|
|
9edf94be0c
|
Clang compilation fixes
|
2022-06-11 13:58:54 +03:00 |
|
|
|
36123f0a7d
|
Move profiler to a separate library to break io <- util dependence
|
2022-06-09 11:23:53 +03:00 |
|
|
|
82a81c4c77
|
Add util::flat_list::begin/end
|
2022-06-09 11:12:47 +03:00 |
|
|
|
15f8e04308
|
Fix util::flat_list::data()
|
2022-06-09 11:12:37 +03:00 |
|
|
|
c8eaf4abe0
|
Add util::dynamic_ptr with stream output operator that shows dynamic type of referenced object
|
2022-05-25 22:54:14 +03:00 |
|
|
|
25356b84bd
|
Use exponential growth for util::atlas
|
2022-05-23 20:26:01 +03:00 |
|
|
|
1b075bf40c
|
Don't resize util::array if size didn't change
|
2022-05-23 20:25:44 +03:00 |
|
|
|
8414af776a
|
Add util::flag_set bitwise operators
|
2022-05-21 19:51:56 +03:00 |
|
|
|
ddd67b79f3
|
Support creating util::flag_set directly from representation type
|
2022-05-21 19:51:43 +03:00 |
|
|
|
5eab34a1dd
|
Add util::flag_set for enum-based bitsets
|
2022-05-19 21:33:16 +03:00 |
|
|
|
fcfd7138d1
|
Add lru cache implementation & tests
|
2022-05-17 18:22:31 +03:00 |
|
|
|
cbfd8f83de
|
Add util::key_error for use in key-value containers in place of std::out_of_range
|
2022-05-17 18:22:17 +03:00 |
|
|
|
14a2e00b39
|
Add helper callable objects that always return the same result
|
2022-05-17 18:21:45 +03:00 |
|
|
|
bb971ff412
|
Explicitly mark util::function as non-copiable with (function &) arguments
|
2022-05-17 18:15:45 +03:00 |
|
|
|
3de591394d
|
Don't use unevaluated scope for assert in release
|
2022-05-17 12:54:08 +03:00 |
|
|
|
a3eca3bef7
|
Support item padding in util::atlas
|
2022-05-14 00:01:26 +03:00 |
|
|
|
df963e18a3
|
Add util::type_name(x) (may use rrti)
|
2022-04-20 18:46:02 +03:00 |
|