Faction Test v1.0.1.0

This commit is contained in:
Regalis11
2023-02-16 15:01:28 +02:00
parent caa5a2f762
commit 2c5a7923b0
309 changed files with 7502 additions and 4335 deletions
@@ -110,6 +110,7 @@ namespace Barotrauma
#if CLIENT
retVal.KeyMap = new KeyMapping(element.GetChildElements("keymapping"), retVal.KeyMap);
retVal.InventoryKeyMap = new InventoryKeyMapping(element.GetChildElements("inventorykeymapping"), retVal.InventoryKeyMap);
retVal.SavedCampaignSettings = element.GetChildElement("campaignsettings");
LoadSubEditorImages(element);
#endif
@@ -139,6 +140,9 @@ namespace Barotrauma
public bool DisableInGameHints;
public bool EnableSubmarineAutoSave;
public Identifier QuickStartSub;
#if CLIENT
public XElement SavedCampaignSettings;
#endif
#if DEBUG
public bool UseSteamMatchmaking;
public bool RequireSteamAuthentication;
@@ -230,7 +234,7 @@ namespace Barotrauma
SoundVolume = 0.5f,
UiVolume = 0.3f,
VoiceChatVolume = 0.5f,
VoiceChatCutoffPrevention = 0,
VoiceChatCutoffPrevention = 200,
MicrophoneVolume = 5,
MuteOnFocusLost = false,
DynamicRangeCompressionEnabled = true,
@@ -618,6 +622,8 @@ namespace Barotrauma
root.Add(inventoryKeyMappingElement);
SubEditorScreen.ImageManager.Save(root);
root.Add(CampaignSettings.CurrentSettings.Save());
#endif
configDoc.SaveSafe(PlayerConfigPath);