MCPcopy Create free account
hub / github.com/EasyRPG/Player / OpenSound

Method OpenSound

src/filefinder.cpp:511–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509}
510
511Filesystem_Stream::InputStream FileFinder::OpenSound(std::string_view name) {
512 DirectoryTree::Args args = { MakePath("Sound", name), SOUND_TYPES, 1, false };
513 return open_generic("Sound", name, args);
514}
515
516Filesystem_Stream::InputStream FileFinder::OpenFont(std::string_view name) {
517 DirectoryTree::Args args = { MakePath("Font", name), FONTS_TYPES, 1, false };

Callers

nothing calls this directly

Calls 1

open_genericFunction · 0.85

Tested by

no test coverage detected