diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs index bac8bde..f941bc0 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs | |||
@@ -13,12 +13,12 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
13 | 13 | ||
14 | public LSL2CSConverter() | 14 | public LSL2CSConverter() |
15 | { | 15 | { |
16 | 16 | // Only the types we need to convert | |
17 | DataTypes.Add("void", "void"); | 17 | DataTypes.Add("void", "void"); |
18 | DataTypes.Add("integer", "System.Int32"); | 18 | DataTypes.Add("integer", "int"); |
19 | DataTypes.Add("float", "System.Double"); | 19 | DataTypes.Add("float", "double"); |
20 | DataTypes.Add("string", "string"); | 20 | DataTypes.Add("string", "string"); |
21 | DataTypes.Add("key", "System.String"); | 21 | DataTypes.Add("key", "string"); |
22 | DataTypes.Add("vector", "LSL_Types.Vector3"); | 22 | DataTypes.Add("vector", "LSL_Types.Vector3"); |
23 | DataTypes.Add("rotation", "LSL_Types.Quaternion"); | 23 | DataTypes.Add("rotation", "LSL_Types.Quaternion"); |
24 | DataTypes.Add("list", "list"); | 24 | DataTypes.Add("list", "list"); |
@@ -230,13 +230,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
230 | 230 | ||
231 | // Add namespace, class name and inheritance | 231 | // Add namespace, class name and inheritance |
232 | 232 | ||
233 | Return = "" + | 233 | Return = "";// + |
234 | "using System; " + | 234 | //"using System; " + |
235 | "using System.Collections.Generic; " + | 235 | //"using System.Collections.Generic; " + |
236 | "using System.Text; " + | 236 | //"using System.Text; " + |
237 | "using OpenSim.Region.ScriptEngine.Common; " + | 237 | //"using OpenSim.Region.ScriptEngine.Common; " + |
238 | "using integer = System.Int32; " + | 238 | //"using integer = System.Int32; " + |
239 | "using key = System.String; "; | 239 | //"using key = System.String; "; |
240 | 240 | ||
241 | //// Make a Using out of DataTypes | 241 | //// Make a Using out of DataTypes |
242 | //// Using integer = System.Int32; | 242 | //// Using integer = System.Int32; |