diff options
author | lbsa71 | 2007-08-16 18:40:44 +0000 |
---|---|---|
committer | lbsa71 | 2007-08-16 18:40:44 +0000 |
commit | e53d680d4154ddd730f7b7d4779ab9a95de78fae (patch) | |
tree | bad9dee96fdb17ca675bbbc594dc877c67f3cea4 /OpenSim/Region/Environment/Scenes/Scripting | |
parent | Had to rename Rotation in SceneObjectGroup to GroupRotation to stop conflict ... (diff) | |
download | opensim-SC-e53d680d4154ddd730f7b7d4779ab9a95de78fae.zip opensim-SC-e53d680d4154ddd730f7b7d4779ab9a95de78fae.tar.gz opensim-SC-e53d680d4154ddd730f7b7d4779ab9a95de78fae.tar.bz2 opensim-SC-e53d680d4154ddd730f7b7d4779ab9a95de78fae.tar.xz |
* Now sending manager, host and root host to Script in constructor.
* Changed how Script accesses World
* Implemented llSay, llWhisper and llShout
* Added SetText() to IScriptHost, implemented llText
* Minor renamings to conform with code conventions
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs b/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs index 1c14264..5d5f698 100644 --- a/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs +++ b/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs | |||
@@ -10,5 +10,6 @@ namespace OpenSim.Region.Environment.Scenes.Scripting | |||
10 | string Name { get; } | 10 | string Name { get; } |
11 | LLUUID UUID { get; } | 11 | LLUUID UUID { get; } |
12 | LLVector3 AbsolutePosition { get; } | 12 | LLVector3 AbsolutePosition { get; } |
13 | void SetText(string text, Axiom.Math.Vector3 color, double alpha); | ||
13 | } | 14 | } |
14 | } | 15 | } |
diff --git a/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs b/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs index a55c87e..03587de 100644 --- a/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs +++ b/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs | |||
@@ -22,5 +22,10 @@ namespace OpenSim.Region.Environment.Scenes.Scripting | |||
22 | { | 22 | { |
23 | get { return m_pos; } | 23 | get { return m_pos; } |
24 | } | 24 | } |
25 | |||
26 | public void SetText(string text, Axiom.Math.Vector3 color, double alpha) | ||
27 | { | ||
28 | Console.WriteLine("Tried to SetText [{0}] on NullScriptHost", text); | ||
29 | } | ||
25 | } | 30 | } |
26 | } | 31 | } |