Commit Graph
164 Commits
Author SHA1 Message Date
Dmitry Stepanov efe97b8229 handle non-exhaustive enums in Visit proc-macro correctly 2026-08-11 11:48:55 +03:00
Dmitry Stepanov 3451e0c1e1 use latest hrtf 2026-08-06 09:46:42 +03:00
Dmitry Stepanov 5112072d1e bump msrv + clippy fixes 2026-07-04 20:54:03 +03:00
Dmitry Stepanov a86184e856 cargo fmt 2026-06-11 12:08:02 +03:00
Dmitry Stepanov d35476c864 more PartialEq impls 2026-06-07 23:58:55 +03:00
Dmitry Stepanov 7f33a13ff9 merged TypeUuidProvider trait into Reflect 2026-05-28 21:50:17 +03:00
Dmitry Stepanov 0a6b7a9bf1 fixed doc test 2026-05-14 22:06:23 +03:00
Dmitry Stepanov 0ded1c379a added output feature for fyrox-sound
- when disabled, completely disables audio output to the default audio device
- can be useful to exclude audio output for game servers
- #904
2026-04-14 22:29:11 +03:00
Dmitry Stepanov 0ab4c6abcd pass sample rate explicitly to SoundEngine constructors
- fixed tests
2026-04-09 23:56:14 +03:00
Dmitry Stepanov a4df8a1301 configurable sample rate for fyrox-sound 2026-04-08 22:59:04 +03:00
Dmitry Stepanov 4a0602ab25 bump version for the future release
- helps to catch bug reports from the "nightly" version of the engine
2026-03-30 20:50:58 +03:00
Dmitry Stepanov 9e9e2d7032 1.0.1 + changelog 2026-03-28 09:39:38 +03:00
Dmitry Stepanov 496414ee33 bump version 2026-02-12 19:08:48 +03:00
Dmitry Stepanov 4de934e11f 1.0.0-rc.2 2026-02-05 22:04:37 +03:00
Dmitry Stepanov 7704decbd5 use tinyaudio version 2 2026-01-30 22:33:05 +03:00
Dmitry Stepanov 1e79298d60 error handling for graph + fixes for the engine
- editor fixes on their way
2025-12-23 20:11:46 +03:00
Dmitry Stepanov ddd7a17fc8 [BREAKING] drop backward compatibility for assets
- use this tool from 1.0.0-rc.1  https://fyrox.rs/blog/post/fyrox-game-engine-1-0-0-rc-1/#migration to migrate the assets
2025-11-02 19:48:19 +03:00
Dmitry Stepanov 9148813d6a cargo fmt 2025-11-01 17:46:18 +03:00
Dmitry Stepanov 7b79b19a39 fixed clippy warnings 2025-11-01 17:23:37 +03:00
Dmitry Stepanov ef39d2aada updated msrv 2025-10-22 20:27:20 +03:00
b-guild 75b873d72b Making resource handles UUID-based instead of path-based. 2025-10-13 18:55:27 -07:00
b-guild 7311ddbe21 Improving error reporting. (#853) 2025-10-08 19:37:33 +03:00
b-guild 89e7cdbe28 Preventing deadlock by replacing lock with safe_lock (#852)
* Preventing deadlock by replacing `lock` with `safe_lock`

* Fixing unused code warnings in wasm SafeLock
2025-10-05 10:34:06 +03:00
Dmitry Stepanov 25652975e0 use doc comment for property description 2025-08-16 12:11:32 +03:00
Dmitry Stepanov f97851f11d updated deps 2025-08-10 10:24:13 +03:00
Dmitry Stepanov 738a7168c0 removed useless warnings + removed dead code + updated deps 2025-08-08 23:21:29 +03:00
Dmitry Stepanov 0e3bd07c38 1.0.0-rc.1 2025-05-29 18:58:18 +03:00
Dmitry Stepanov ef4e4b46ca Reflect::try_clone_box
- `#[reflect(non_cloneable)]` for types that cannot be cloned
2025-05-16 23:26:34 +03:00
Dmitry Stepanov 5a5b48b0d2 split visitor module into multiple modules 2025-04-09 19:53:38 +03:00
Dmitry Stepanov 10a4dc048b use trait upcasting and remove as_any for ResourceData
- bumped msrv to 1.86
2025-04-06 18:56:17 +03:00
Dmitry Stepanov 202ed9a7b3 ability to create metadata files + fixed all tests 2025-04-05 11:17:15 +03:00
Dmitry Stepanov 397d524228 refactor resource manager to use hash map for resources
- fixed tests in `fyrox-resource` (removed useless ones)
2025-03-30 22:58:15 +03:00
Dmitry Stepanov 9a95b7be52 refactored resource system to use uuids instead of path where possible
- editor is still broken
- mostly wip
2025-03-30 13:28:48 +03:00
Dmitry Stepanov 61ef74b5d8 ResourceIo::write_file + rename FileLoadError->FileError 2025-03-26 20:36:38 +03:00
Dmitry Stepanov d2c2bf167d merged DerivedEntityListProvider trait into Reflect trait
- it was a part of reflection system anyways
2025-03-09 19:43:48 +03:00
Dmitry Stepanov 54f369d477 experimental functionality to link handle types together 2025-03-01 12:02:58 +03:00
Dmitry Stepanov cc17cbdc3d 0.36.2 + yanked 0.36.1 2025-02-27 10:52:15 +03:00
Dmitry Stepanov 154f815b10 bumped versions 2025-02-27 10:37:34 +03:00
septante 81133c38f8 refactor: use symphonia for audio handling to support additional file formats (#733)
* refactor(symphonia): replace error types

* refactor(symphonia): rewrite method bodies and signatures

Doesn't compile because source is used twice in new()

* refactor(symphonia): inline helper functions for OggDecoder::new

Fixes issues with passing the DataSource around, but now it can't be
returned as the error

* refactor(symphonia): replace format-specific decoder implementations

* style: clippy lints

* refactor(symphonia): impl Debug for Decoder

* style: fix naming

no longer a VorbisError, so "ve" doesn't make sense anymore

* refactor(symphonia): replace old decoder error variants

* refactor(symphonia): replace DataSource in error variants

* refactor(symphonia): clean up unwraps and error logging

* refactor(symphonia): extract samples method

* style: fix clippy lint about unnecessary to_owned call

* refactor(symphonia): clean up rewind impl to use the returned symphonia error

* fix: fill audio buffer

AudioBufferRef::make_equivalent() does not copy the data, so we have to
call convert() afterwards. This will also likely need to be changed when
upgrading symphonia. See
https://github.com/pdeljanov/Symphonia/issues/198.

* refactor(sound): change time_seek to return a result, and use it to implement rewind

* refactor: replace BufferError with SoundBufferResourceLoadError variants

* doc: fix broken method link

* feat: add missing symphonia codecs for mp3, etc.

* fix(sound): interleave audio with multiple channels

* feat: use file extension as hint for symphonia probe

* style: rename variables for clarity

* fix: fix MediaSource impl for DataSource

* style: condense imports

* fix: fix MediaSource impl for DataSource::Memory

* refactor: add byte_len function to FileReader trait
2025-02-20 22:19:56 +03:00
Dmitry Stepanov 1993a758d1 removed lots of redundant as_any + as_any_mut impls
- replaced them with `Downcast` trait
2025-01-12 23:00:18 +03:00
Dmitry Stepanov daa02c76fe set all engine crates to version 0.36 2024-12-26 22:34:42 +03:00
Dmitry Stepanov f734c2a4b7 disable log file by default + explicit api to change log file
- log file could be undesirable in some cases and now it is off by default and can be enabled by `Log::set_file_name/set_file` in `fn main`
- bumped MSRV to 1.80 and to use LazyLock
2024-12-23 14:36:57 +03:00
Dmitry Stepanov 0b3db8e38f use latest tinyaudio 2024-11-21 14:14:28 +03:00
Dmitry Stepanov 262dfa1d09 exclude samples buffer from a list of animatable properties 2024-11-13 00:46:32 +03:00
Dmitry Stepanov d7a7e5f14c fixed convergence in reverb 2024-10-23 18:38:16 +03:00
Dmitry Stepanov 54d1c9a8cc docs fixes 2024-10-23 17:28:07 +03:00
Hamir Mahal 8e3445c742 style: simplify string formatting for readability (#686)
* style: simplify string formatting for readability

* fix: formatting in 15 files
2024-10-13 23:48:48 +03:00
Dmitry Stepanov e64e86a971 update to tinyaudio 0.2 2024-09-12 16:35:23 +03:00
Dmitry Stepanov bc7434c089 license update 2024-08-11 11:45:33 +03:00
Dmitry Stepanov 5cf61ca018 fixes for fyrox-template + bump versions again 2024-05-23 20:08:04 +03:00