Move TD production widgets into the RA project.

This commit is contained in:
Paul Chote
2014-07-12 13:18:06 +12:00
parent ba21428276
commit 1e76baf070
8 changed files with 11 additions and 9 deletions

View File

@@ -80,15 +80,11 @@
<Compile Include="Widgets\Logic\CncIngameChromeLogic.cs" /> <Compile Include="Widgets\Logic\CncIngameChromeLogic.cs" />
<Compile Include="Widgets\Logic\CncIngameMenuLogic.cs" /> <Compile Include="Widgets\Logic\CncIngameMenuLogic.cs" />
<Compile Include="Widgets\Logic\CncMainMenuLogic.cs" /> <Compile Include="Widgets\Logic\CncMainMenuLogic.cs" />
<Compile Include="Widgets\Logic\ProductionTooltipLogic.cs" />
<Compile Include="Widgets\Logic\SupportPowerTooltipLogic.cs" /> <Compile Include="Widgets\Logic\SupportPowerTooltipLogic.cs" />
<Compile Include="Widgets\ProductionPaletteWidget.cs" />
<Compile Include="Widgets\ProductionTabsWidget.cs" />
<Compile Include="Widgets\SupportPowersWidget.cs" /> <Compile Include="Widgets\SupportPowersWidget.cs" />
<Compile Include="WithFire.cs" /> <Compile Include="WithFire.cs" />
<Compile Include="WithRoof.cs" /> <Compile Include="WithRoof.cs" />
<Compile Include="Widgets\Logic\ProductionTabsLogic.cs" /> <Compile Include="Widgets\Logic\ProductionTabsLogic.cs" />
<Compile Include="Widgets\ProductionTypeButtonWidget.cs" />
<Compile Include="WithDeliveryAnimation.cs" /> <Compile Include="WithDeliveryAnimation.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@@ -11,6 +11,7 @@
using System; using System;
using System.Linq; using System.Linq;
using OpenRA.Mods.RA; using OpenRA.Mods.RA;
using OpenRA.Mods.RA.Widgets;
using OpenRA.Traits; using OpenRA.Traits;
using OpenRA.Widgets; using OpenRA.Widgets;

View File

@@ -9,6 +9,7 @@
#endregion #endregion
using System; using System;
using OpenRA.Mods.RA.Widgets;
using OpenRA.Widgets; using OpenRA.Widgets;
namespace OpenRA.Mods.Cnc.Widgets.Logic namespace OpenRA.Mods.Cnc.Widgets.Logic

View File

@@ -531,6 +531,10 @@
<Compile Include="Buildings\ClonesProducedUnits.cs" /> <Compile Include="Buildings\ClonesProducedUnits.cs" />
<Compile Include="Cloneable.cs" /> <Compile Include="Cloneable.cs" />
<Compile Include="Graphics\RangeCircleRenderable.cs" /> <Compile Include="Graphics\RangeCircleRenderable.cs" />
<Compile Include="Widgets\ProductionPaletteWidget.cs" />
<Compile Include="Widgets\ProductionTabsWidget.cs" />
<Compile Include="Widgets\ProductionTypeButtonWidget.cs" />
<Compile Include="Widgets\Logic\ProductionTooltipLogic.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\OpenRA.Game\OpenRA.Game.csproj"> <ProjectReference Include="..\OpenRA.Game\OpenRA.Game.csproj">

View File

@@ -16,7 +16,7 @@ using OpenRA.Mods.RA.Buildings;
using OpenRA.Traits; using OpenRA.Traits;
using OpenRA.Widgets; using OpenRA.Widgets;
namespace OpenRA.Mods.Cnc.Widgets.Logic namespace OpenRA.Mods.RA.Widgets.Logic
{ {
public class ProductionTooltipLogic public class ProductionTooltipLogic
{ {

View File

@@ -21,7 +21,7 @@ using OpenRA.Network;
using OpenRA.Traits; using OpenRA.Traits;
using OpenRA.Widgets; using OpenRA.Widgets;
namespace OpenRA.Mods.Cnc.Widgets namespace OpenRA.Mods.RA.Widgets
{ {
public class ProductionIcon public class ProductionIcon
{ {

View File

@@ -16,7 +16,7 @@ using OpenRA.Graphics;
using OpenRA.Mods.RA; using OpenRA.Mods.RA;
using OpenRA.Widgets; using OpenRA.Widgets;
namespace OpenRA.Mods.Cnc.Widgets namespace OpenRA.Mods.RA.Widgets
{ {
public class ProductionTab public class ProductionTab
{ {
@@ -57,7 +57,7 @@ namespace OpenRA.Mods.Cnc.Widgets
} }
} }
class ProductionTabsWidget : Widget public class ProductionTabsWidget : Widget
{ {
readonly World world; readonly World world;

View File

@@ -10,7 +10,7 @@
using OpenRA.Widgets; using OpenRA.Widgets;
namespace OpenRA.Mods.Cnc.Widgets namespace OpenRA.Mods.RA.Widgets
{ {
public class ProductionTypeButtonWidget : ButtonWidget public class ProductionTypeButtonWidget : ButtonWidget
{ {