2023-10-23 22:49:21 +08:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2024-04-08 22:17:26 +08:00
|
|
|
//-----------------------------------------------------------
|
|
|
|
|
|
|
|
class CAudio
|
2023-10-23 22:49:21 +08:00
|
|
|
{
|
2024-04-08 22:17:26 +08:00
|
|
|
private:
|
2023-10-23 22:49:21 +08:00
|
|
|
int field_0;
|
2024-04-08 22:17:26 +08:00
|
|
|
bool field_4;
|
2023-10-23 22:49:21 +08:00
|
|
|
|
2024-04-08 22:17:26 +08:00
|
|
|
public:
|
2023-10-23 22:49:21 +08:00
|
|
|
CAudio() {
|
|
|
|
field_0 = 0;
|
2024-04-08 22:17:26 +08:00
|
|
|
field_4 = false;
|
|
|
|
}
|
2023-10-28 10:39:11 -03:00
|
|
|
|
2024-04-08 22:17:26 +08:00
|
|
|
void sub_100A21D0();
|
2024-02-26 23:40:36 +08:00
|
|
|
int GetRadioStation();
|
|
|
|
void StartRadio(int iStation);
|
2024-04-08 22:17:26 +08:00
|
|
|
void StopRadio();
|
2024-02-26 23:40:36 +08:00
|
|
|
float GetRadioVolume();
|
2023-10-28 10:39:11 -03:00
|
|
|
void StopOutdoorAmbienceTrack();
|
2024-02-26 23:40:36 +08:00
|
|
|
void SetOutdoorAmbienceTrack(int iTrack);
|
|
|
|
void PlaySound(int iSound, float fX, float fY, float fZ);
|
|
|
|
bool IsOutdoorAmbienceTrackDisabled();
|
2023-10-23 22:49:21 +08:00
|
|
|
};
|
2024-04-08 22:17:26 +08:00
|
|
|
|
|
|
|
//-----------------------------------------------------------
|