1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00

Add new audio objects for loading sounds

This commit is contained in:
Ted John
2022-05-09 18:34:38 +01:00
parent 697fa7c436
commit a2e6691ac2
46 changed files with 1583 additions and 1152 deletions

View File

@@ -85,6 +85,12 @@ namespace Path
return fs::u8path(path).replace_extension(fs::u8path(newExtension)).u8string();
}
bool IsAbsolute(u8string_view path)
{
auto p = fs::u8path(path);
return p.is_absolute();
}
u8string GetAbsolute(u8string_view relative)
{
std::error_code ec;