Commit graph

1801 commits

Author SHA1 Message Date
4e2aa5f577 Update stb_image.h 2025-01-30 12:39:13 +03:00
d4e3cc623a Replace deprecated std::atomic_load with std::atomic<shared_ptr> in audio::channel 2025-01-30 12:38:44 +03:00
cca966b33e Fix missing include 2025-01-30 12:38:10 +03:00
b01c594cba Add math::fmod that works for negative inputs 2025-01-30 12:37:48 +03:00
adcf761243 Support dynamic size in math::vector 2025-01-26 19:03:33 +03:00
6fc476f1f0 Support building without Boost.Stacktrace 2025-01-26 14:45:43 +03:00
4890761b0a More generous iteration count for 3-layer XOR nn test 2025-01-25 21:14:53 +03:00
5587c43611 ECS library 32-bit fixes 2025-01-25 21:14:32 +03:00
2c3565df61 32-bit compilation fixes:
* Use uint64_t instead of size_t as hash return value

 * Expect alignof(uint64_t) <= 8 instead of == 8
2025-01-25 20:35:37 +03:00
3940766f7d Compilation fixes related to ui_legacy lib 2025-01-21 14:10:35 +03:00
b967af7ddd Add back default fonts 2025-01-21 14:10:35 +03:00
a49be3b253 Fix util::hash_map with std::pair as keys 2025-01-21 14:10:30 +03:00
8a21e53ee1 Rename old ui library to ui_legacy 2025-01-21 12:14:38 +03:00
20f3bef6bd Add random::poisson distribution 2025-01-12 20:05:47 +03:00
073ac16223 Add a basic k-d tree implementation 2025-01-09 18:22:28 +03:00
c59b28e13f Rename 'geom' library to 'math' 2024-12-10 20:22:59 +03:00
89cbbaeeef Fix bt::conditional node: proper assert handling & child nodes starting 2024-12-07 20:05:16 +03:00
6d4abb7c03 Add bt::conditional node 2024-12-05 23:04:50 +03:00
e7482bb165 Fix max_anisotropy naming in wgpu 2024-12-03 22:29:06 +03:00
bfa0491f39 Support retrieving ECS table statistics 2024-11-29 01:15:35 +03:00
95b6651fc3 Support pushing > 1 measurement at a time in profiler 2024-11-29 00:44:45 +03:00
9b3f2df2a0 Rely on float->int conversion instead of std::floor in audio resampler hot loop 2024-11-29 00:07:02 +03:00
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