aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleApp
diff options
context:
space:
mode:
authorJeff Ames2007-12-07 02:00:35 +0000
committerJeff Ames2007-12-07 02:00:35 +0000
commita45118d35e35c3f46ad165f978efd8d87e0da2b1 (patch)
tree931387e9596b4d390ed926a68d9fe087066d4717 /OpenSim/Region/Examples/SimpleApp
parentadded a lock to prevent multiple Timer popping races (diff)
downloadopensim-SC_OLD-a45118d35e35c3f46ad165f978efd8d87e0da2b1.zip
opensim-SC_OLD-a45118d35e35c3f46ad165f978efd8d87e0da2b1.tar.gz
opensim-SC_OLD-a45118d35e35c3f46ad165f978efd8d87e0da2b1.tar.bz2
opensim-SC_OLD-a45118d35e35c3f46ad165f978efd8d87e0da2b1.tar.xz
added one more command to the console help.
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/MyWorld.cs9
1 files changed, 2 insertions, 7 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
index 535d519..d5f702d 100644
--- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
+++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
@@ -34,7 +34,6 @@ using OpenSim.Framework.Communications.Cache;
34using OpenSim.Framework.Servers; 34using OpenSim.Framework.Servers;
35using OpenSim.Region.Environment; 35using OpenSim.Region.Environment;
36using OpenSim.Region.Environment.Scenes; 36using OpenSim.Region.Environment.Scenes;
37using Avatar=OpenSim.Region.Environment.Scenes.ScenePresence;
38 37
39namespace SimpleApp 38namespace SimpleApp
40{ 39{
@@ -47,7 +46,7 @@ namespace SimpleApp
47 ModuleLoader moduleLoader, bool physicalPrim, bool ChildGetTasks) 46 ModuleLoader moduleLoader, bool physicalPrim, bool ChildGetTasks)
48 : base(regionInfo, authen, permissionManager, commsMan, sceneGridService, assetCach, storeMan, httpServer, moduleLoader, false, true, false) 47 : base(regionInfo, authen, permissionManager, commsMan, sceneGridService, assetCach, storeMan, httpServer, moduleLoader, false, true, false)
49 { 48 {
50 m_avatars = new List<Avatar>(); 49 m_avatars = new List<ScenePresence>();
51 } 50 }
52 51
53 public override void LoadWorldMap() 52 public override void LoadWorldMap()
@@ -56,9 +55,6 @@ namespace SimpleApp
56 55
57 for (int i = 0; i < 65536; i++) 56 for (int i = 0; i < 65536; i++)
58 { 57 {
59 //int x = i%256;
60 //int y = i/256;
61
62 map[i] = 25f; 58 map[i] = 25f;
63 } 59 }
64 60
@@ -77,8 +73,7 @@ namespace SimpleApp
77 73
78 client.OnCompleteMovementToRegion += 74 client.OnCompleteMovementToRegion +=
79 delegate() { client.SendChatMessage("Welcome to My World.", 1, pos, "System", LLUUID.Zero); }; 75 delegate() { client.SendChatMessage("Welcome to My World.", 1, pos, "System", LLUUID.Zero); };
80 76
81
82 client.SendRegionHandshake(m_regInfo); 77 client.SendRegionHandshake(m_regInfo);
83 } 78 }
84 } 79 }