Commit graph

2216 commits

Author SHA1 Message Date
0fecd6375b Add util/string.hpp 2026-08-13 18:02:55 +03:00
68d8e4b18a Use RAII wrapper for method recursion depth in ecs::container 2026-08-13 16:50:53 +03:00
1f7d9e278f Allow non-const constructors, destructors, and finally callbacks in ecs::container
All checks were successful
Run tests / Run tests (push) Successful in 7m6s
2026-08-13 15:01:35 +03:00
091c467d2b Unified psemek_package_resources implementation across platforms (always behaves like glob_recurse)
All checks were successful
Run tests / Run tests (push) Successful in 6m53s
2026-07-26 20:44:26 +03:00
d5a513285b Fix packaging files on web
All checks were successful
Run tests / Run tests (push) Successful in 6m57s
2026-07-26 20:26:16 +03:00
c2196d7dc8 Add freetype support on web
All checks were successful
Run tests / Run tests (push) Successful in 6m53s
2026-07-25 19:28:29 +03:00
2be90728ed Fix file globbing in psemek_package_files on web 2026-07-25 19:28:19 +03:00
04cde80596 Add OpenGL support in freetype fonts
All checks were successful
Run tests / Run tests (push) Successful in 6m55s
2026-07-25 03:13:09 +03:00
68650da6f5 Support margins & offsets in monospace_font, and add a new default 5x7 font
All checks were successful
Run tests / Run tests (push) Successful in 7m26s
2026-07-24 15:52:04 +03:00
d4abc645f4 Don't apply sRGB default framebuffer option in web builds
All checks were successful
Run tests / Run tests (push) Successful in 7m6s
2026-07-24 02:34:00 +03:00
793f83f666 Flush each log message in web builds 2026-07-24 02:33:40 +03:00
c5b245eef8 Add sampler2DShadow to gles shader prefix 2026-07-24 02:33:26 +03:00
a38527a322 Remove useless line in stroking shader in gfx::painter2
All checks were successful
Run tests / Run tests (push) Successful in 7m2s
2026-07-21 20:37:22 +03:00
2f7774b83f SDF-based + arbitrary affine transformations vector graphics experiments (gfx::painter2)
All checks were successful
Run tests / Run tests (push) Successful in 7m1s
2026-07-21 18:08:56 +03:00
03e063213d Add math::shear
All checks were successful
Run tests / Run tests (push) Successful in 7m0s
2026-07-21 16:46:21 +03:00
1338aa05ed Introduce gfx::shader_source to simplify creating shaders from concatenated sources 2026-07-21 13:28:31 +03:00
11d96829b6 Support retrieving linear & affine matrix, translation vector, and affine transform from math::orthographic 2026-07-21 13:21:24 +03:00
0236fc97b7 Add srgb default framebuffer support in application options (implemented in sdl2 non-web only) 2026-07-21 13:20:10 +03:00
63f247c877 Update triangulation example: use input GeoJSON and support multipolygon
All checks were successful
Run tests / Run tests (push) Successful in 7m5s
2026-07-20 18:09:10 +03:00
e032f8d54b Disable automatic image decoding in web builds
All checks were successful
Run tests / Run tests (push) Successful in 6m59s
2026-07-20 15:24:51 +03:00
d785efc708 Fix canvas aspect ratio in web builds 2026-07-20 15:24:37 +03:00
0ecc33cc29 Log SDL2 window size at window creation 2026-07-20 15:24:15 +03:00
506a6c303e Add audio::mixer::max_length
All checks were successful
Run tests / Run tests (push) Successful in 6m43s
2026-07-19 19:39:54 +03:00
99b103b267 Fix audio::recorder::request 2026-07-19 19:39:45 +03:00
ae2efc94fb Add audio::duration::from_seconds
All checks were successful
Run tests / Run tests (push) Successful in 6m43s
2026-07-19 13:34:32 +03:00
20c3fca4b4 Add inline to audio::literals
All checks were successful
Run tests / Run tests (push) Successful in 6m50s
2026-07-19 03:35:33 +03:00
e1dfca7293 Add missing pragma once
All checks were successful
Run tests / Run tests (push) Successful in 6m49s
2026-07-19 03:28:09 +03:00
e94490cf95 Add butterworth low & high pass filters
All checks were successful
Run tests / Run tests (push) Successful in 6m58s
2026-07-19 02:16:29 +03:00
b39475d3ac Replace audio::feedforward/feedback filters with general linear filters 2026-07-19 01:48:39 +03:00
4de0499d29 Add audio envelope helper based on a sequence of linear or exponential segments
All checks were successful
Run tests / Run tests (push) Successful in 6m46s
2026-07-18 22:32:47 +03:00
748035c514 Add audio::literals to represent durations like 100_ms or 0.5_s 2026-07-18 22:32:25 +03:00
20fbb9c5ac Remove unused include 2026-07-18 22:32:04 +03:00
2d66f12707 Rename envelope -> envelope_base 2026-07-18 22:31:53 +03:00
c177911737 Add generic envelope filter and re-implement fade in/out using it 2026-07-18 19:03:56 +03:00
dbf5117dc6 Fix length computation in truncate filter 2026-07-18 19:03:29 +03:00
3713f620bb Update create-project script
All checks were successful
Run tests / Run tests (push) Successful in 6m42s
2026-07-17 17:08:39 +03:00
45fbc7399c Update to wgpu-native v29.0.1.1
All checks were successful
Run tests / Run tests (push) Successful in 7m47s
2026-07-10 17:40:56 +03:00
0d54fa7f03 Fix sdl2 CMakeLists.txt on non-apple platforms
All checks were successful
Run tests / Run tests (push) Successful in 7m37s
2026-07-09 20:59:48 +03:00
a0a1e18162 Split package_files and package_resources: the former simply adds to the zip archive, the latter uses platform-specific resources packaging (on web and android)
All checks were successful
Run tests / Run tests (push) Successful in 7m52s
2026-07-07 13:38:06 +03:00
8f56ae11b5 Update create-project script
Some checks failed
Run tests / Run tests (push) Has been cancelled
2026-07-07 13:19:03 +03:00
34c1a92f0b Add util::hash_table::count for compatibility
All checks were successful
Run tests / Run tests (push) Successful in 7m36s
2026-07-07 13:11:19 +03:00
664b1d613e Add io::expanding_memory_ostream that writes to std::vector<char>
All checks were successful
Run tests / Run tests (push) Successful in 7m34s
2026-07-06 22:41:38 +03:00
ae3b91e7b1 Set file stream buffers to pre-allocated 1MB chunk on web builds 2026-07-06 22:41:01 +03:00
32bbc93eea Open read-only files as r+b on web builds (apparently read-only files have perf issues) 2026-07-06 22:40:20 +03:00
6ea10520b5 Change resource & storage access logging 2026-07-06 22:39:04 +03:00
55d18aaa33 Add app::storage path and set it to WASMFS-mounted directory on web builds 2026-07-06 22:38:38 +03:00
8587ba6bc0 Update to emscripten 6 and pre-build sdl2 in web packaging image 2026-07-06 22:37:16 +03:00
f30da1a2ad Don't set pthread names in web builds 2026-07-06 22:34:36 +03:00
75471c6054 Don't link SDL2 on web (break when using multithreaded emsdk build) 2026-07-06 22:33:21 +03:00
1195bd26d5 Change resources path in web builds 2026-07-05 18:38:47 +03:00