Server list, lighting/los optimization

This commit is contained in:
Regalis
2015-08-07 23:10:12 +03:00
parent 08c5117e8f
commit 0937c30f15
45 changed files with 36611 additions and 41 deletions
+9
View File
@@ -31,6 +31,12 @@ namespace Subsurface
set;
}
public string MasterServerUrl
{
get;
private set;
}
public GameSettings(string filePath)
{
Load(filePath);
@@ -53,6 +59,9 @@ namespace Subsurface
GraphicsHeight = 768;
}
MasterServerUrl = ToolBox.GetAttributeString(doc.Root, "masterserverurl", "");
foreach (XElement subElement in doc.Root.Elements())
{
switch (subElement.Name.ToString().ToLower())