MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / GetMasterVolume

Method GetMasterVolume

sndlib/hlsoundlib.cpp:1399–1399  ·  view source on GitHub ↗

Gets the master volume

Source from the content-addressed store, hash-verified

1397
1398// Gets the master volume
1399float hlsSystem::GetMasterVolume(void) { return m_master_volume; }
1400inline int hlsSystem::MakeUniqueId(int sound_obj_index) { return ((((int)m_sounds_played) << 12) + sound_obj_index); }
1401inline int hlsSystem::ValidateUniqueId(int hl_sound_uid) {
1402 ASSERT(MAX_SOUND_OBJECTS <= 0x0FFF);

Callers 2

SaveGameSettingsFunction · 0.80
setupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected