change ReplaySummary to Replay; move to OpenRA.Network

This commit is contained in:
Chris Forbes
2011-10-19 19:44:19 +13:00
parent a3897dc7a8
commit 03ddbac83b
4 changed files with 75 additions and 60 deletions

View File

@@ -11,7 +11,7 @@
using System;
using System.IO;
using System.Linq;
using OpenRA.Mods.RA.Widgets.Logic;
using OpenRA.Network;
using OpenRA.Widgets;
namespace OpenRA.Mods.Cnc.Widgets.Logic
@@ -59,7 +59,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
panel.GetWidget("REPLAY_INFO").IsVisible = () => currentSummary != null;
}
ReplaySummary currentSummary;
Replay currentSummary;
Map currentMap;
void SelectReplay(string filename)
@@ -69,7 +69,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
try
{
currentSummary = new ReplaySummary(filename);
currentSummary = new Replay(filename);
currentMap = currentSummary.Map();
panel.GetWidget<LabelWidget>("DURATION").GetText =