Mod Chooser move.
Moved code for mod chooser to mod.common.
This commit is contained in:
@@ -13,7 +13,7 @@ using System.Drawing;
|
|||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
|
||||||
namespace OpenRA.Mods.Cnc
|
namespace OpenRA.Mods.Common
|
||||||
{
|
{
|
||||||
public class ModChooserLoadScreen : ILoadScreen
|
public class ModChooserLoadScreen : ILoadScreen
|
||||||
{
|
{
|
||||||
@@ -45,6 +45,7 @@
|
|||||||
<Compile Include="Graphics\BeamRenderable.cs" />
|
<Compile Include="Graphics\BeamRenderable.cs" />
|
||||||
<Compile Include="Graphics\ContrailRenderable.cs" />
|
<Compile Include="Graphics\ContrailRenderable.cs" />
|
||||||
<Compile Include="Graphics\RangeCircleRenderable.cs" />
|
<Compile Include="Graphics\RangeCircleRenderable.cs" />
|
||||||
|
<Compile Include="ModChooserLoadScreen.cs" />
|
||||||
<Compile Include="ServerTraits\ColorValidator.cs" />
|
<Compile Include="ServerTraits\ColorValidator.cs" />
|
||||||
<Compile Include="ServerTraits\MasterServerPinger.cs" />
|
<Compile Include="ServerTraits\MasterServerPinger.cs" />
|
||||||
<Compile Include="ServerTraits\PlayerPinger.cs" />
|
<Compile Include="ServerTraits\PlayerPinger.cs" />
|
||||||
@@ -68,6 +69,8 @@
|
|||||||
<Compile Include="Graphics\TextRenderable.cs" />
|
<Compile Include="Graphics\TextRenderable.cs" />
|
||||||
<Compile Include="Graphics\VoxelActorPreview.cs" />
|
<Compile Include="Graphics\VoxelActorPreview.cs" />
|
||||||
<Compile Include="Graphics\VoxelRenderable.cs" />
|
<Compile Include="Graphics\VoxelRenderable.cs" />
|
||||||
|
<Compile Include="Widgets\Logic\ButtonTooltipLogic.cs" />
|
||||||
|
<Compile Include="Widgets\Logic\ModBrowserLogic.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Widgets.Logic
|
namespace OpenRA.Mods.Common.Widgets.Logic
|
||||||
{
|
{
|
||||||
public class ButtonTooltipLogic
|
public class ButtonTooltipLogic
|
||||||
{
|
{
|
||||||
@@ -16,7 +16,7 @@ using System.Linq;
|
|||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Widgets.Logic
|
namespace OpenRA.Mods.Common.Widgets.Logic
|
||||||
{
|
{
|
||||||
public class ModBrowserLogic
|
public class ModBrowserLogic
|
||||||
{
|
{
|
||||||
@@ -388,7 +388,6 @@
|
|||||||
<Compile Include="Widgets\Logic\Ingame\LeaveMapLogic.cs" />
|
<Compile Include="Widgets\Logic\Ingame\LeaveMapLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\IrcLogic.cs" />
|
<Compile Include="Widgets\Logic\IrcLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\KickClientLogic.cs" />
|
<Compile Include="Widgets\Logic\KickClientLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\ModBrowserLogic.cs" />
|
|
||||||
<Compile Include="Widgets\Logic\ColorPickerLogic.cs" />
|
<Compile Include="Widgets\Logic\ColorPickerLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\ConnectionLogic.cs" />
|
<Compile Include="Widgets\Logic\ConnectionLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\DiplomacyLogic.cs" />
|
<Compile Include="Widgets\Logic\DiplomacyLogic.cs" />
|
||||||
@@ -482,12 +481,10 @@
|
|||||||
<Compile Include="Attack\AttackFollow.cs" />
|
<Compile Include="Attack\AttackFollow.cs" />
|
||||||
<Compile Include="Attack\AttackGarrisoned.cs" />
|
<Compile Include="Attack\AttackGarrisoned.cs" />
|
||||||
<Compile Include="Widgets\Logic\LobbyMapPreviewLogic.cs" />
|
<Compile Include="Widgets\Logic\LobbyMapPreviewLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\ButtonTooltipLogic.cs" />
|
|
||||||
<Compile Include="Orders\BeaconOrderGenerator.cs" />
|
<Compile Include="Orders\BeaconOrderGenerator.cs" />
|
||||||
<Compile Include="Widgets\LogicKeyListenerWidget.cs" />
|
<Compile Include="Widgets\LogicKeyListenerWidget.cs" />
|
||||||
<Compile Include="Widgets\Logic\ControlGroupLogic.cs" />
|
<Compile Include="Widgets\Logic\ControlGroupLogic.cs" />
|
||||||
<Compile Include="Buildings\LineBuildNode.cs" />
|
<Compile Include="Buildings\LineBuildNode.cs" />
|
||||||
<Compile Include="ModChooserLoadScreen.cs" />
|
|
||||||
<Compile Include="Render\WithBuildingPlacedAnimation.cs" />
|
<Compile Include="Render\WithBuildingPlacedAnimation.cs" />
|
||||||
<Compile Include="StartGameNotification.cs" />
|
<Compile Include="StartGameNotification.cs" />
|
||||||
<Compile Include="Widgets\ConfirmationDialogs.cs" />
|
<Compile Include="Widgets\ConfirmationDialogs.cs" />
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ Chrome:
|
|||||||
|
|
||||||
Assemblies:
|
Assemblies:
|
||||||
mods/common/OpenRA.Mods.Common.dll
|
mods/common/OpenRA.Mods.Common.dll
|
||||||
mods/ra/OpenRA.Mods.RA.dll
|
|
||||||
|
|
||||||
ChromeLayout:
|
ChromeLayout:
|
||||||
mods/modchooser/modchooser.yaml
|
mods/modchooser/modchooser.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user