Reorganize Mods.D2k
This commit is contained in:
@@ -68,24 +68,24 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="ThrowsShrapnel.cs" />
|
|
||||||
<Compile Include="DamagedWithoutFoundation.cs" />
|
|
||||||
<Compile Include="SpriteLoaders\R8Loader.cs" />
|
<Compile Include="SpriteLoaders\R8Loader.cs" />
|
||||||
<Compile Include="Render\WithBuildingPlacedOverlay.cs" />
|
<Compile Include="Traits\Buildings\DamagedWithoutFoundation.cs" />
|
||||||
<Compile Include="Render\WithCrumbleOverlay.cs" />
|
<Compile Include="Traits\Render\WithBuildingPlacedOverlay.cs" />
|
||||||
<Compile Include="Render\WithProductionOverlay.cs" />
|
<Compile Include="Traits\Render\WithCrumbleOverlay.cs" />
|
||||||
<Compile Include="Render\WithDockingOverlay.cs" />
|
<Compile Include="Traits\Render\WithProductionOverlay.cs" />
|
||||||
<Compile Include="Render\WithDeliveryOverlay.cs" />
|
<Compile Include="Traits\Render\WithDockingOverlay.cs" />
|
||||||
|
<Compile Include="Traits\Render\WithDeliveryOverlay.cs" />
|
||||||
|
<Compile Include="Traits\ThrowsShrapnel.cs" />
|
||||||
|
<Compile Include="Traits\World\ChooseBuildTabOnSelect.cs" />
|
||||||
|
<Compile Include="Traits\World\PaletteFromR8.cs" />
|
||||||
|
<Compile Include="Traits\World\FogPaletteFromR8.cs" />
|
||||||
|
<Compile Include="Traits\World\D2kResourceLayer.cs" />
|
||||||
|
<Compile Include="Traits\World\PaletteFromScaledPalette.cs" />
|
||||||
<Compile Include="Widgets\MoneyBinWidget.cs" />
|
<Compile Include="Widgets\MoneyBinWidget.cs" />
|
||||||
<Compile Include="Widgets\SupportPowerBinWidget.cs" />
|
<Compile Include="Widgets\SupportPowerBinWidget.cs" />
|
||||||
<Compile Include="Widgets\BuildPaletteWidget.cs" />
|
<Compile Include="Widgets\BuildPaletteWidget.cs" />
|
||||||
<Compile Include="Widgets\SlidingContainerWidget.cs" />
|
<Compile Include="Widgets\SlidingContainerWidget.cs" />
|
||||||
<Compile Include="Widgets\Logic\IngameChromeLogic.cs" />
|
<Compile Include="Widgets\Logic\IngameChromeLogic.cs" />
|
||||||
<Compile Include="World\ChooseBuildTabOnSelect.cs" />
|
|
||||||
<Compile Include="World\PaletteFromR8.cs" />
|
|
||||||
<Compile Include="World\FogPaletteFromR8.cs" />
|
|
||||||
<Compile Include="World\D2kResourceLayer.cs" />
|
|
||||||
<Compile Include="World\PaletteFromScaledPalette.cs" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ using System.Linq;
|
|||||||
using OpenRA.GameRules;
|
using OpenRA.GameRules;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.D2k
|
namespace OpenRA.Mods.D2k.Traits
|
||||||
{
|
{
|
||||||
[Desc("Reduces health points over time when the actor is placed on unsafe terrain.")]
|
[Desc("Reduces health points over time when the actor is placed on unsafe terrain.")]
|
||||||
class DamagedWithoutFoundationInfo : ITraitInfo, Requires<HealthInfo>
|
class DamagedWithoutFoundationInfo : ITraitInfo, Requires<HealthInfo>
|
||||||
@@ -13,7 +13,7 @@ using OpenRA.Mods.Common.Traits.Render;
|
|||||||
using OpenRA.Mods.RA.Buildings;
|
using OpenRA.Mods.RA.Buildings;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.D2k.Render
|
namespace OpenRA.Mods.D2k.Traits
|
||||||
{
|
{
|
||||||
[Desc("Rendered when the actor constructed a building.")]
|
[Desc("Rendered when the actor constructed a building.")]
|
||||||
public class WithBuildingPlacedOverlayInfo : ITraitInfo, Requires<RenderSpritesInfo>, Requires<IBodyOrientationInfo>
|
public class WithBuildingPlacedOverlayInfo : ITraitInfo, Requires<RenderSpritesInfo>, Requires<IBodyOrientationInfo>
|
||||||
@@ -14,7 +14,7 @@ using OpenRA.Mods.Common.Traits.Render;
|
|||||||
using OpenRA.Mods.RA;
|
using OpenRA.Mods.RA;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.D2k.Render
|
namespace OpenRA.Mods.D2k.Traits
|
||||||
{
|
{
|
||||||
[Desc("Rendered together with the \"make\" animation.")]
|
[Desc("Rendered together with the \"make\" animation.")]
|
||||||
public class WithCrumbleOverlayInfo : ITraitInfo, Requires<RenderSpritesInfo>
|
public class WithCrumbleOverlayInfo : ITraitInfo, Requires<RenderSpritesInfo>
|
||||||
@@ -14,7 +14,7 @@ using OpenRA.Mods.Common.Traits.Render;
|
|||||||
using OpenRA.Mods.RA.Buildings;
|
using OpenRA.Mods.RA.Buildings;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.D2k.Render
|
namespace OpenRA.Mods.D2k.Traits
|
||||||
{
|
{
|
||||||
[Desc("Rendered when ProductionAirdrop is in progress.")]
|
[Desc("Rendered when ProductionAirdrop is in progress.")]
|
||||||
public class WithDeliveryOverlayInfo : ITraitInfo, Requires<RenderSpritesInfo>, Requires<IBodyOrientationInfo>
|
public class WithDeliveryOverlayInfo : ITraitInfo, Requires<RenderSpritesInfo>, Requires<IBodyOrientationInfo>
|
||||||
@@ -14,7 +14,7 @@ using OpenRA.Mods.Common.Traits.Render;
|
|||||||
using OpenRA.Mods.RA.Buildings;
|
using OpenRA.Mods.RA.Buildings;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.D2k.Render
|
namespace OpenRA.Mods.D2k.Traits
|
||||||
{
|
{
|
||||||
[Desc("Rendered when a harvester is docked.")]
|
[Desc("Rendered when a harvester is docked.")]
|
||||||
public class WithDockingOverlayInfo : ITraitInfo, Requires<RenderSpritesInfo>, Requires<IBodyOrientationInfo>
|
public class WithDockingOverlayInfo : ITraitInfo, Requires<RenderSpritesInfo>, Requires<IBodyOrientationInfo>
|
||||||
@@ -16,7 +16,7 @@ using OpenRA.Mods.RA;
|
|||||||
using OpenRA.Mods.RA.Buildings;
|
using OpenRA.Mods.RA.Buildings;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.D2k.Render
|
namespace OpenRA.Mods.D2k.Traits
|
||||||
{
|
{
|
||||||
[Desc("Renders an animation when the Production trait of the actor is activated.",
|
[Desc("Renders an animation when the Production trait of the actor is activated.",
|
||||||
"Works both with per player ClassicProductionQueue and per building ProductionQueue, but needs any of these.")]
|
"Works both with per player ClassicProductionQueue and per building ProductionQueue, but needs any of these.")]
|
||||||
@@ -12,7 +12,7 @@ using System.Linq;
|
|||||||
using OpenRA.GameRules;
|
using OpenRA.GameRules;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.D2k
|
namespace OpenRA.Mods.D2k.Traits
|
||||||
{
|
{
|
||||||
[Desc("Throws particles when the actor is destroyed that do damage on impact.")]
|
[Desc("Throws particles when the actor is destroyed that do damage on impact.")]
|
||||||
public class ThrowsShrapnelInfo : ITraitInfo
|
public class ThrowsShrapnelInfo : ITraitInfo
|
||||||
@@ -14,7 +14,7 @@ using OpenRA.Mods.RA;
|
|||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
|
||||||
namespace OpenRA.Mods.D2k
|
namespace OpenRA.Mods.D2k.Traits
|
||||||
{
|
{
|
||||||
class ChooseBuildTabOnSelectInfo : ITraitInfo
|
class ChooseBuildTabOnSelectInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
@@ -14,7 +14,7 @@ using System.Linq;
|
|||||||
using OpenRA.Mods.RA;
|
using OpenRA.Mods.RA;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.D2k
|
namespace OpenRA.Mods.D2k.Traits
|
||||||
{
|
{
|
||||||
[Desc("Used to render spice with round borders.")]
|
[Desc("Used to render spice with round borders.")]
|
||||||
public class D2kResourceLayerInfo : TraitInfo<D2kResourceLayer> { }
|
public class D2kResourceLayerInfo : TraitInfo<D2kResourceLayer> { }
|
||||||
@@ -13,7 +13,7 @@ using OpenRA.FileSystem;
|
|||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.D2k
|
namespace OpenRA.Mods.D2k.Traits
|
||||||
{
|
{
|
||||||
class FogPaletteFromR8Info : ITraitInfo
|
class FogPaletteFromR8Info : ITraitInfo
|
||||||
{
|
{
|
||||||
@@ -13,7 +13,7 @@ using OpenRA.FileSystem;
|
|||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.D2k
|
namespace OpenRA.Mods.D2k.Traits
|
||||||
{
|
{
|
||||||
class PaletteFromR8Info : ITraitInfo
|
class PaletteFromR8Info : ITraitInfo
|
||||||
{
|
{
|
||||||
@@ -12,7 +12,7 @@ using System.Drawing;
|
|||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.D2k
|
namespace OpenRA.Mods.D2k.Traits
|
||||||
{
|
{
|
||||||
[Desc("Create a palette by applying a scale and offset to the colors in another palette.")]
|
[Desc("Create a palette by applying a scale and offset to the colors in another palette.")]
|
||||||
class PaletteFromScaledPaletteInfo : ITraitInfo
|
class PaletteFromScaledPaletteInfo : ITraitInfo
|
||||||
Reference in New Issue
Block a user