aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-10-29Refactoring llTriggerSoundLimited with a new method on ISoundModule, as the ↵SignpostMarv1-0/+30
LL Wiki spec for llTriggerSoundLimited states an axis-aligned bounding box, not radial constraint
2012-10-29shuffling code around so that the interface for ISoundModule.SendSound() ↵SignpostMarv1-21/+4
specifies a UUID rather than a string
2012-10-29moving SendSound from SceneObjectPart to ISoundModuleSignpostMarv1-0/+73
2012-10-29Formatting SoundModuleNonShared.LoopSound, consistent indentationSignpostMarv1-1/+1
2012-10-29deduplicating code into a single LoopSound methodSignpostMarv1-2/+11
2012-10-29refactoring StopSound into a private static method to skip repeating ↵SignpostMarv1-1/+6
m_scene.TryGetSceneObjectPart
2012-10-29Removing a locked iteration over SceneObjectGroup.LoopSoundSlavePrims as the ↵SignpostMarv1-15/+0
SL Wiki spec does not state that slaves are set to match master values
2012-10-29adjusting parameter order of PreloadSound to be more logicalSignpostMarv1-1/+1
2012-10-29transposing LoopSoundMaster to Sound ModuleSignpostMarv1-0/+36
2012-10-29transposing preload sound onto sound moduleSignpostMarv1-0/+20
2012-10-29transposing stop sound into sound moduleSignpostMarv1-0/+45
2012-10-29TryGetScenePresence in TriggerSound is probably meant to be using the ↵SignpostMarv1-1/+1
ownerID, not the objectID
2012-10-29swapping GetSceneObjectPart for TryGetSceneObjectPart in PlayAttachedSound ↵SignpostMarv1-4/+4
to imply why we're doing an early return.
2012-10-29stripping whitespace from ISoundModule, formatting SoundModuleNonShared.csSignpostMarv1-3/+5
2012-10-29refactoring thisSpGain in PlayAttachedSound as it was previously using two ↵SignpostMarv1-8/+4
typecasts in the assignment and had the assignment on a separate line to the declaration
2012-10-29Factoring out an if-else block in PlayAttachedSound as it was using the ↵SignpostMarv1-6/+6
previously hard-coded max distance value.
2012-10-29making the max distance for sounds to be heard from their origin a ↵SignpostMarv1-3/+9
configurable option exposed via a public field on ISoundModule (with private setter in the implementation)
2012-10-29Converting the ISoundModule implementation from an IRegionModule to an ↵SignpostMarv1-20/+58
INonSharedRegionModule
2012-08-21Fix bug in SoundModule.PlayAttachedSound() where every sound update to an ↵Justin Clark-Casey (justincc)1-3/+5
avatar would base its gain calculation on the previous avatar's gain, instead of the original input gain This is similar to commit d89faa which fixed the same kind of bug in TriggerSound()
2012-07-31Fix bug in SoundModule.TriggerSound() where every sound update to an avatar ↵Justin Clark-Casey (justincc)1-3/+6
would base its gain calculation on the previous avatar's gain, instead of the original input gain. This was making sound attenuate oddly when there were NPCs in the region, though it could also happen with ordinary avatars.
2012-06-14Add SOG.HasPrivateAttachmentPoint to tell if a SOG has a private attachment ↵Justin Clark-Casey (justincc)1-5/+2
point. HUDs attachment points are private. Change SOP.SendFullUpdateToClient() and SoundModule.PlayAttachedSound() to use this rather than different magic number formulations. This also corrects a bug in PlayAttachedSound() where the code assumed that all attachment points over 30 were HUDs. It appears this is no longer true with Neck and Root (Avatar Center)
2011-11-03Rename ForEachAvatar back to ForEachScenePresence. The other changesDan Lake1-2/+2
from previous commit which sort out which iterator is used are left intact. A discussion is needed as to what constitutes an avatar vs a ScenePresence.
2011-11-03Renamed ForEachRootScenePresence to ForEachAvatar. Cleaned up calls toDan Lake1-2/+2
the 3 iteration functions so more of them are using the correct iteration for the action they are performing. The 3 iterators that seem to fit all actions within OpenSim at this time are: ForEachAvatar: Perform an action on all avatars (root presences) ForEachClient: Perform an action on all clients (root or child clients) ForEachRootClient: Perform an action on all clients that have an avatar There are still a dozen places or so calling the old ForEachScenePresence that will take a little more refactoring to eliminate.
2011-10-27Added new ForEachRootScenePresence to Scene since almost every delegate ↵Dan Lake1-8/+2
passed to ForEachScenePresence checks for !IsChildAgent first. It consolidates child and root handling for coming refactors.
2011-08-27Eliminate duplicate AttachmentPoint properties by always using the one ↵Justin Clark-Casey (justincc)1-2/+2
stored in the root part's state field.
2011-01-21remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2010-11-17Fix gesture and viewer preview sounds not playingMelanie1-7/+13
2010-11-10Remove a debug spamMelanie1-1/+0
2010-11-05Fix playing sound from HUDsMelanie1-2/+16
2010-11-05Fix attached sounds from HUDs erroneously being delivered to other avatarsMelanie1-0/+19
2010-03-19Cleaned up access to scenepresences in scenegraph. GetScenePresences and ↵Dan Lake1-14/+20
GetAvatars have been removed to consolidate locking and iteration within SceneGraph. All callers which used these to then iterate over presences have been refactored to instead pass their delegates to Scene.ForEachScenePresence(Action<ScenePresence>).
2010-02-14Revolution is on the roll again! :)Revolution1-4/+10
Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
2010-01-29Revert "Updates all IRegionModules to the new style region modules."Melanie1-26/+7
This reverts commit ec3c31e61e5e540f822891110df9bc978655bbaf.
2010-01-23Updates all IRegionModules to the new style region modules.Revolution1-7/+26
Signed-off-by: Melanie <melanie@t-data.com>
2009-10-01Formatting cleanup.Jeff Ames1-1/+1
2009-10-01Formatting cleanup.Jeff Ames1-6/+6
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-02-12large scale fix for svn props after "the great refactor"Sean Dague1-7/+7
2009-02-12* optimized usings.lbsa711-9/+7
2009-02-10this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield1-1/+1
NOTHING has been deleted or moved off to forge at this point. what has happened is that OpenSim.Region.Environment.Modules has been split in two: - OpenSim.Region.CoreModules: all those modules that are either directly or indirectly referenced from other OpenSim packages, or that provide functionality that the OpenSim developer community considers core functionality: CoreModules/Agent/AssetTransaction CoreModules/Agent/Capabilities CoreModules/Agent/TextureDownload CoreModules/Agent/TextureSender CoreModules/Agent/TextureSender/Tests CoreModules/Agent/Xfer CoreModules/Avatar/AvatarFactory CoreModules/Avatar/Chat/ChatModule CoreModules/Avatar/Combat CoreModules/Avatar/Currency/SampleMoney CoreModules/Avatar/Dialog CoreModules/Avatar/Friends CoreModules/Avatar/Gestures CoreModules/Avatar/Groups CoreModules/Avatar/InstantMessage CoreModules/Avatar/Inventory CoreModules/Avatar/Inventory/Archiver CoreModules/Avatar/Inventory/Transfer CoreModules/Avatar/Lure CoreModules/Avatar/ObjectCaps CoreModules/Avatar/Profiles CoreModules/Communications/Local CoreModules/Communications/REST CoreModules/Framework/EventQueue CoreModules/Framework/InterfaceCommander CoreModules/Hypergrid CoreModules/InterGrid CoreModules/Scripting/DynamicTexture CoreModules/Scripting/EMailModules CoreModules/Scripting/HttpRequest CoreModules/Scripting/LoadImageURL CoreModules/Scripting/VectorRender CoreModules/Scripting/WorldComm CoreModules/Scripting/XMLRPC CoreModules/World/Archiver CoreModules/World/Archiver/Tests CoreModules/World/Estate CoreModules/World/Land CoreModules/World/Permissions CoreModules/World/Serialiser CoreModules/World/Sound CoreModules/World/Sun CoreModules/World/Terrain CoreModules/World/Terrain/DefaultEffects CoreModules/World/Terrain/DefaultEffects/bin CoreModules/World/Terrain/DefaultEffects/bin/Debug CoreModules/World/Terrain/Effects CoreModules/World/Terrain/FileLoaders CoreModules/World/Terrain/FloodBrushes CoreModules/World/Terrain/PaintBrushes CoreModules/World/Terrain/Tests CoreModules/World/Vegetation CoreModules/World/Wind CoreModules/World/WorldMap - OpenSim.Region.OptionalModules: all those modules that are not core modules: OptionalModules/Avatar/Chat/IRC-stuff OptionalModules/Avatar/Concierge OptionalModules/Avatar/Voice/AsterixVoice OptionalModules/Avatar/Voice/SIPVoice OptionalModules/ContentManagementSystem OptionalModules/Grid/Interregion OptionalModules/Python OptionalModules/SvnSerialiser OptionalModules/World/NPC OptionalModules/World/TreePopulator
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-2/+2
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2008-12-23* refactor: Replace part of SceneObjectPart with the identical sound playing ↵Justin Clarke Casey1-3/+20
code in the SoundModule
2008-12-22* Like most other modules, make the sound module register for its event ↵Justin Clarke Casey1-0/+8
directly, rather than needing Scene to know about it
2008-12-19* refactor: move sound trigger from scene into sepearate SoundModuleJustin Clarke Casey1-31/+32
2008-05-20Add copyright notices.Jeff Ames1-3/+28
Fix spelling typo (Thanks ChrisDown for pointing this out)
2008-05-11* Added NPCModule and NPCAvatar classes for NPCs. Primitive, but we can grow ↵Adam Frisby1-2/+0
them out. * Fix for Scene.Inventory.cs - It assumes every entity at startup is a SceneObjectGroup. (Actually, this shouldn't have compiled[!] without a warning.) * Fix for LandManager at startup - it assumes there's a land channel when perhaps there isnt. (Bug that needs another refactor to fix. [Mike - I've assigned a ticket to you about this])
2008-05-09Update svn properties.Jeff Ames1-48/+48
2008-05-08* Some refactorings.Adam Frisby1-0/+48
* Added shell of new Python scripting engine. Similar in design to the one used by Rex, but will be structured at a region rather than object level, also is a region module.