aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
diff options
context:
space:
mode:
authorUbitUmarov2018-04-09 00:15:45 +0100
committerUbitUmarov2018-04-09 00:15:45 +0100
commit63da4d3f99a292aff6963f4d453ec3911be51b62 (patch)
treeb46f96a46d5c2005805afd97641e27e2a74e8a19 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
parent.. and yes i forgot a file.. again :( (diff)
downloadopensim-SC-63da4d3f99a292aff6963f4d453ec3911be51b62.zip
opensim-SC-63da4d3f99a292aff6963f4d453ec3911be51b62.tar.gz
opensim-SC-63da4d3f99a292aff6963f4d453ec3911be51b62.tar.bz2
opensim-SC-63da4d3f99a292aff6963f4d453ec3911be51b62.tar.xz
mantis 8305: add several ossl sound funtions that accept a link number for the prim associated to that sound. The link number must point to a single prim
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs49
1 files changed, 49 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
index 16b368c..aa37159 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
@@ -1216,5 +1216,54 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
1216 return m_OSSL_Functions.osAngleBetween(a, b); 1216 return m_OSSL_Functions.osAngleBetween(a, b);
1217 } 1217 }
1218 1218
1219 public void osAdjustSoundVolume(LSL_Integer linknum, LSL_Float volume)
1220 {
1221 m_OSSL_Functions.osAdjustSoundVolume(linknum, volume);
1222 }
1223
1224 public void osSetSoundRadius(LSL_Integer linknum, LSL_Float radius)
1225 {
1226 m_OSSL_Functions.osSetSoundRadius(linknum, radius);
1227 }
1228
1229 public void osPlaySound(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
1230 {
1231 m_OSSL_Functions.osPlaySound(linknum, sound, volume);
1232 }
1233
1234 public void osLoopSound(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
1235 {
1236 m_OSSL_Functions.osLoopSound(linknum, sound, volume);
1237 }
1238
1239 public void osLoopSoundMaster(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
1240 {
1241 m_OSSL_Functions.osLoopSoundMaster(linknum, sound, volume);
1242 }
1243
1244 public void osLoopSoundSlave(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
1245 {
1246 m_OSSL_Functions.osLoopSoundSlave(linknum, sound, volume);
1247 }
1248
1249 public void osPlaySoundSlave(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
1250 {
1251 m_OSSL_Functions.osPlaySoundSlave(linknum, sound, volume);
1252 }
1253
1254 public void osTriggerSound(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
1255 {
1256 m_OSSL_Functions.osTriggerSound(linknum, sound, volume);
1257 }
1258
1259 public void osStopSound(LSL_Integer linknum)
1260 {
1261 m_OSSL_Functions.osStopSound(linknum);
1262 }
1263
1264 public void osPreloadSound(LSL_Integer linknum, LSL_String sound)
1265 {
1266 m_OSSL_Functions.osPreloadSound(linknum, sound);
1267 }
1219 } 1268 }
1220} 1269}