diff options
author | MW | 2007-04-25 13:03:48 +0000 |
---|---|---|
committer | MW | 2007-04-25 13:03:48 +0000 |
commit | f7b51d63a87a6703d7cb8f376d1f3f7ec6ede8a0 (patch) | |
tree | b9f8f1dac346906f1333aa3fc8da704466eda005 /OpenSim.RegionServer/world | |
parent | * Added try{}catch{} to RunTerrainCmd (diff) | |
download | opensim-SC-f7b51d63a87a6703d7cb8f376d1f3f7ec6ede8a0.zip opensim-SC-f7b51d63a87a6703d7cb8f376d1f3f7ec6ede8a0.tar.gz opensim-SC-f7b51d63a87a6703d7cb8f376d1f3f7ec6ede8a0.tar.bz2 opensim-SC-f7b51d63a87a6703d7cb8f376d1f3f7ec6ede8a0.tar.xz |
Small clean up of files and directories
Diffstat (limited to '')
-rw-r--r-- | OpenSim.RegionServer/world/Primitive.cs | 2 | ||||
-rw-r--r-- | OpenSim.RegionServer/world/Primitive2.cs | 2 | ||||
-rw-r--r-- | OpenSim.RegionServer/world/ScriptEngine.cs | 18 | ||||
-rw-r--r-- | OpenSim.RegionServer/world/SurfacePatch.cs | 22 | ||||
-rw-r--r-- | OpenSim.RegionServer/world/World.cs | 6 | ||||
-rw-r--r-- | OpenSim.RegionServer/world/WorldPacketHandlers.cs | 2 | ||||
-rw-r--r-- | OpenSim.RegionServer/world/WorldScripting.cs | 1 | ||||
-rw-r--r-- | OpenSim.RegionServer/world/scripting/IScript.cs | 16 |
8 files changed, 7 insertions, 62 deletions
diff --git a/OpenSim.RegionServer/world/Primitive.cs b/OpenSim.RegionServer/world/Primitive.cs index 6fb5d72..6124248 100644 --- a/OpenSim.RegionServer/world/Primitive.cs +++ b/OpenSim.RegionServer/world/Primitive.cs | |||
@@ -6,7 +6,7 @@ using libsecondlife; | |||
6 | using libsecondlife.Packets; | 6 | using libsecondlife.Packets; |
7 | using OpenSim.Framework.Interfaces; | 7 | using OpenSim.Framework.Interfaces; |
8 | using OpenSim.Physics.Manager; | 8 | using OpenSim.Physics.Manager; |
9 | using OpenSim.Framework.Assets; | 9 | using OpenSim.Framework.Types; |
10 | 10 | ||
11 | namespace OpenSim.world | 11 | namespace OpenSim.world |
12 | { | 12 | { |
diff --git a/OpenSim.RegionServer/world/Primitive2.cs b/OpenSim.RegionServer/world/Primitive2.cs index 616dc25..34e32f8 100644 --- a/OpenSim.RegionServer/world/Primitive2.cs +++ b/OpenSim.RegionServer/world/Primitive2.cs | |||
@@ -6,7 +6,7 @@ using libsecondlife; | |||
6 | using libsecondlife.Packets; | 6 | using libsecondlife.Packets; |
7 | using OpenSim.Framework.Interfaces; | 7 | using OpenSim.Framework.Interfaces; |
8 | using OpenSim.Physics.Manager; | 8 | using OpenSim.Physics.Manager; |
9 | using OpenSim.Framework.Assets; | 9 | using OpenSim.Framework.Types; |
10 | using OpenSim.Framework.Inventory; | 10 | using OpenSim.Framework.Inventory; |
11 | 11 | ||
12 | namespace OpenSim.world | 12 | namespace OpenSim.world |
diff --git a/OpenSim.RegionServer/world/ScriptEngine.cs b/OpenSim.RegionServer/world/ScriptEngine.cs deleted file mode 100644 index f20a08e..0000000 --- a/OpenSim.RegionServer/world/ScriptEngine.cs +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.world | ||
6 | { | ||
7 | public class ScriptEngine | ||
8 | { | ||
9 | public ScriptEngine(World env) | ||
10 | { | ||
11 | } | ||
12 | |||
13 | public void LoadScript() | ||
14 | { | ||
15 | |||
16 | } | ||
17 | } | ||
18 | } | ||
diff --git a/OpenSim.RegionServer/world/SurfacePatch.cs b/OpenSim.RegionServer/world/SurfacePatch.cs deleted file mode 100644 index 71e4116..0000000 --- a/OpenSim.RegionServer/world/SurfacePatch.cs +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.world | ||
6 | { | ||
7 | public class SurfacePatch | ||
8 | { | ||
9 | public float[] HeightMap; | ||
10 | |||
11 | public SurfacePatch() { | ||
12 | HeightMap = new float[16*16]; | ||
13 | |||
14 | int xinc; | ||
15 | int yinc; | ||
16 | for(xinc=0; xinc<16; xinc++) for(yinc=0; yinc<16; yinc++) { | ||
17 | HeightMap[xinc+(yinc*16)]=100.0f; | ||
18 | } | ||
19 | |||
20 | } | ||
21 | } | ||
22 | } | ||
diff --git a/OpenSim.RegionServer/world/World.cs b/OpenSim.RegionServer/world/World.cs index e0f2e6f..69a6494 100644 --- a/OpenSim.RegionServer/world/World.cs +++ b/OpenSim.RegionServer/world/World.cs | |||
@@ -8,11 +8,11 @@ using System.IO; | |||
8 | using System.Threading; | 8 | using System.Threading; |
9 | using OpenSim.Physics.Manager; | 9 | using OpenSim.Physics.Manager; |
10 | using OpenSim.Framework.Interfaces; | 10 | using OpenSim.Framework.Interfaces; |
11 | using OpenSim.Framework.Assets; | 11 | using OpenSim.Framework.Types; |
12 | using OpenSim.Framework.Terrain; | 12 | using OpenSim.Framework.Terrain; |
13 | using OpenSim.Framework.Inventory; | 13 | using OpenSim.Framework.Inventory; |
14 | using OpenSim.Assets; | 14 | using OpenSim.Assets; |
15 | using OpenSim.world.scripting; | 15 | //using OpenSim.world.scripting; |
16 | using OpenSim.RegionServer.world.scripting; | 16 | using OpenSim.RegionServer.world.scripting; |
17 | using OpenSim.RegionServer.world.scripting.Scripts; | 17 | using OpenSim.RegionServer.world.scripting.Scripts; |
18 | using OpenSim.Terrain; | 18 | using OpenSim.Terrain; |
@@ -25,7 +25,7 @@ namespace OpenSim.world | |||
25 | public Dictionary<libsecondlife.LLUUID, Entity> Entities; | 25 | public Dictionary<libsecondlife.LLUUID, Entity> Entities; |
26 | public Dictionary<libsecondlife.LLUUID, Avatar> Avatars; | 26 | public Dictionary<libsecondlife.LLUUID, Avatar> Avatars; |
27 | public Dictionary<libsecondlife.LLUUID, Primitive> Prims; | 27 | public Dictionary<libsecondlife.LLUUID, Primitive> Prims; |
28 | public ScriptEngine Scripts; | 28 | //public ScriptEngine Scripts; |
29 | public TerrainEngine Terrain; //TODO: Replace TerrainManager with this. | 29 | public TerrainEngine Terrain; //TODO: Replace TerrainManager with this. |
30 | public uint _localNumber = 0; | 30 | public uint _localNumber = 0; |
31 | private PhysicsScene phyScene; | 31 | private PhysicsScene phyScene; |
diff --git a/OpenSim.RegionServer/world/WorldPacketHandlers.cs b/OpenSim.RegionServer/world/WorldPacketHandlers.cs index 0643a4e..70cbc6b 100644 --- a/OpenSim.RegionServer/world/WorldPacketHandlers.cs +++ b/OpenSim.RegionServer/world/WorldPacketHandlers.cs | |||
@@ -5,7 +5,7 @@ using libsecondlife; | |||
5 | using libsecondlife.Packets; | 5 | using libsecondlife.Packets; |
6 | using OpenSim.Physics.Manager; | 6 | using OpenSim.Physics.Manager; |
7 | using OpenSim.Framework.Interfaces; | 7 | using OpenSim.Framework.Interfaces; |
8 | using OpenSim.Framework.Assets; | 8 | using OpenSim.Framework.Types; |
9 | using OpenSim.Framework.Terrain; | 9 | using OpenSim.Framework.Terrain; |
10 | using OpenSim.Framework.Inventory; | 10 | using OpenSim.Framework.Inventory; |
11 | using OpenSim.Assets; | 11 | using OpenSim.Assets; |
diff --git a/OpenSim.RegionServer/world/WorldScripting.cs b/OpenSim.RegionServer/world/WorldScripting.cs index 2f85869..44ef05a 100644 --- a/OpenSim.RegionServer/world/WorldScripting.cs +++ b/OpenSim.RegionServer/world/WorldScripting.cs | |||
@@ -5,6 +5,7 @@ using System.IO; | |||
5 | using System.Reflection; | 5 | using System.Reflection; |
6 | using OpenSim.Framework; | 6 | using OpenSim.Framework; |
7 | using OpenSim.Framework.Interfaces; | 7 | using OpenSim.Framework.Interfaces; |
8 | using OpenSim.Framework.Types; | ||
8 | using libsecondlife; | 9 | using libsecondlife; |
9 | 10 | ||
10 | namespace OpenSim.world | 11 | namespace OpenSim.world |
diff --git a/OpenSim.RegionServer/world/scripting/IScript.cs b/OpenSim.RegionServer/world/scripting/IScript.cs deleted file mode 100644 index 550594d..0000000 --- a/OpenSim.RegionServer/world/scripting/IScript.cs +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.world.scripting | ||
6 | { | ||
7 | public interface IScriptHost { | ||
8 | bool Register(IScript iscript); | ||
9 | } | ||
10 | public interface IScript | ||
11 | { | ||
12 | string Name{get;set;} | ||
13 | IScriptHost Host{get;set;} | ||
14 | void Show(); | ||
15 | } | ||
16 | } | ||