aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples
diff options
context:
space:
mode:
authorAdam Frisby2007-07-15 15:40:50 +0000
committerAdam Frisby2007-07-15 15:40:50 +0000
commit8fc1dfec792f3527c7f153bd49852519d561d17a (patch)
tree0aae20f07b43c4ac9a4f2d5fff3f7eb1619733ab /OpenSim/Region/Examples
parent* Typo in prebuild.xml (diff)
downloadopensim-SC_OLD-8fc1dfec792f3527c7f153bd49852519d561d17a.zip
opensim-SC_OLD-8fc1dfec792f3527c7f153bd49852519d561d17a.tar.gz
opensim-SC_OLD-8fc1dfec792f3527c7f153bd49852519d561d17a.tar.bz2
opensim-SC_OLD-8fc1dfec792f3527c7f153bd49852519d561d17a.tar.xz
* Added loading methods for NullStorage.
Diffstat (limited to 'OpenSim/Region/Examples')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/MyWorld.cs6
-rw-r--r--OpenSim/Region/Examples/SimpleApp/Program.cs4
2 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
index d0e3fed..bdf1263 100644
--- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
+++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
@@ -8,6 +8,8 @@ using OpenSim.Framework.Types;
8using OpenSim.Region.Caches; 8using OpenSim.Region.Caches;
9using OpenSim.Region.Environment.Scenes; 9using OpenSim.Region.Environment.Scenes;
10using OpenSim.Region.Terrain; 10using OpenSim.Region.Terrain;
11using OpenSim.Region.Environment;
12
11using Avatar=OpenSim.Region.Environment.Scenes.ScenePresence; 13using Avatar=OpenSim.Region.Environment.Scenes.ScenePresence;
12 14
13namespace SimpleApp 15namespace SimpleApp
@@ -16,8 +18,8 @@ namespace SimpleApp
16 { 18 {
17 private List<ScenePresence> m_avatars; 19 private List<ScenePresence> m_avatars;
18 20
19 public MyWorld(ClientManager clientManager, RegionInfo regionInfo, AuthenticateSessionsBase authen, CommunicationsManager commsMan, AssetCache assetCach, BaseHttpServer httpServer) 21 public MyWorld(ClientManager clientManager, RegionInfo regionInfo, AuthenticateSessionsBase authen, CommunicationsManager commsMan, AssetCache assetCach, StorageManager storeMan, BaseHttpServer httpServer)
20 : base(clientManager, regionInfo, authen, commsMan, assetCach, httpServer) 22 : base(clientManager, regionInfo, authen, commsMan, assetCach, storeMan, httpServer)
21 { 23 {
22 m_avatars = new List<Avatar>(); 24 m_avatars = new List<Avatar>();
23 } 25 }
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs
index ce60512..1c502ed 100644
--- a/OpenSim/Region/Examples/SimpleApp/Program.cs
+++ b/OpenSim/Region/Examples/SimpleApp/Program.cs
@@ -60,7 +60,9 @@ namespace SimpleApp
60 60
61 RegionInfo regionInfo = new RegionInfo(1000, 1000, internalEndPoint, "127.0.0.1"); 61 RegionInfo regionInfo = new RegionInfo(1000, 1000, internalEndPoint, "127.0.0.1");
62 62
63 world = new MyWorld(packetServer.ClientManager, regionInfo, m_circuitManager, communicationsManager, assetCache, httpServer); 63 OpenSim.Region.Environment.StorageManager storeMan = new OpenSim.Region.Environment.StorageManager("OpenSim.DataStore.NullStorage.dll", "simpleapp.yap", "simpleapp");
64
65 world = new MyWorld(packetServer.ClientManager, regionInfo, m_circuitManager, communicationsManager, assetCache, storeMan, httpServer);
64 world.PhysScene = physManager.GetPhysicsScene("basicphysics"); //PhysicsScene.Null; 66 world.PhysScene = physManager.GetPhysicsScene("basicphysics"); //PhysicsScene.Null;
65 67
66 world.LoadWorldMap(); 68 world.LoadWorldMap();