rename ChoosePaletteOnSelect
This commit is contained in:
@@ -29,6 +29,7 @@ namespace OpenRA
|
|||||||
{
|
{
|
||||||
return actors.AsEnumerable().Contains(a);
|
return actors.AsEnumerable().Contains(a);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Combine(World world, IEnumerable<Actor> newSelection, bool isCombine, bool isClick)
|
public void Combine(World world, IEnumerable<Actor> newSelection, bool isCombine, bool isClick)
|
||||||
{
|
{
|
||||||
var oldSelection = actors.AsEnumerable();
|
var oldSelection = actors.AsEnumerable();
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
@@ -226,7 +226,7 @@
|
|||||||
<Compile Include="Cloak.cs" />
|
<Compile Include="Cloak.cs" />
|
||||||
<Compile Include="Modifiers\FrozenUnderFog.cs" />
|
<Compile Include="Modifiers\FrozenUnderFog.cs" />
|
||||||
<Compile Include="Modifiers\HiddenUnderFog.cs" />
|
<Compile Include="Modifiers\HiddenUnderFog.cs" />
|
||||||
<Compile Include="World\ChoosePaletteOnSelect.cs" />
|
<Compile Include="World\ChooseBuildTabOnSelect.cs" />
|
||||||
<Compile Include="Transforms.cs" />
|
<Compile Include="Transforms.cs" />
|
||||||
<Compile Include="Activities\Transform.cs" />
|
<Compile Include="Activities\Transform.cs" />
|
||||||
<Compile Include="ActorLostNotification.cs" />
|
<Compile Include="ActorLostNotification.cs" />
|
||||||
|
|||||||
8
OpenRA.Mods.RA/World/ChoosePaletteOnSelect.cs → OpenRA.Mods.RA/World/ChooseBuildTabOnSelect.cs
Executable file → Normal file
8
OpenRA.Mods.RA/World/ChoosePaletteOnSelect.cs → OpenRA.Mods.RA/World/ChooseBuildTabOnSelect.cs
Executable file → Normal file
@@ -14,16 +14,16 @@ using OpenRA.Widgets;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.RA.Widgets
|
namespace OpenRA.Mods.RA.Widgets
|
||||||
{
|
{
|
||||||
class ChoosePaletteOnSelectInfo : ITraitInfo
|
class ChooseBuildTabOnSelectInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
public object Create( ActorInitializer init ) { return new ChoosePaletteOnSelect( init ); }
|
public object Create( ActorInitializer init ) { return new ChooseBuildTabOnSelect( init ); }
|
||||||
}
|
}
|
||||||
|
|
||||||
class ChoosePaletteOnSelect : INotifySelection
|
class ChooseBuildTabOnSelect : INotifySelection
|
||||||
{
|
{
|
||||||
readonly World world;
|
readonly World world;
|
||||||
|
|
||||||
public ChoosePaletteOnSelect( ActorInitializer init )
|
public ChooseBuildTabOnSelect( ActorInitializer init )
|
||||||
{
|
{
|
||||||
world = init.world;
|
world = init.world;
|
||||||
}
|
}
|
||||||
@@ -98,7 +98,7 @@ World:
|
|||||||
Country@nod:
|
Country@nod:
|
||||||
Name: Nod
|
Name: Nod
|
||||||
Race: nod
|
Race: nod
|
||||||
ChoosePaletteOnSelect:
|
ChooseBuildTabOnSelect:
|
||||||
BibLayer:
|
BibLayer:
|
||||||
ResourceLayer:
|
ResourceLayer:
|
||||||
ResourceType@green-tib:
|
ResourceType@green-tib:
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ World:
|
|||||||
LightPaletteRotator:
|
LightPaletteRotator:
|
||||||
BuildingInfluence:
|
BuildingInfluence:
|
||||||
UnitInfluence:
|
UnitInfluence:
|
||||||
ChoosePaletteOnSelect:
|
ChooseBuildTabOnSelect:
|
||||||
BridgeLayer:
|
BridgeLayer:
|
||||||
Bridges: bridge1, bridge2, br1, br2, br3
|
Bridges: bridge1, bridge2, br1, br2, br3
|
||||||
CrateDrop:
|
CrateDrop:
|
||||||
|
|||||||
Reference in New Issue
Block a user