Repository navigation
Docs: victory-formats already decodes BCPack and XMA2 - #295
Closed
SkippySteve wants to merge 1 commit into
Closed
SkippySteve wants to merge 1 commit into
SkippySteve wants to merge 1 commit into
Conversation
The crate docs and the architecture table still listed BCPack (and XMA2) as planned, though both modules exist and HLE uses them. Say where Opus and zlib are decoded instead (victory-hle, via opus-pure and miniz_oxide).
Author
|
duplicate of #296 — closing in favour of the clearer rustdoc wording |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
victory-formatscrate docs and the crate table indocs/architecture.mdstill describe BCPack (and, in the crate docs, XMA2) as planned. Both are implemented:bcpackis used byvictory-hle::modules::dstorage,xmabyvictory-hle::modules::audio.Change (docs only)
crates/victory-formats/src/lib.rs: list the three modules that exist (texture,bcpack,xma) with intra-doc links. Opus and zlib are not in this crate, so say where they are decoded:victory-hle(apu,dstorage), usingopus-pureandminiz_oxide.docs/architecture.md: thevictory-formatsrow now reads "texture layouts, BCPack decoding, XMA2 audio decoding" instead of "planned: BCPack".Tested on Linux:
cargo test -p victory-formats(20 passed, 3 ignored),cargo clippy -p victory-formats --all-targets -- -D warnings,cargo xtask policy.cargo doc --no-deps -p victory-formatsadds no warnings; the one it prints (a private link intexture.rs) was there before and is fixed separately in #272.