Commit graph

1898 commits

Author SHA1 Message Date
05b7f2d560 Add cholesky decomposition implementation & tests 2023-12-28 17:53:42 +03:00
2364c15120 Add QR eigenvalue algorithm and tests (non-symmetric tests need some more checking) 2023-12-28 17:16:12 +03:00
5eef1e13f5 Support pretty-printing matrices 2023-12-28 17:15:15 +03:00
5e61832a9b Add QR decomposition implementation & tests 2023-12-28 13:25:17 +03:00
94ea4cf932 Add noise-generator tool 2023-12-23 15:24:08 +03:00
a85e72a5b6 ECS destructors wip 2023-12-18 12:45:42 +03:00
028b4e1296 ECS constructors wip 2023-12-18 12:38:58 +03:00
0b1522722c Move ecs/entity_container.cpp -> ecs/container.cpp 2023-12-17 19:59:24 +03:00
bda4a156e7 Support registering components in ecs::container 2023-12-17 15:44:38 +03:00
3b5e649a31 Support cloning entities in ecs::container 2023-12-17 15:30:12 +03:00
9f86a8d71a Add some ecs todo's 2023-12-17 14:47:08 +03:00
5cb6421258 Clean up includes in libs/ecs 2023-12-17 12:53:28 +03:00
b3df337b8f Add ecs::system_set 2023-12-17 12:47:21 +03:00
340a5f4254 Support ecs::without 2023-12-16 23:01:06 +03:00
08b14ded93 Add static_assert to notify when a function is not invocable in ecs::container::apply & batch_apply 2023-12-16 21:55:59 +03:00
eb87f1ea20 Support const-qualified components in ecs::container::apply and add const-related docs 2023-12-16 21:51:45 +03:00
2a97a467aa Return query cache from ecs::container::apply and batch_apply 2023-12-16 21:33:13 +03:00
6a13a06187 Support const ecs::accessor and const-qualified component types in ecs::accessor::get 2023-12-16 20:06:40 +03:00
6833531edb More ecs::accessor docs 2023-12-16 19:58:17 +03:00
e1150a98fc Tidy up ecs library docs 2023-12-16 19:54:42 +03:00
c7cad03f0a Rename ecs::registration_token -> ecs::token 2023-12-16 18:53:50 +03:00
76e43590e9 Update ecs::container comments 2023-12-16 16:42:49 +03:00
fa87ab4425 Rename ecs::entity_container -> ecs::container 2023-12-16 16:35:04 +03:00
1a133f2d3e Rename ecs::entity_accessor -> ecs::accessor 2023-12-16 16:32:46 +03:00
95b26d890e Rename ecs::entity_handle -> ecs::handle 2023-12-16 16:29:54 +03:00
d48bbc91a6 Rename psemek_declare_uuid -> psemek_ecs_declare_uuid 2023-12-16 16:18:50 +03:00
bcae6dde4e Revert "Make util::assertion_handler return void"
This reverts commit ac0f45d9f0.
2023-12-04 18:33:00 +03:00
0b1bd8cf2f Remove libmpg & libpng from packaging 2023-12-04 18:15:02 +03:00
de9c695a7a Windows compilation fix 2023-12-04 18:14:46 +03:00
30ae586b98 Remove dependency on libpng 2023-12-04 18:01:37 +03:00
1b949c0b7f Remove old NetPBM & PNG code in favour of new stb_* implementations 2023-12-04 18:00:08 +03:00
1c54dd85a5 Support saving images via stb_image_write 2023-12-04 17:43:04 +03:00
6ff3351ab8 Compile stb_image as C++ and use proper assertion handler 2023-12-04 11:38:14 +03:00
ac0f45d9f0 Make util::assertion_handler return void 2023-12-04 11:37:44 +03:00
dca01b7cc4 Support reading arbitrary image formats via stb_image 2023-12-03 20:32:13 +03:00
a8fc4ea741 Add io::istream::finished() method 2023-12-03 20:31:48 +03:00
8038da6987 More window state logging in SDL2 backend 2023-12-03 18:28:54 +03:00
a8c89f84bd Support enabling windowed mode 2023-12-03 18:12:03 +03:00
323b264b41 Compilation fix 2023-11-03 12:59:37 +03:00
8d120dd407 Fix audio resampling in mp3 loading & in pitch effect: make the stream stop instead of infinitely looping the last resampled patch 2023-11-03 12:58:02 +03:00
e31132face Warn when the audio callback takes more than it should 2023-11-03 12:02:08 +03:00
352d03ed3f Support retrieving elapsed duration from a scoped profiler 2023-11-03 12:01:12 +03:00
de1a454079 Don't request alpha channel when loading monochrome PNG 2023-11-03 11:34:18 +03:00
f9dda53c61 Better idiv & imod implementation 2023-11-02 20:15:45 +03:00
1584301a21 Use std::ranges for cg::area 2023-11-02 20:15:08 +03:00
340a04d17c Fix loading paletted PNG without alpha channel 2023-11-02 13:03:22 +03:00
721c88fbee Change the way discrete GPU forcing works 2023-10-25 16:50:08 +03:00
eddda6d787 Log window resize events in sdl2 backend 2023-10-24 15:21:13 +03:00
f1c0959fba Improve audio duration api 2023-10-11 19:02:57 +03:00
5fa8e4a3a3 Mingw compilation fixes 2023-10-08 15:58:51 +03:00