diff options
author | Jacek Antonelli | 2010-04-21 01:51:11 -0500 |
---|---|---|
committer | Jacek Antonelli | 2010-06-19 02:40:56 -0500 |
commit | bf7bc88cfcdbd08c2afd965844f64bf315ba4b7e (patch) | |
tree | 86c0891401fe8d54db781e3344a9eed1cbeb54af /linden/indra/lscript | |
parent | Improved OpenSim Scripting Language function tooltips. (diff) | |
download | meta-impy-bf7bc88cfcdbd08c2afd965844f64bf315ba4b7e.zip meta-impy-bf7bc88cfcdbd08c2afd965844f64bf315ba4b7e.tar.gz meta-impy-bf7bc88cfcdbd08c2afd965844f64bf315ba4b7e.tar.bz2 meta-impy-bf7bc88cfcdbd08c2afd965844f64bf315ba4b7e.tar.xz |
Applied patch for LightShare viewer-side implementation.
Ported from Meta7 viewer by Armin.
Diffstat (limited to 'linden/indra/lscript')
-rw-r--r-- | linden/indra/lscript/lscript_library/lscript_library.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/lscript/lscript_library/lscript_library.cpp b/linden/indra/lscript/lscript_library/lscript_library.cpp index 13996d7..af08d2c 100644 --- a/linden/indra/lscript/lscript_library/lscript_library.cpp +++ b/linden/indra/lscript/lscript_library/lscript_library.cpp | |||
@@ -563,6 +563,13 @@ void LLScriptLibrary::init() | |||
563 | addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetSpeed", NULL, "kf", "osSetSpeed(key AVATAR, float SpeedModifier)\nMultiplies the normal running, walking, and flying speed of the specified avatar.\n(OpenSim only.)")); | 563 | addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetSpeed", NULL, "kf", "osSetSpeed(key AVATAR, float SpeedModifier)\nMultiplies the normal running, walking, and flying speed of the specified avatar.\n(OpenSim only.)")); |
564 | addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osCauseDamage", NULL, "kf", "osCauseDamage(key AVATAR, float damage)\nCauses damage to specified AVATAR (UUID).\n(OpenSim only.)")); | 564 | addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osCauseDamage", NULL, "kf", "osCauseDamage(key AVATAR, float damage)\nCauses damage to specified AVATAR (UUID).\n(OpenSim only.)")); |
565 | addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osCauseHealing", NULL, "kf", "osCauseHealing(key AVATAR, float healing)\nCauses Healing to specified AVATAR (UUID).\n(OpenSim only.)")); | 565 | addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osCauseHealing", NULL, "kf", "osCauseHealing(key AVATAR, float healing)\nCauses Healing to specified AVATAR (UUID).\n(OpenSim only.)")); |
566 | |||
567 | |||
568 | // LightShare functions | ||
569 | addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "cmSetWindlightScene", "i", "l", "integer cmSetWindlightScene(list rules)\nSet the current WindLight scene. Restricted to estate managers and owners only.")); | ||
570 | addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "cmSetWindlightSceneTargeted", "i", "lk", "integer cmSetWindlightSceneTargeted(list rules, key target)\nSet the current WindLight scene directed to a specific avatar. Restricted to estate managers and owners only.")); | ||
571 | addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "cmGetWindlightScene", "l", "l", "list cmGetWindlightScene(list rules)\nGet the current WindLight settings.")); | ||
572 | |||
566 | } | 573 | } |
567 | 574 | ||
568 | LLScriptLibraryFunction::LLScriptLibraryFunction(F32 eu, F32 st, void (*exec_func)(LLScriptLibData *, LLScriptLibData *, const LLUUID &), const char *name, const char *ret_type, const char *args, const char *desc, BOOL god_only) | 575 | LLScriptLibraryFunction::LLScriptLibraryFunction(F32 eu, F32 st, void (*exec_func)(LLScriptLibData *, LLScriptLibData *, const LLUUID &), const char *name, const char *ret_type, const char *args, const char *desc, BOOL god_only) |