From 05187b27edd5d9d9db2ddc9a7b3892f1d16e2b3c Mon Sep 17 00:00:00 2001 From: unkcs Date: Sat, 28 Oct 2023 10:36:58 -0300 Subject: [PATCH 1/2] [saco] renamed CAudioStream class function names --- saco/audiostream.cpp | 16 ++++++++-------- saco/audiostream.h | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/saco/audiostream.cpp b/saco/audiostream.cpp index d10ebef..b14956f 100644 --- a/saco/audiostream.cpp +++ b/saco/audiostream.cpp @@ -1,42 +1,42 @@ #include "audiostream.h" -void CAudioStream::sub_10066480() +void CAudioStream::Reset() { // TODO: CAudioStream::sub_10066480 10066480 } -void CAudioStream::sub_10066560() +void CAudioStream::Stop() { // TODO: CAudioStream::sub_10066560 10066560 } -void CAudioStream::sub_100665C0() +void CAudioStream::ConstructInfo() { // TODO: CAudioStream::sub_100665C0 100665C0 } -void CAudioStream::sub_100666F0() +void CAudioStream::SyncProc() { // TODO: CAudioStream::sub_100666F0 100666F0 } -void CAudioStream::sub_10066700() +void CAudioStream::Process() { // TODO: CAudioStream::sub_10066700 10066700 } -void CAudioStream::sub_10066960() +void CAudioStream::Play() { // TODO: CAudioStream::sub_10066960 10066960 } -void CAudioStream::sub_10066A80() +void CAudioStream::ControlGameRadio() { // TODO: CAudioStream::sub_10066A80 10066A80 } -void CAudioStream::sub_10066AB0() +void CAudioStream::DrawInfo() { // TODO: CAudioStream::sub_10066AB0 10066AB0 } \ No newline at end of file diff --git a/saco/audiostream.h b/saco/audiostream.h index 4169f72..48e54f0 100644 --- a/saco/audiostream.h +++ b/saco/audiostream.h @@ -12,12 +12,12 @@ public: field_0 = 0; } - void sub_10066480(); - void sub_10066560(); - void sub_100665C0(); - void sub_100666F0(); - void sub_10066700(); - void sub_10066960(); - void sub_10066A80(); - void sub_10066AB0(); + void Reset(); + void Stop(); + void ConstructInfo(); + void SyncProc(); + void Process(); + void Play(); + void ControlGameRadio(); + void DrawInfo(); }; From a779e730090069abe087c5c29ef03c24eeb4fd0b Mon Sep 17 00:00:00 2001 From: unkcs Date: Sat, 28 Oct 2023 10:39:11 -0300 Subject: [PATCH 2/2] [saco] Add CAudio stubs --- saco/game/audio.cpp | 36 ++++++++++++++++++++++++++++++++++++ saco/game/audio.h | 8 ++++++++ 2 files changed, 44 insertions(+) diff --git a/saco/game/audio.cpp b/saco/game/audio.cpp index e69de29..d3274eb 100644 --- a/saco/game/audio.cpp +++ b/saco/game/audio.cpp @@ -0,0 +1,36 @@ +#include "audio.h" + +void CAudio::GetRadioStation() +{ + // TODO: CAudio::sub_100A2210 100A2210 +} + +void CAudio::StartRadio() +{ + // TODO: CAudio::sub_100A2240 100A2240 +} + +void CAudio::GetRadioVolume() +{ + // TODO: CAudio::sub_100A2280 100A2280 +} + +void CAudio::StopOutdoorAmbienceTrack() +{ + // TODO: CAudio::sub_100A2290 100A2290 +} + +void CAudio::SetOutdoorAmbienceTrack() +{ + // TODO: CAudio::sub_100A22A0 100A22A0 +} + +void CAudio::Play() +{ + // TODO: CAudio::sub_100A22C0 100A22C0 +} + +void CAudio::IsOutdoorAmbienceTrackDisabled() +{ + // TODO: CAudio::sub_100A23A0 100A23A0 +} \ No newline at end of file diff --git a/saco/game/audio.h b/saco/game/audio.h index 75747d4..4c2558d 100644 --- a/saco/game/audio.h +++ b/saco/game/audio.h @@ -12,4 +12,12 @@ public: field_0 = 0; field_4 = 0; } + + void GetRadioStation(); + void StartRadio(); + void GetRadioVolume(); + void StopOutdoorAmbienceTrack(); + void SetOutdoorAmbienceTrack(); + void Play(); + void IsOutdoorAmbienceTrackDisabled(); };