diff options
author | lbsa71 | 2007-07-01 21:16:45 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-01 21:16:45 +0000 |
commit | 2d34caabb9e3c346602566f7724c5e21014ed4ed (patch) | |
tree | def5cd87149c426a955f0db27298a4669f4f61c7 /OpenSim/Region/Examples/SimpleApp | |
parent | More work on SceneObject/Primitive and building (Linking is a work in progres... (diff) | |
download | opensim-SC_OLD-2d34caabb9e3c346602566f7724c5e21014ed4ed.zip opensim-SC_OLD-2d34caabb9e3c346602566f7724c5e21014ed4ed.tar.gz opensim-SC_OLD-2d34caabb9e3c346602566f7724c5e21014ed4ed.tar.bz2 opensim-SC_OLD-2d34caabb9e3c346602566f7724c5e21014ed4ed.tar.xz |
* removed try-catchall from scene constructor
* added reference server-side addnewprim prototype to Scene - not implementet yet though.
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/MyWorld.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/Program.cs | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs index fe1fc16..3ba9c77 100644 --- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs +++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs | |||
@@ -78,6 +78,9 @@ namespace SimpleApp | |||
78 | pos, null); | 78 | pos, null); |
79 | 79 | ||
80 | client.SendChatMessage("Welcome to My World.", 1, pos, "System", LLUUID.Zero ); | 80 | client.SendChatMessage("Welcome to My World.", 1, pos, "System", LLUUID.Zero ); |
81 | |||
82 | |||
83 | |||
81 | }; | 84 | }; |
82 | 85 | ||
83 | client.SendRegionHandshake(m_regionInfo); | 86 | client.SendRegionHandshake(m_regionInfo); |
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index f5c6999..8e9ad75 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs | |||
@@ -16,6 +16,7 @@ using OpenSim.Region.Communications.Local; | |||
16 | using OpenSim.Region.ClientStack; | 16 | using OpenSim.Region.ClientStack; |
17 | using OpenSim.Region.Physics.BasicPhysicsPlugin; | 17 | using OpenSim.Region.Physics.BasicPhysicsPlugin; |
18 | using System.Net; | 18 | using System.Net; |
19 | using libsecondlife.Packets; | ||
19 | 20 | ||
20 | namespace SimpleApp | 21 | namespace SimpleApp |
21 | { | 22 | { |
@@ -23,6 +24,7 @@ namespace SimpleApp | |||
23 | { | 24 | { |
24 | private LogBase m_log; | 25 | private LogBase m_log; |
25 | AuthenticateSessionsBase m_circuitManager; | 26 | AuthenticateSessionsBase m_circuitManager; |
27 | uint m_localId; | ||
26 | 28 | ||
27 | private void Run() | 29 | private void Run() |
28 | { | 30 | { |
@@ -65,6 +67,12 @@ namespace SimpleApp | |||
65 | 67 | ||
66 | m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit."); | 68 | m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit."); |
67 | m_log.ReadLine(); | 69 | m_log.ReadLine(); |
70 | |||
71 | PrimData primData = new PrimData(); | ||
72 | primData.Scale = new LLVector3(1, 1, 1); | ||
73 | |||
74 | m_localId = world.AddNewPrim( LLUUID.Zero, primData, LLVector3.Zero, new LLQuaternion(0, 0, 0, 0), LLUUID.Zero, 0); | ||
75 | |||
68 | } | 76 | } |
69 | 77 | ||
70 | private bool AddNewSessionHandler(ulong regionHandle, Login loginData) | 78 | private bool AddNewSessionHandler(ulong regionHandle, Login loginData) |