Searched refs:sMaxSoundDist (Results 1 – 1 of 1) sorted by relevance
830 double const sMaxSoundDist = sqrt((double)(sMaxDistX * sMaxDistX) + (sMaxDistY * sMaxDistY)); in PositionSoundVolume() local835 if (sSoundDist > sMaxSoundDist) sSoundDist = sMaxSoundDist; in PositionSoundVolume()838 return (INT8)(initial_volume * ((sMaxSoundDist - sSoundDist) / sMaxSoundDist)); in PositionSoundVolume()