Commit graph

1877 commits

Author SHA1 Message Date
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
f743201565 Remove useless copy when creating mp3 track from blob 2023-10-08 13:51:29 +03:00
03ae98d8a9 Audio::loop fixes 2023-10-06 18:57:34 +03:00
52b18c07a4 Fix echo effect 2023-10-05 17:12:20 +03:00
51a5bcd3bc Add all-pass echo filter 2023-10-04 14:34:25 +03:00
9e0babfd2c Add echo effect 2023-10-04 14:34:17 +03:00
76c91e50c1 New gcc compilation fixes 2023-10-03 21:32:13 +03:00
9a800b8f7a Implement first-order feedback audio filter 2023-10-03 14:32:31 +03:00
9cbb9127b9 Implement true audio::white_noise 2023-10-03 14:32:17 +03:00
831dd7b688 Don't use std::isspace in kerned font implementation 2023-10-02 23:26:04 +03:00
8be3544295 Fix creating audio track from util::blob 2023-10-02 17:25:51 +03:00
424ed06ecb Fix audio::concat 2023-10-02 17:25:35 +03:00
8c8ede7587 Add util::split(string, delim) 2023-10-01 01:19:31 +03:00
8a437086d6 Package with debug information 2023-09-29 17:25:48 +03:00
27a9c9ee7b Support access bits in gfx::buffer::map 2023-09-17 20:19:36 +03:00
6e366cea16 UI component factory base exception bugfix 2023-09-10 13:44:52 +03:00
85a6ade2cb More ECS API todo's 2023-08-26 22:53:00 +03:00
e16ebb8822 Add some ECS API todo's 2023-08-26 22:12:25 +03:00
85c0c56e03 Add static asserts in ecs::entity_component::apply/batch_apply to check that all component types are different 2023-08-26 22:11:55 +03:00
f46b3bdc40 Minor ecs::entity_container documentation fixes 2023-08-26 22:00:56 +03:00
7183a441e5 Fix ecs::entity_container::batch_apply for empty component types 2023-08-26 22:00:41 +03:00
bc63d98d51 Move ecs::entity_accessor to a separate header 2023-08-26 21:53:02 +03:00