Commit graph

787 commits

Author SHA1 Message Date
73bf540967 Fix dt in behavior_tree::updater 2021-10-17 11:44:35 +03:00
6e4db713d3 More behavior tree generic nodes 2021-10-17 00:49:11 +03:00
b8d03d41a4 Add basic behavior_tree implementation 2021-10-16 13:26:37 +03:00
d3b2790f97 Task management ui style fix 2021-10-15 22:34:51 +03:00
71a6d1bbe2 Task management lib (wip) 2021-10-15 22:32:44 +03:00
3b70089b1f Fix button mouseover handling 2021-10-15 22:31:56 +03:00
b4f116cada Implement scroller ui container 2021-10-15 21:38:23 +03:00
b298859f1e Support stencils in ui::painter 2021-10-15 21:37:48 +03:00
015307cbec Support ui::element::post_draw invoked after children draw 2021-10-15 21:37:13 +03:00
d1dc84bdde Require 8-bit stencil buffer in app 2021-10-15 21:36:32 +03:00
513105d3ee Move make_arrow_button to element_factory interface 2021-10-14 21:49:54 +03:00
3ec4d1ed90 Move ui::painter_impl internals to anonymous namespace 2021-10-14 21:48:03 +03:00
3a5e29835f Implement bevels in default_element_factory frame 2021-10-13 23:16:25 +03:00
89db5ec3ea Add bevel style properties 2021-10-13 23:16:03 +03:00
7499785c72 Support non-propagating styles in ui elements 2021-10-13 22:52:45 +03:00
5ddf8795d5 Add grid layout child adding helpers 2021-10-13 22:51:44 +03:00
a0e81aaf32 Make util::span constructible from any container with data() and size() methods 2021-08-22 13:11:10 +03:00
8985436906 Add random::uniform(rng) that returns [0, 1] 2021-08-19 20:41:36 +03:00
44db0e8fee Add quaternion exponential 2021-08-17 12:45:52 +03:00
451b4c1e66 Add geom::sin_over_x 2021-08-17 12:45:41 +03:00
32529137eb Default-construct components for created entities in util::ecs 2021-08-17 11:42:26 +03:00
c55bea1228 Add species name to ecs behavior context 2021-08-14 10:23:56 +03:00
b724b8d68a Add inverse(bone_transform) 2021-08-12 21:51:11 +03:00
4dcd85021e Add bone_transform * vector and * point 2021-08-12 21:04:36 +03:00
df59cffd43 Fix util::ecs::get(species) 2021-08-12 20:45:41 +03:00
f15dd26bb9 Snap text vertices to pixels in ui painter 2021-08-06 16:09:29 +03:00
ef9e820e90 Fix ui style scaling 2021-08-06 16:09:08 +03:00
12ad3c1c43 Add quaternion stream output operator 2021-08-06 10:40:22 +03:00
69c0ce8c59 Make imported mesh attributes' indices fixed 2021-08-05 16:29:47 +03:00
66f733d937 Fix util::ecs::get_if 2021-07-25 13:00:26 +03:00
4e16f5d9bf Add ray-sphere intersection 2021-07-24 12:00:54 +03:00
47e3970deb Add geom::sphere primitive 2021-07-24 12:00:46 +03:00
3e0060d9cb Add geom::normalized(ray) 2021-07-24 12:00:35 +03:00
02b29af95a Introduce util::ecs::behavior::context 2021-07-24 11:14:43 +03:00
bc7378456b Add gfx::mesh::create(imported_mesh) 2021-07-24 10:13:57 +03:00
4f53537d27 Support non-default-constructible per-species component types in util::ecs 2021-07-23 23:28:44 +03:00
a944f8c4f4 Add geom::rotate_towards 2021-07-23 23:28:16 +03:00
a95182dc60 Add random::uniform(box) 2021-07-23 11:41:21 +03:00
74a513c76b Fix geom::box::volume 2021-07-23 11:41:13 +03:00
153e0f4230 Support retrieving species name in util::ecs 2021-07-23 10:14:11 +03:00
824a15c921 Add random::uniform_angle 2021-07-23 10:13:52 +03:00
57fb1e8f1f Add non-throwing util::ecs::get_if 2021-07-22 10:51:32 +03:00
1bdef9134d Add util::ecs::species_count 2021-07-22 10:51:18 +03:00
f55fd29b58 Support entity removal & explicit traversal in util::ecs 2021-07-22 10:51:03 +03:00
37d1c3c3fd Add util::flat_list::data 2021-07-22 10:49:06 +03:00
1b6bc9a449 Add name parameter to framebuffer::assert_complete for better error reporting 2021-07-21 23:46:30 +03:00
4eef4046cb Add missing includes in geom/quaternion.hpp 2021-07-21 22:47:47 +03:00
4d7f7fa927 Rename ecs::behavior::{components -> component_types} 2021-07-21 22:47:32 +03:00
640bbf47c7 Add prototype ecs implementation with tests 2021-07-21 22:08:38 +03:00
fca22c93e2 Add util::type_name 2021-07-21 22:08:13 +03:00