Commit graph

1879 commits

Author SHA1 Message Date
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
fad1580379 Fix GCC false positive -Warray-bounds in geom::swizzle when using ubsan 2024-11-19 19:09:01 +03:00
ad752f0ea1 Separate ordered & unordered component hashes in ecs 2024-11-18 16:55:39 +03:00
3359aaa62d Simplify ecs::query_cache_container: store caches directly instead of storing nodes with uuid duplicates 2024-11-18 16:42:23 +03:00
daa2b9c49a Add bt_log macro for logging AI actions 2024-11-18 16:38:21 +03:00
6971b8545a Add util::null_ostream 2024-11-18 16:36:02 +03:00
5138e00c35 Move heavy gltf animation code to a cpp file 2024-11-14 21:45:08 +03:00
fbb032fe63 Support native limits in wgpu device creation 2024-11-14 13:48:40 +03:00
f986f0d4b1 Add defaults to wgpu::limits 2024-11-14 13:47:56 +03:00
e6ae945b92 Fix creating chained structs in wgpu 2024-11-14 13:47:13 +03:00
ce8547c8d3 Preprocess glTF rotation animations to force shortest-arc interpolation 2024-10-15 21:42:00 +03:00
b5d556d06f Fix cubic spline interpolation in glTF animations 2024-10-15 21:40:18 +03:00
8b5c35f89a Add audio::mixer::stream_count() 2024-09-18 12:12:23 +03:00
44672ac1fd Add bt_assert macro for non-crashing assertions in behavior trees 2024-09-13 23:28:10 +03:00
95492efea7 Add copy assignment to ecs::accessor 2024-09-13 23:27:48 +03:00
d66092b86d Add fixed-point arithmetic implementation 2024-09-05 23:16:18 +03:00
8617fac987 Fix usage of math functions in geom::vector to be ADL-friendly 2024-09-05 23:15:37 +03:00
655dd2778f Implement string entity description in ecs 2024-09-01 23:59:31 +03:00
fbf78f1dc4 Fix east const 2024-08-31 14:40:08 +03:00
d032f93eb3 Support retrieving entity count from ecs::container 2024-08-29 15:52:21 +03:00
2bd4e5790b Support embedded textures in glTF 2024-08-26 23:42:29 +03:00
954068ba3a Fix merging util::statistics 2024-08-22 19:53:53 +03:00
4e9a551452 Better touch events support 2024-08-22 18:36:37 +03:00
ffc77e5fa3 Fix resource stream impl for android 2024-08-21 19:18:44 +03:00
17a0aef630 Fix uninitialized value warning 2024-08-21 19:18:16 +03:00
02bd1dc2f1 Globally disable -Wdangling-reference for GCC-13+ 2024-08-21 19:17:59 +03:00
57aebfb42d Compile minimp3 as C++ 2024-08-21 19:17:33 +03:00
3dde4d6b55 Remove template dependance on float/double in util::statistics_log_bucket 2024-08-21 19:17:10 +03:00
5042fbbf7e Make freetype fully optional 2024-08-21 13:45:45 +03:00
c16194c95c Support drawing polygons in gfx::painter 2024-08-20 11:51:12 +03:00
a2c83633ae Support non-const width lines in gfx::painter 2024-08-18 01:12:17 +03:00
82f7d5d429 Rename util::begin/end -> xbegin/xend to prevent ambiguity via ADL 2024-08-17 20:19:07 +03:00
6368ca5e68 Support 2D scale in gfx::painter::text 2024-08-17 18:17:32 +03:00
c350c8f911 Fix random int generation 2024-08-16 18:13:59 +03:00
241f3afde3 Conditionally add freetype and wgpu libs to packaging files 2024-08-16 18:12:47 +03:00
3a24090607 Remove app -> ui dependency 2024-08-13 14:51:12 +03:00
dbd479d413 Farewell to reactive ui library 2024-08-12 23:16:34 +03:00
4fde43313c Reactive UI library wip: add floating, shape_reader and storage 2024-08-10 11:58:21 +03:00
ddddfb67ce Separate mouseover state vs mouseover event in ui::button 2024-08-09 15:17:11 +03:00
84905b6f05 Fix ui::button updating to new event sources 2024-08-09 13:33:28 +03:00
9ce8082e4d Add gfx::blend(color_rgba, color_rgba) 2024-08-08 17:40:27 +03:00
2fad7e0349 Fix reconcilliation with empty children 2024-08-08 16:47:01 +03:00
820a184fa7 Fix handling empty children in ui::box_layout 2024-08-08 13:29:42 +03:00
6089c02e90 Fix ui reconcilliation for empty children 2024-08-08 13:29:23 +03:00
5141643531 Fix freetype font build for windows 2024-08-08 00:27:39 +03:00
7e96709dc1 Turn wgpu::buffer::usage into a enum class 2024-08-07 22:28:23 +03:00
47ec94641b Support filter in vecr renderer 2024-08-07 18:48:29 +03:00
f69657c826 Support animating ui::move 2024-08-07 18:47:57 +03:00
611dc959da Require glyph drawing from ui::renderer & implement ui::label component 2024-08-07 15:45:19 +03:00
61626b9179 Introduce fonts v2 & add freetype font implementation 2024-08-07 15:42:48 +03:00