aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorlbsa712007-07-16 18:10:27 +0000
committerlbsa712007-07-16 18:10:27 +0000
commit4a17587b8df120d8a588533933ffb374c87c5d7a (patch)
treed7c356208e091732a6fb09b133499520b6ad2058 /OpenSim/Region/ClientStack
parent* Rigged up LSL Script Engine to OpenSim - not quite fully tied yet however, ... (diff)
downloadopensim-SC_OLD-4a17587b8df120d8a588533933ffb374c87c5d7a.zip
opensim-SC_OLD-4a17587b8df120d8a588533933ffb374c87c5d7a.tar.gz
opensim-SC_OLD-4a17587b8df120d8a588533933ffb374c87c5d7a.tar.bz2
opensim-SC_OLD-4a17587b8df120d8a588533933ffb374c87c5d7a.tar.xz
* Restructured the RegionApplicationBase.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/RegionApplicationBase.cs59
1 files changed, 3 insertions, 56 deletions
diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs
index ed7df17..610f2d9 100644
--- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs
+++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs
@@ -42,22 +42,13 @@ namespace OpenSim.Region.ClientStack
42{ 42{
43 public class RegionApplicationBase 43 public class RegionApplicationBase
44 { 44 {
45 protected IGenericConfig localConfig; 45 protected PhysicsManager m_physicsManager;
46 protected PhysicsManager physManager;
47 protected AssetCache AssetCache; 46 protected AssetCache AssetCache;
48 protected InventoryCache InventoryCache; 47 protected InventoryCache InventoryCache;
49 protected Dictionary<EndPoint, uint> clientCircuits = new Dictionary<EndPoint, uint>(); 48 protected Dictionary<EndPoint, uint> clientCircuits = new Dictionary<EndPoint, uint>();
50 protected DateTime startuptime; 49 protected DateTime startuptime;
51 protected NetworkServersInfo serversData; 50 protected NetworkServersInfo serversData;
52 51
53 public string m_physicsEngine;
54 public bool m_sandbox = false;
55 public bool m_loginserver;
56 public bool user_accounts = false;
57 public bool gridLocalAsset = false;
58 protected bool configFileSetup = false;
59 public string m_config;
60
61 protected List<UDPServer> m_udpServer = new List<UDPServer>(); 52 protected List<UDPServer> m_udpServer = new List<UDPServer>();
62 protected List<RegionInfo> regionData = new List<RegionInfo>(); 53 protected List<RegionInfo> regionData = new List<RegionInfo>();
63 protected List<IWorld> m_localWorld = new List<IWorld>(); 54 protected List<IWorld> m_localWorld = new List<IWorld>();
@@ -66,53 +57,9 @@ namespace OpenSim.Region.ClientStack
66 57
67 protected LogBase m_log; 58 protected LogBase m_log;
68 59
69 public RegionApplicationBase() 60 public RegionApplicationBase( )
70 {
71
72 }
73
74 public RegionApplicationBase(bool sandBoxMode, bool startLoginServer, string physicsEngine, bool useConfigFile, bool silent, string configFile)
75 {
76 this.configFileSetup = useConfigFile;
77 m_sandbox = sandBoxMode;
78 m_loginserver = startLoginServer;
79 m_physicsEngine = physicsEngine;
80 m_config = configFile;
81 }
82
83 /*protected World m_localWorld;
84 public World LocalWorld
85 {
86 get { return m_localWorld; }
87 }*/
88
89 /// <summary>
90 /// Performs initialisation of the world, such as loading configuration from disk.
91 /// </summary>
92 public virtual void StartUp()
93 { 61 {
94 } 62
95
96 protected virtual void SetupLocalGridServers()
97 {
98 }
99
100 protected virtual void SetupRemoteGridServers()
101 {
102
103 }
104
105 protected virtual void SetupScene()
106 {
107 }
108
109 protected virtual void SetupHttpListener()
110 {
111 }
112
113 protected virtual void ConnectToRemoteGridServer()
114 {
115
116 } 63 }
117 } 64 }
118} 65}