From 2fad6f3bf1e624a1d74a9a4d12ad2afed9d84796 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sun, 19 Dec 2010 17:41:39 +1300 Subject: [PATCH] move replay viewer delegate into mod --- OpenRA.Game/Network/OrderIO.cs | 2 +- OpenRA.Game/Network/ReplayConnection.cs | 2 +- OpenRA.Game/OpenRA.Game.csproj | 6 ++++-- OpenRA.Mods.RA/ColorPickerPaletteModifier.cs | 2 +- OpenRA.Mods.RA/OpenRA.Mods.RA.csproj | 3 ++- OpenRA.Mods.RA/Widgets/Delegates/LobbyDelegate.cs | 4 +++- .../Widgets/Delegates/ReplayBrowserDelegate.cs | 3 ++- 7 files changed, 14 insertions(+), 8 deletions(-) rename {OpenRA.Game => OpenRA.Mods.RA}/Widgets/Delegates/ReplayBrowserDelegate.cs (95%) diff --git a/OpenRA.Game/Network/OrderIO.cs b/OpenRA.Game/Network/OrderIO.cs index 610824e2f0..5ebf787222 100755 --- a/OpenRA.Game/Network/OrderIO.cs +++ b/OpenRA.Game/Network/OrderIO.cs @@ -13,7 +13,7 @@ using System.IO; namespace OpenRA.Network { - static class OrderIO + public static class OrderIO { public static void Write(this Stream s, byte[] buf) { diff --git a/OpenRA.Game/Network/ReplayConnection.cs b/OpenRA.Game/Network/ReplayConnection.cs index 8ef46442eb..357d37d3bd 100755 --- a/OpenRA.Game/Network/ReplayConnection.cs +++ b/OpenRA.Game/Network/ReplayConnection.cs @@ -6,7 +6,7 @@ using System.IO; namespace OpenRA.Network { - class ReplayConnection : IConnection + public class ReplayConnection : IConnection { //uint nextFrame = 1; FileStream replayStream; diff --git a/OpenRA.Game/OpenRA.Game.csproj b/OpenRA.Game/OpenRA.Game.csproj index 9fd3df9b19..3ba6a6d040 100755 --- a/OpenRA.Game/OpenRA.Game.csproj +++ b/OpenRA.Game/OpenRA.Game.csproj @@ -1,4 +1,4 @@ - + Debug @@ -201,7 +201,6 @@ - @@ -225,6 +224,9 @@ + + +