Definition assetimport.h:11
std::vector< std::string > AvailableCartridgeRegions(std::span< const std::filesystem::path > dataRoots)
std::string CartridgeRegion(const std::filesystem::path &release)
std::filesystem::path FontDirectory(const std::filesystem::path &assets, std::string_view language)
std::filesystem::path ReleaseDirectory(const std::filesystem::path &assets)
constexpr std::string_view DEFAULT_LANGUAGE
The language unless the configuration or the command line selects another.
Definition language.h:20
StringTable MergeStrings(StringTable fallback, const StringTable &language)
std::map< std::string, std::string, std::less<> > StringTable
Strings by key, in UTF-8.
Definition language.h:23
const std::string & SelectedLanguage()
std::optional< std::string > TitleScreenRegion(std::string_view choice, std::string_view currentRegion, std::span< const std::string > available)