mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
stripping whitespace from ISoundModule, formatting SoundModuleNonShared.cs
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
20be6a4b48
commit
1d47bcb6b6
@@ -133,7 +133,8 @@ namespace OpenSim.Region.CoreModules.World.Sound
|
||||
// Scale by distance
|
||||
double thisSpGain = gain * ((radius - dis) / radius);
|
||||
|
||||
sp.ControllingClient.SendPlayAttachedSound(soundID, objectID, ownerID, (float)thisSpGain, flags);
|
||||
sp.ControllingClient.SendPlayAttachedSound(soundID, objectID,
|
||||
ownerID, (float)thisSpGain, flags);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -171,8 +172,9 @@ namespace OpenSim.Region.CoreModules.World.Sound
|
||||
// Scale by distance
|
||||
double thisSpGain = gain * ((radius - dis) / radius);
|
||||
|
||||
sp.ControllingClient.SendTriggeredSound(
|
||||
soundId, ownerID, objectID, parentID, handle, position, (float)thisSpGain);
|
||||
sp.ControllingClient.SendTriggeredSound(soundId, ownerID,
|
||||
objectID, parentID, handle, position,
|
||||
(float)thisSpGain);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||
float MaxDistance { get; }
|
||||
|
||||
void PlayAttachedSound(UUID soundID, UUID ownerID, UUID objectID, double gain, Vector3 position, byte flags, float radius);
|
||||
|
||||
|
||||
void TriggerSound(
|
||||
UUID soundId, UUID ownerID, UUID objectID, UUID parentID, double gain, Vector3 position, UInt64 handle, float radius);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user