1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 17:24:47 +01:00

Implement asset packs for audio

This commit is contained in:
Ted John
2022-09-18 16:15:42 +01:00
parent b9e677945d
commit 331a5961b1
39 changed files with 1219 additions and 161 deletions

View File

@@ -16,6 +16,7 @@
#include "../core/Memory.hpp"
#include "../localisation/StringIds.h"
#include "../ride/Ride.h"
#include "../ride/RideAudio.h"
#include "../util/Util.h"
#include "FootpathItemObject.h"
#include "LargeSceneryObject.h"
@@ -243,6 +244,7 @@ public:
// We will need to replay the title music if the title music object got reloaded
OpenRCT2::Audio::StopTitleMusic();
OpenRCT2::Audio::PlayTitleMusic();
OpenRCT2::RideAudio::StopAllChannels();
}
std::vector<const ObjectRepositoryItem*> GetPackableObjects() override