v1.3.0.1 (Epic Store release)

This commit is contained in:
Regalis11
2024-03-28 18:34:33 +02:00
parent 81ca8637be
commit 3791670c42
269 changed files with 13160 additions and 2966 deletions
@@ -8,6 +8,7 @@ using Barotrauma.Steam;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Xml.Linq;
using Barotrauma.Debugging;
#if WINDOWS
using SharpDX;
@@ -17,7 +18,6 @@ using SharpDX;
namespace Barotrauma
{
#if WINDOWS || LINUX || OSX
/// <summary>
/// The main class.
/// </summary>
@@ -52,7 +52,10 @@ namespace Barotrauma
Game = null;
executableDir = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
Directory.SetCurrentDirectory(executableDir);
SteamManager.Initialize();
DebugConsoleCore.Init(
newMessage: (s, c) => DebugConsole.NewMessage(s, c),
log: DebugConsole.Log);
StoreIntegration.Init(ref args);
EnableNvOptimus();
Game = new GameMain(args);
Game.Run();
@@ -188,6 +191,10 @@ namespace Barotrauma
{
sb.AppendLine("SteamManager initialized");
}
else if (EosInterface.IdQueries.IsLoggedIntoEosConnect)
{
sb.AppendLine("Logged in to EOS connect");
}
if (GameMain.Client != null)
{
@@ -344,6 +351,4 @@ namespace Barotrauma
}
}
#endif
}
}