aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler
diff options
context:
space:
mode:
authorTedd Hansen2008-02-24 16:23:02 +0000
committerTedd Hansen2008-02-24 16:23:02 +0000
commit952c8de189731a644ddd3a06b85472845af67033 (patch)
tree0f3b6dca252e2f69d451e8d0db603a0e7608e54e /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler
parentImplemented object oriented Prim.Position, Prim.Rotation and Prim.Text. (diff)
downloadopensim-SC_OLD-952c8de189731a644ddd3a06b85472845af67033.zip
opensim-SC_OLD-952c8de189731a644ddd3a06b85472845af67033.tar.gz
opensim-SC_OLD-952c8de189731a644ddd3a06b85472845af67033.tar.bz2
opensim-SC_OLD-952c8de189731a644ddd3a06b85472845af67033.tar.xz
Forgot to change what class compiled scripts must inherit from to get their commands :)
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
index e7b33f6..fe30119 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
@@ -289,7 +289,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
289 compileScript = String.Empty + 289 compileScript = String.Empty +
290 "import OpenSim.Region.ScriptEngine.Common; import System.Collections.Generic;\r\n" + 290 "import OpenSim.Region.ScriptEngine.Common; import System.Collections.Generic;\r\n" +
291 "package SecondLife {\r\n" + 291 "package SecondLife {\r\n" +
292 "class Script extends OpenSim.Region.ScriptEngine.Common.LSL_BaseClass { \r\n" + 292 "class Script extends OpenSim.Region.ScriptEngine.Common.BuilIn_Commands { \r\n" +
293 compileScript + 293 compileScript +
294 "} }\r\n"; 294 "} }\r\n";
295 return compileScript; 295 return compileScript;
@@ -300,7 +300,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
300 compileScript = String.Empty + 300 compileScript = String.Empty +
301 "using OpenSim.Region.ScriptEngine.Common; using System.Collections.Generic;\r\n" + 301 "using OpenSim.Region.ScriptEngine.Common; using System.Collections.Generic;\r\n" +
302 String.Empty + "namespace SecondLife { " + 302 String.Empty + "namespace SecondLife { " +
303 String.Empty + "public class Script : OpenSim.Region.ScriptEngine.Common.LSL_BaseClass { \r\n" + 303 String.Empty + "public class Script : OpenSim.Region.ScriptEngine.Common.BuilIn_Commands { \r\n" +
304 @"public Script() { } " + 304 @"public Script() { } " +
305 compileScript + 305 compileScript +
306 "} }\r\n"; 306 "} }\r\n";
@@ -312,7 +312,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
312 compileScript = String.Empty + 312 compileScript = String.Empty +
313 "Imports OpenSim.Region.ScriptEngine.Common: Imports System.Collections.Generic: " + 313 "Imports OpenSim.Region.ScriptEngine.Common: Imports System.Collections.Generic: " +
314 String.Empty + "NameSpace SecondLife:" + 314 String.Empty + "NameSpace SecondLife:" +
315 String.Empty + "Public Class Script: Inherits OpenSim.Region.ScriptEngine.Common.LSL_BaseClass: " + 315 String.Empty + "Public Class Script: Inherits OpenSim.Region.ScriptEngine.Common.BuilIn_Commands: " +
316 "\r\nPublic Sub New()\r\nEnd Sub: " + 316 "\r\nPublic Sub New()\r\nEnd Sub: " +
317 compileScript + 317 compileScript +
318 ":End Class :End Namespace\r\n"; 318 ":End Class :End Namespace\r\n";