Migrate to Open.Nat version 2.0.16

Move the dependency from all libraries to game engine only.
Initialize after the renderer setup to ensure a visible window.
This commit is contained in:
Matthias Mailänder
2016-05-15 11:27:15 +02:00
parent 38295341a8
commit 5245df729d
15 changed files with 81 additions and 155 deletions

View File

@@ -59,14 +59,9 @@ namespace OpenRA
[Desc("Set this to false to disable UPnP even if compatible devices are found.")]
public bool AllowPortForward = true;
public bool NatDeviceAvailable = false; // internal check if discovery succeeded
[Desc("Time in milliseconds to search for UPnP enabled NAT devices.")]
public int NatDiscoveryTimeout = 1000;
[Desc("Print very detailed logs for debugging issues with routers.")]
public bool VerboseNatDiscovery = false;
[Desc("Starts the game with a default map. Input as hash that can be obtained by the utility.")]
public string Map = null;