diff options
author | Tedd Hansen | 2007-08-10 16:22:20 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-08-10 16:22:20 +0000 |
commit | 8b17e4da10c6d5cb371909ec1d79c35c0ff55f8d (patch) | |
tree | 3ac6e0e15ed5c54db3a7a89bc96286ba6b784a76 /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | |
parent | Removed a piece of debug code (diff) | |
download | opensim-SC_OLD-8b17e4da10c6d5cb371909ec1d79c35c0ff55f8d.zip opensim-SC_OLD-8b17e4da10c6d5cb371909ec1d79c35c0ff55f8d.tar.gz opensim-SC_OLD-8b17e4da10c6d5cb371909ec1d79c35c0ff55f8d.tar.bz2 opensim-SC_OLD-8b17e4da10c6d5cb371909ec1d79c35c0ff55f8d.tar.xz |
Renamed Compiler.LSL to Compiler.LSO
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs deleted file mode 100644 index b88a905..0000000 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using System.IO; | ||
5 | |||
6 | namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | ||
7 | { | ||
8 | public partial class LSL_BaseClass | ||
9 | { | ||
10 | //public MemoryStream LSLStack = new MemoryStream(); | ||
11 | public Stack<object> LSLStack = new Stack<object>(); | ||
12 | public Dictionary<UInt32, object> StaticVariables = new Dictionary<UInt32, object>(); | ||
13 | public Dictionary<UInt32, object> GlobalVariables = new Dictionary<UInt32, object>(); | ||
14 | public Dictionary<UInt32, object> LocalVariables = new Dictionary<UInt32, object>(); | ||
15 | //public System.Collections.Generic.List<string> FunctionList = new System.Collections.Generic.List<string>(); | ||
16 | //public void AddFunction(String x) { | ||
17 | // FunctionList.Add(x); | ||
18 | //} | ||
19 | //public Stack<StackItemStruct> LSLStack = new Stack<StackItemStruct>; | ||
20 | //public struct StackItemStruct | ||
21 | //{ | ||
22 | // public LSO_Enums.Variable_Type_Codes ItemType; | ||
23 | // public object Data; | ||
24 | //} | ||
25 | public UInt32 State = 0; | ||
26 | public LSL_BuiltIn_Commands_Interface LSL_Builtins; | ||
27 | public LSL_BuiltIn_Commands_Interface GetLSL_BuiltIn() | ||
28 | { | ||
29 | return LSL_Builtins; | ||
30 | } | ||
31 | |||
32 | |||
33 | public LSL_BaseClass() { } | ||
34 | |||
35 | |||
36 | public virtual int OverrideMe() | ||
37 | { | ||
38 | return 0; | ||
39 | } | ||
40 | public void Start(LSL_BuiltIn_Commands_Interface LSLBuiltins) | ||
41 | { | ||
42 | LSL_Builtins = LSLBuiltins; | ||
43 | |||
44 | Common.SendToLog("OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass.Start() called"); | ||
45 | //LSL_Builtins.llSay(0, "Test"); | ||
46 | return; | ||
47 | } | ||
48 | |||
49 | public void AddToStatic(UInt32 index, object obj) | ||
50 | { | ||
51 | Common.SendToDebug("AddToStatic: " + index + " type: " + obj.GetType()); | ||
52 | StaticVariables.Add(index, obj); | ||
53 | } | ||
54 | |||
55 | |||
56 | |||
57 | } | ||
58 | } | ||