Checkboxes, Delegates, Create Server.

This commit is contained in:
Paul Chote
2010-03-17 22:00:44 +13:00
parent 2a1d9cba7f
commit 48370612a0
8 changed files with 159 additions and 60 deletions

View File

@@ -155,18 +155,7 @@ namespace OpenRA
{
orderManager = new OrderManager(new EchoConnection());
}
internal static void CreateServer()
{
Log.Write("Creating server");
// todo: LobbyInfo is the wrong place for this.
Server.Server.ServerMain(Settings.InternetServer, Settings.MasterServer, Settings.GameName, Settings.ListenPort,
Settings.ExternalPort, LobbyInfo.GlobalSettings.Mods);
Log.Write("Joining server");
JoinServer(IPAddress.Loopback.ToString(), Settings.ListenPort);
}
static int lastTime = Environment.TickCount;
public static void ResetTimer()