forked from rosebudai/OpenRCT2-Web
Implement ride music objects and refactor
This commit is contained in:
1 parent
db4841ca45
commit
2f39442d25
35 files changed
+1401
-674
No files matched your search
@@ -22,6 +22,7 @@
|
||||
#include "../localisation/Localisation.h"
|
||||
#include "../localisation/StringIds.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../ride/RideAudio.h"
|
||||
#include "../scenario/Scenario.h"
|
||||
#include "../sprites.h"
|
||||
#include "../ui/UiContext.h"
|
||||
@@ -1784,7 +1785,7 @@ void window_close_construction_windows()
|
||||
*/
|
||||
void window_update_viewport_ride_music()
|
||||
{
|
||||
OpenRCT2::Audio::gRideMusicParamsListEnd = &OpenRCT2::Audio::gRideMusicParamsList[0];
|
||||
RideAudioClearAllViewportInstances();
|
||||
g_music_tracking_viewport = nullptr;
|
||||
|
||||
for (auto it = g_window_list.rbegin(); it != g_window_list.rend(); it++)
|
||||
|
||||
Reference in new issue
Block a user