diff options
author | Adam Frisby | 2007-07-15 15:40:50 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-15 15:40:50 +0000 |
commit | 8fc1dfec792f3527c7f153bd49852519d561d17a (patch) | |
tree | 0aae20f07b43c4ac9a4f2d5fff3f7eb1619733ab /OpenSim/Region/Examples/SimpleApp | |
parent | * Typo in prebuild.xml (diff) | |
download | opensim-SC-8fc1dfec792f3527c7f153bd49852519d561d17a.zip opensim-SC-8fc1dfec792f3527c7f153bd49852519d561d17a.tar.gz opensim-SC-8fc1dfec792f3527c7f153bd49852519d561d17a.tar.bz2 opensim-SC-8fc1dfec792f3527c7f153bd49852519d561d17a.tar.xz |
* Added loading methods for NullStorage.
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/MyWorld.cs | 6 | ||||
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/Program.cs | 4 |
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; | |||
8 | using OpenSim.Region.Caches; | 8 | using OpenSim.Region.Caches; |
9 | using OpenSim.Region.Environment.Scenes; | 9 | using OpenSim.Region.Environment.Scenes; |
10 | using OpenSim.Region.Terrain; | 10 | using OpenSim.Region.Terrain; |
11 | using OpenSim.Region.Environment; | ||
12 | |||
11 | using Avatar=OpenSim.Region.Environment.Scenes.ScenePresence; | 13 | using Avatar=OpenSim.Region.Environment.Scenes.ScenePresence; |
12 | 14 | ||
13 | namespace SimpleApp | 15 | namespace 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(); |