Rise
The Vieneo Province
Loading...
Searching...
No Matches
Sound Class Reference

#include <Sound.h>

Collaboration diagram for Sound:
[legend]

Public Member Functions

 Sound (GameClass *gameptr)
void EnumDevices ()
int GetConfigSelectionIndex (const SoundConfig *deviceConfig) const
void Init ()
void InitDevice (SoundConfig *deviceConfig)
void ReleaseConfigSounds (SoundConfig *config)
void Close ()
void PlayAudioData (unsigned char *data, size_t length)
void GlobalAttenuate (float prmGaTimeToFadeOut, float prmGaTimeToHold, float prmGaTimeToFadeIn, SOUNDS soundEnum, float prmExTimeToFadeIn, float prmExTimeToHold, float prmExTimeToFadeOut, float volumeAdj=1.0f)
void FrameMoveVehicleSounds ()
void ChangeVolume (SoundConfig *config, float modVolume)
void ChangeVolume (SOUNDS soundEnum, float modVolume)
float Play (SOUNDS soundEnum, float volume=1.0f)
void Reset ()
HSTREAM GlassFX (SOUNDS soundEnum)
void PlayEx (SOUNDS soundEnum, bool loop, float volume=1.0f, float frequencyMod=1.0f, float pan=0.0f, bool restart=true, bool fromOutside=false, bool partOfHull=false)
void Stop (SOUNDS soundEnum) const
void AddLoopingVehicleSound (SOUNDS soundEnum, unsigned char array)
void RemoveLoopingVehicleSound (unsigned char array, SOUNDS soundEnum=SOUND_NONE)
void LegacySoundRequestUniverse (SServerPacket datapacket)
void AddDelayedSound (SOUNDS soundEnum, float delay, float volume=1.0f, float freq=1.0f, bool fromOutside=false)
void ChangeCockpit (bool force)
void FrameMoveAAC ()
void PrecipWindSoundBarrier (RiseMath::Vector3 relativeWindTrueKms)
void LoadSounds (short instage)
void ChangeVolume ()
float GetLength (SOUNDS soundEnum) const
void LoadCockpitSound (SOUNDS soundEnum, const char *path, bool force, SoundConfig *device=nullptr)
void FrameMoveImmigration ()
void FrameMove (float elapsedTime)
void FrameMoveEarPressure (float elapsedTime)
void FrameMoveHorns ()
void FrameMoveWipers (float elapsedTime)
void EnvironmentalEffects ()
void PlayCabinAnnouncement (SOUNDS sound_enum)
void LoadDockSounds (short dockTexture)
void LoadCustomSound (SOUNDS sound_enum, const char *path, SoundConfig *device=nullptr)

Static Public Member Functions

static void CALLBACK AdvanceStage (HSYNC handle, DWORD channel, DWORD data, void *user)
static void CALLBACK MetaData (HSYNC handle, DWORD channel, DWORD data, void *user)

Public Attributes

HSTREAM g_pSoundIntro = NULL
bool loopintro = true
GameState musicstage = GameState::STATUS_SPLASH
float musicleft = 0.0f
float musicdone = 0.0f
char stationUrls [6][64] = {}
SOUNDS oldThunderFar = SOUND_NONE
SOUNDS oldThunderMid = SOUND_NONE
SOUNDS oldThunderNear = SOUND_NONE
std::vector< std::string > deviceNames
std::vector< GUID > deviceGuids
std::vector< int > deviceBassDevices

Private Member Functions

void LoadSound (int soundEnum, SoundConfig *device=nullptr)
void Trace (const char *msg, Logger::Level severity=Logger::Level::Info) const
bool IsVehicleAttachedSound (SOUNDS soundEnum) const
bool UpdateSoundMix (SOUNDS soundEnum, HSTREAM streamToPlay, float modVolume)
void FrameMoveDelayedEffects (float elapsedTime)
void FrameMoveDopplerEffects (float elapsedTime)
void FrameMoveCabinAnnouncements (float elapsedTime)
bool IsCabinAnnouncementPlaying (SOUNDS soundEnum=SOUND_NONE) const
void QueueCabinAnnouncement (SOUNDS soundEnum)
void RemoveQueuedCabinAnnouncement (SOUNDS soundEnum)
void StopCabinAnnouncements ()
BOOL FreeStream (HSTREAM stream)
void ApplyEarMuffle (HSTREAM stream)
void ClearEarMuffle ()
void UpdateEarMuffle ()

Static Private Member Functions

static size_t GetFileSizeBytes (const char *str)

Private Attributes

VehicleHorn::Playback hornPlayback [4]
float hornVolume [4] = {}
float hornPan [4] = {}
bool hornAttached [4] = {}
float bleedAirGain = 0.f
GameClass * game = nullptr
const float minrate = 100
const float maxrate = 100000
HSTREAM radio = NULL
HSTREAM comms = NULL
HSTREAM sound_stream [SOUND_ENUMERATION] {}
HSTREAM sound_streamFx [SOUND_ENUMERATION] {}
float sound_length [SOUND_ENUMERATION] {}
float sound_rate [SOUND_ENUMERATION] {}
float sound_volume [SOUND_ENUMERATION] {}
float sound_pan [SOUND_ENUMERATION] {}
char sound_device [SOUND_ENUMERATION] {}
SoundConfig * sound_config [SOUND_ENUMERATION] {}
HFX sound_fxShelf [SOUND_ENUMERATION] {}
HFX sound_fxLP [SOUND_ENUMERATION] {}
HFX sound_fxNotch [SOUND_ENUMERATION] {}
bool sound_fxEnabled [SOUND_ENUMERATION] {}
bool sound_fromOutside [SOUND_ENUMERATION] {}
bool sound_partOfHull [SOUND_ENUMERATION] {}
bool sound_debug [SOUND_ENUMERATION] {}
std::vector< std::string > sound_path
char currentSoundDevice = -2
char currentRadioDevice = -2
bool g_bRadioPlaying = false
short oldstation = -1
char oldtitle [99] = {}
char metadata [999] = {}
char stationIdentification = rand() % 12 - 1
char celebrity = rand() % 3
SOUNDS excludeFromGlobalAttenuate = SOUND_NONE
float globalAttenuate = 1.0f
float gaTimer = 0.0f
float gaTimeToFadeOut = 0.0f
float gaTimeToHold = 0.0f
float gaTimeToFadeIn = 0.0f
float gaVolumeAdj = 0.0f
float exTimeToFadeIn = 0.0f
float exTimeToHold = 0.0f
float exTimeToFadeOut = 0.0f
float oldBusMach = 0.0f
float oldvolume = 0.0f
float oldFrequencyMod = 1.0f
float oldPan = 0.0f
float oldvolume2 = 0.0f
float oldFrequencyMod2 = 1.0f
float oldPan2 = 0.0f
float headPanScalar = 0.0f
bool passedSoundBarrierBoom = false
std::vector< Sdelayedeffects > delayedeffects
std::vector< Sloopingeffects > loopingeffects
std::vector< SOUNDS > cabinAnnouncementQueue
float cabinAirborneTime = 0.0f
float cabinLandingConfirmationTime = 0.0f
bool cabinFlightEstablished = false
bool cabinLandingPending = false
bool cabinPassengersActive = false
EarPressure earPressure { GetTickCount() }
EarMuffleChannels earMuffleChannels
bool earMuffleWarning = false
EarPopSequence earPops { GetTickCount() }
bool issuedWarning = false
PlotType ambtype1 = PlotType::NotZoned
char ambtype2 = -1
float oldAmbientVolume = 0.0f
float radioAutoMute = 1.0f
HSYNC hsync = NULL

Detailed Description

Definition at line 368 of file Sound.h.

Constructor & Destructor Documentation

◆ Sound()

Sound::Sound ( GameClass * gameptr)

Definition at line 69 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ AddDelayedSound()

void Sound::AddDelayedSound ( SOUNDS soundEnum,
float delay,
float volume = 1.0f,
float freq = 1.0f,
bool fromOutside = false )

Definition at line 3376 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddLoopingVehicleSound()

void Sound::AddLoopingVehicleSound ( SOUNDS soundEnum,
unsigned char array )

Definition at line 3405 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AdvanceStage()

void CALLBACK Sound::AdvanceStage ( HSYNC handle,
DWORD channel,
DWORD data,
void * user )
static

Definition at line 1246 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ApplyEarMuffle()

void Sound::ApplyEarMuffle ( HSTREAM stream)
private

Definition at line 1672 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ChangeCockpit()

void Sound::ChangeCockpit ( bool force)

Definition at line 3645 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ChangeVolume() [1/3]

void Sound::ChangeVolume ( )

Definition at line 789 of file Sound.cpp.

Here is the call graph for this function:

◆ ChangeVolume() [2/3]

void Sound::ChangeVolume ( SoundConfig * config,
float modVolume )

Definition at line 551 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ChangeVolume() [3/3]

void Sound::ChangeVolume ( SOUNDS soundEnum,
float modVolume )

Definition at line 779 of file Sound.cpp.

Here is the call graph for this function:

◆ ClearEarMuffle()

void Sound::ClearEarMuffle ( )
private

Definition at line 1667 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Close()

void Sound::Close ( )

Definition at line 391 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EnumDevices()

void Sound::EnumDevices ( )

Definition at line 91 of file Sound.cpp.

Here is the caller graph for this function:

◆ EnvironmentalEffects()

void Sound::EnvironmentalEffects ( )

Definition at line 2031 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FrameMove()

void Sound::FrameMove ( float elapsedTime)

Definition at line 1901 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FrameMoveAAC()

void Sound::FrameMoveAAC ( )

Definition at line 2424 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FrameMoveCabinAnnouncements()

void Sound::FrameMoveCabinAnnouncements ( float elapsedTime)
private

Definition at line 3478 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FrameMoveDelayedEffects()

void Sound::FrameMoveDelayedEffects ( float elapsedTime)
private

Definition at line 2577 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FrameMoveDopplerEffects()

void Sound::FrameMoveDopplerEffects ( float elapsedTime)
private

Definition at line 2781 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FrameMoveEarPressure()

void Sound::FrameMoveEarPressure ( float elapsedTime)

Definition at line 1717 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FrameMoveHorns()

void Sound::FrameMoveHorns ( )

Definition at line 1781 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FrameMoveImmigration()

void Sound::FrameMoveImmigration ( )

Definition at line 1773 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FrameMoveVehicleSounds()

void Sound::FrameMoveVehicleSounds ( )

Definition at line 766 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FrameMoveWipers()

void Sound::FrameMoveWipers ( float elapsedTime)

Definition at line 1849 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FreeStream()

BOOL Sound::FreeStream ( HSTREAM stream)
private

Definition at line 1661 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetConfigSelectionIndex()

int Sound::GetConfigSelectionIndex ( const SoundConfig * deviceConfig) const

Definition at line 155 of file Sound.cpp.

Here is the caller graph for this function:

◆ GetFileSizeBytes()

size_t Sound::GetFileSizeBytes ( const char * str)
staticprivate

Definition at line 1424 of file Sound.cpp.

Here is the caller graph for this function:

◆ GetLength()

float Sound::GetLength ( SOUNDS soundEnum) const

Definition at line 797 of file Sound.cpp.

◆ GlassFX()

HSTREAM Sound::GlassFX ( SOUNDS soundEnum)

Definition at line 829 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GlobalAttenuate()

void Sound::GlobalAttenuate ( float prmGaTimeToFadeOut,
float prmGaTimeToHold,
float prmGaTimeToFadeIn,
SOUNDS soundEnum,
float prmExTimeToFadeIn,
float prmExTimeToHold,
float prmExTimeToFadeOut,
float volumeAdj = 1.0f )

Definition at line 536 of file Sound.cpp.

Here is the caller graph for this function:

◆ Init()

void Sound::Init ( )

Definition at line 178 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitDevice()

void Sound::InitDevice ( SoundConfig * deviceConfig)

Definition at line 204 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsCabinAnnouncementPlaying()

bool Sound::IsCabinAnnouncementPlaying ( SOUNDS soundEnum = SOUND_NONE) const
private

Definition at line 3545 of file Sound.cpp.

Here is the caller graph for this function:

◆ IsVehicleAttachedSound()

bool Sound::IsVehicleAttachedSound ( SOUNDS soundEnum) const
private

Definition at line 595 of file Sound.cpp.

Here is the caller graph for this function:

◆ LegacySoundRequestUniverse()

void Sound::LegacySoundRequestUniverse ( SServerPacket datapacket)

Definition at line 2242 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadCockpitSound()

void Sound::LoadCockpitSound ( SOUNDS soundEnum,
const char * path,
bool force,
SoundConfig * device = nullptr )

Definition at line 1536 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadCustomSound()

void Sound::LoadCustomSound ( SOUNDS sound_enum,
const char * path,
SoundConfig * device = nullptr )

Definition at line 5277 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadDockSounds()

void Sound::LoadDockSounds ( short dockTexture)

Definition at line 3575 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadSound()

void Sound::LoadSound ( int soundEnum,
SoundConfig * device = nullptr )
private

Definition at line 1435 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadSounds()

void Sound::LoadSounds ( short instage)

Definition at line 2159 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MetaData()

void CALLBACK Sound::MetaData ( HSYNC handle,
DWORD channel,
DWORD data,
void * user )
static

Definition at line 1198 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Play()

float Sound::Play ( SOUNDS soundEnum,
float volume = 1.0f )

Definition at line 802 of file Sound.cpp.

Here is the call graph for this function:

◆ PlayAudioData()

void Sound::PlayAudioData ( unsigned char * data,
size_t length )

Definition at line 430 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PlayCabinAnnouncement()

void Sound::PlayCabinAnnouncement ( SOUNDS sound_enum)

Definition at line 3456 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PlayEx()

void Sound::PlayEx ( SOUNDS soundEnum,
bool loop,
float volume = 1.0f,
float frequencyMod = 1.0f,
float pan = 0.0f,
bool restart = true,
bool fromOutside = false,
bool partOfHull = false )
Bug
https://jira.risetvp.com/view.php?id=1424

Definition at line 1006 of file Sound.cpp.

Here is the call graph for this function:

◆ PrecipWindSoundBarrier()

void Sound::PrecipWindSoundBarrier ( RiseMath::Vector3 relativeWindTrueKms)
Todo
not really how it works... the wave it makes is continuous so they could hit someone with the wave later if they maintain supersonic flight

Definition at line 3126 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ QueueCabinAnnouncement()

void Sound::QueueCabinAnnouncement ( SOUNDS soundEnum)
private

Definition at line 3559 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReleaseConfigSounds()

void Sound::ReleaseConfigSounds ( SoundConfig * config)

Definition at line 305 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RemoveLoopingVehicleSound()

void Sound::RemoveLoopingVehicleSound ( unsigned char array,
SOUNDS soundEnum = SOUND_NONE )

Definition at line 3428 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RemoveQueuedCabinAnnouncement()

void Sound::RemoveQueuedCabinAnnouncement ( SOUNDS soundEnum)
private

Definition at line 3568 of file Sound.cpp.

Here is the caller graph for this function:

◆ Reset()

void Sound::Reset ( )

Definition at line 808 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Stop()

void Sound::Stop ( SOUNDS soundEnum) const

Definition at line 3397 of file Sound.cpp.

◆ StopCabinAnnouncements()

void Sound::StopCabinAnnouncements ( )
private

Definition at line 3625 of file Sound.cpp.

Here is the caller graph for this function:

◆ Trace()

void Sound::Trace ( const char * msg,
Logger::Level severity = Logger::Level::Info ) const
private

Definition at line 423 of file Sound.cpp.

Here is the call graph for this function:

◆ UpdateEarMuffle()

void Sound::UpdateEarMuffle ( )
private

Definition at line 1682 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateSoundMix()

bool Sound::UpdateSoundMix ( SOUNDS soundEnum,
HSTREAM streamToPlay,
float modVolume )
private

Definition at line 604 of file Sound.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ambtype1

PlotType Sound::ambtype1 = PlotType::NotZoned
private

Definition at line 691 of file Sound.h.

◆ ambtype2

char Sound::ambtype2 = -1
private

Definition at line 692 of file Sound.h.

◆ bleedAirGain

float Sound::bleedAirGain = 0.f
private

Definition at line 373 of file Sound.h.

◆ cabinAirborneTime

float Sound::cabinAirborneTime = 0.0f
private

Definition at line 661 of file Sound.h.

◆ cabinAnnouncementQueue

std::vector<SOUNDS> Sound::cabinAnnouncementQueue
private

Definition at line 660 of file Sound.h.

◆ cabinFlightEstablished

bool Sound::cabinFlightEstablished = false
private

Definition at line 663 of file Sound.h.

◆ cabinLandingConfirmationTime

float Sound::cabinLandingConfirmationTime = 0.0f
private

Definition at line 662 of file Sound.h.

◆ cabinLandingPending

bool Sound::cabinLandingPending = false
private

Definition at line 664 of file Sound.h.

◆ cabinPassengersActive

bool Sound::cabinPassengersActive = false
private

Definition at line 665 of file Sound.h.

◆ celebrity

char Sound::celebrity = rand() % 3
private

Definition at line 639 of file Sound.h.

◆ comms

HSTREAM Sound::comms = NULL
private

Definition at line 379 of file Sound.h.

◆ currentRadioDevice

char Sound::currentRadioDevice = -2
private

Definition at line 632 of file Sound.h.

◆ currentSoundDevice

char Sound::currentSoundDevice = -2
private

Definition at line 631 of file Sound.h.

◆ delayedeffects

std::vector<Sdelayedeffects> Sound::delayedeffects
private

Definition at line 658 of file Sound.h.

◆ deviceBassDevices

std::vector<int> Sound::deviceBassDevices

Definition at line 707 of file Sound.h.

◆ deviceGuids

std::vector<GUID> Sound::deviceGuids

Definition at line 706 of file Sound.h.

◆ deviceNames

std::vector<std::string> Sound::deviceNames

Definition at line 705 of file Sound.h.

◆ earMuffleChannels

EarMuffleChannels Sound::earMuffleChannels
private

Definition at line 681 of file Sound.h.

◆ earMuffleWarning

bool Sound::earMuffleWarning = false
private

Definition at line 682 of file Sound.h.

◆ earPops

EarPopSequence Sound::earPops { GetTickCount() }
private

Definition at line 683 of file Sound.h.

◆ earPressure

EarPressure Sound::earPressure { GetTickCount() }
private

Definition at line 680 of file Sound.h.

◆ excludeFromGlobalAttenuate

SOUNDS Sound::excludeFromGlobalAttenuate = SOUND_NONE
private

Definition at line 641 of file Sound.h.

◆ exTimeToFadeIn

float Sound::exTimeToFadeIn = 0.0f
private

Definition at line 648 of file Sound.h.

◆ exTimeToFadeOut

float Sound::exTimeToFadeOut = 0.0f
private

Definition at line 650 of file Sound.h.

◆ exTimeToHold

float Sound::exTimeToHold = 0.0f
private

Definition at line 649 of file Sound.h.

◆ g_bRadioPlaying

bool Sound::g_bRadioPlaying = false
private

Definition at line 634 of file Sound.h.

◆ g_pSoundIntro

HSTREAM Sound::g_pSoundIntro = NULL

Definition at line 698 of file Sound.h.

◆ game

GameClass* Sound::game = nullptr
private

Definition at line 374 of file Sound.h.

◆ gaTimer

float Sound::gaTimer = 0.0f
private

Definition at line 643 of file Sound.h.

◆ gaTimeToFadeIn

float Sound::gaTimeToFadeIn = 0.0f
private

Definition at line 646 of file Sound.h.

◆ gaTimeToFadeOut

float Sound::gaTimeToFadeOut = 0.0f
private

Definition at line 644 of file Sound.h.

◆ gaTimeToHold

float Sound::gaTimeToHold = 0.0f
private

Definition at line 645 of file Sound.h.

◆ gaVolumeAdj

float Sound::gaVolumeAdj = 0.0f
private

Definition at line 647 of file Sound.h.

◆ globalAttenuate

float Sound::globalAttenuate = 1.0f
private

Definition at line 642 of file Sound.h.

◆ headPanScalar

float Sound::headPanScalar = 0.0f
private

Definition at line 655 of file Sound.h.

◆ hornAttached

bool Sound::hornAttached[4] = {}
private

Definition at line 372 of file Sound.h.

◆ hornPan

float Sound::hornPan[4] = {}
private

Definition at line 371 of file Sound.h.

◆ hornPlayback

VehicleHorn::Playback Sound::hornPlayback[4]
private

Definition at line 370 of file Sound.h.

◆ hornVolume

float Sound::hornVolume[4] = {}
private

Definition at line 371 of file Sound.h.

◆ hsync

HSYNC Sound::hsync = NULL
private

Definition at line 695 of file Sound.h.

◆ issuedWarning

bool Sound::issuedWarning = false
private

Definition at line 689 of file Sound.h.

◆ loopingeffects

std::vector<Sloopingeffects> Sound::loopingeffects
private

Definition at line 659 of file Sound.h.

◆ loopintro

bool Sound::loopintro = true

Definition at line 700 of file Sound.h.

◆ maxrate

const float Sound::maxrate = 100000
private

Definition at line 376 of file Sound.h.

◆ metadata

char Sound::metadata[999] = {}
private

Definition at line 637 of file Sound.h.

◆ minrate

const float Sound::minrate = 100
private

Definition at line 376 of file Sound.h.

◆ musicdone

float Sound::musicdone = 0.0f

Definition at line 702 of file Sound.h.

◆ musicleft

float Sound::musicleft = 0.0f

Definition at line 702 of file Sound.h.

◆ musicstage

GameState Sound::musicstage = GameState::STATUS_SPLASH

Definition at line 701 of file Sound.h.

◆ oldAmbientVolume

float Sound::oldAmbientVolume = 0.0f
private

Definition at line 693 of file Sound.h.

◆ oldBusMach

float Sound::oldBusMach = 0.0f
private

Definition at line 652 of file Sound.h.

◆ oldFrequencyMod

float Sound::oldFrequencyMod = 1.0f
private

Definition at line 653 of file Sound.h.

◆ oldFrequencyMod2

float Sound::oldFrequencyMod2 = 1.0f
private

Definition at line 654 of file Sound.h.

◆ oldPan

float Sound::oldPan = 0.0f
private

Definition at line 653 of file Sound.h.

◆ oldPan2

float Sound::oldPan2 = 0.0f
private

Definition at line 654 of file Sound.h.

◆ oldstation

short Sound::oldstation = -1
private

Definition at line 635 of file Sound.h.

◆ oldThunderFar

SOUNDS Sound::oldThunderFar = SOUND_NONE

Definition at line 704 of file Sound.h.

◆ oldThunderMid

SOUNDS Sound::oldThunderMid = SOUND_NONE

Definition at line 704 of file Sound.h.

◆ oldThunderNear

SOUNDS Sound::oldThunderNear = SOUND_NONE

Definition at line 704 of file Sound.h.

◆ oldtitle

char Sound::oldtitle[99] = {}
private

Definition at line 636 of file Sound.h.

◆ oldvolume

float Sound::oldvolume = 0.0f
private

Definition at line 653 of file Sound.h.

◆ oldvolume2

float Sound::oldvolume2 = 0.0f
private

Definition at line 654 of file Sound.h.

◆ passedSoundBarrierBoom

bool Sound::passedSoundBarrierBoom = false
private

Definition at line 656 of file Sound.h.

◆ radio

HSTREAM Sound::radio = NULL
private

Definition at line 378 of file Sound.h.

◆ radioAutoMute

float Sound::radioAutoMute = 1.0f
private

Definition at line 694 of file Sound.h.

◆ sound_config

SoundConfig* Sound::sound_config[SOUND_ENUMERATION] {}
private

Definition at line 388 of file Sound.h.

◆ sound_debug

bool Sound::sound_debug[SOUND_ENUMERATION] {}
private

Definition at line 395 of file Sound.h.

◆ sound_device

char Sound::sound_device[SOUND_ENUMERATION] {}
private

Definition at line 387 of file Sound.h.

◆ sound_fromOutside

bool Sound::sound_fromOutside[SOUND_ENUMERATION] {}
private

Definition at line 393 of file Sound.h.

◆ sound_fxEnabled

bool Sound::sound_fxEnabled[SOUND_ENUMERATION] {}
private

Definition at line 392 of file Sound.h.

◆ sound_fxLP

HFX Sound::sound_fxLP[SOUND_ENUMERATION] {}
private

Definition at line 390 of file Sound.h.

◆ sound_fxNotch

HFX Sound::sound_fxNotch[SOUND_ENUMERATION] {}
private

Definition at line 391 of file Sound.h.

◆ sound_fxShelf

HFX Sound::sound_fxShelf[SOUND_ENUMERATION] {}
private

Definition at line 389 of file Sound.h.

◆ sound_length

float Sound::sound_length[SOUND_ENUMERATION] {}
private

Definition at line 383 of file Sound.h.

◆ sound_pan

float Sound::sound_pan[SOUND_ENUMERATION] {}
private

Definition at line 386 of file Sound.h.

◆ sound_partOfHull

bool Sound::sound_partOfHull[SOUND_ENUMERATION] {}
private

Definition at line 394 of file Sound.h.

◆ sound_path

std::vector<std::string> Sound::sound_path
private

Definition at line 397 of file Sound.h.

◆ sound_rate

float Sound::sound_rate[SOUND_ENUMERATION] {}
private

Definition at line 384 of file Sound.h.

◆ sound_stream

HSTREAM Sound::sound_stream[SOUND_ENUMERATION] {}
private

Definition at line 381 of file Sound.h.

◆ sound_streamFx

HSTREAM Sound::sound_streamFx[SOUND_ENUMERATION] {}
private

Definition at line 382 of file Sound.h.

◆ sound_volume

float Sound::sound_volume[SOUND_ENUMERATION] {}
private

Definition at line 385 of file Sound.h.

◆ stationIdentification

char Sound::stationIdentification = rand() % 12 - 1
private

Definition at line 638 of file Sound.h.

◆ stationUrls

char Sound::stationUrls[6][64] = {}

Definition at line 703 of file Sound.h.


The documentation for this class was generated from the following files: