* This is Diva's hypergrid patch, as perviously discussed on the opensim-dev mailing list
* Applied some minor prebuild.xml jiggling to resolve a dependency issue
* Thanks Diva!
This commit is contained in:
Justin Clarke Casey
2008-11-25 15:19:00 +00:00
parent dbe64197ae
commit e187972377
20 changed files with 5557 additions and 186 deletions

View File

@@ -76,11 +76,13 @@ namespace OpenSim
configSource.AddSwitch("Startup", "gridmode");
configSource.AddSwitch("Startup", "physics");
configSource.AddSwitch("Startup", "useexecutepath");
configSource.AddSwitch("Startup", "hypergrid");
configSource.AddConfig("StandAlone");
configSource.AddConfig("Network");
bool background = configSource.Configs["Startup"].GetBoolean("background", false);
bool hgrid = configSource.Configs["Startup"].GetBoolean("hypergrid", false);
if (background)
{
@@ -89,13 +91,19 @@ namespace OpenSim
}
else
{
OpenSimBase sim = new OpenSim(configSource);
OpenSimBase sim = null;
if (hgrid)
sim = new HGOpenSimNode(configSource);
else
sim = new OpenSim(configSource);
sim.Startup();
while (true)
{
MainConsole.Instance.Prompt();
}
}
}