Add AppearsOnMapPreview

Allows preplaced actors to be rendered on map preview when saving the
map.

Also removes requirements for ResourceLayer in OpenRA.Game and moves it
to OpenRA.Mods.Common.
This commit is contained in:
Mustafa Alperen Seki
2018-10-25 21:15:56 +03:00
committed by reaperrr
parent ea4f24d0b7
commit 9fef2c01ec
8 changed files with 109 additions and 15 deletions

View File

@@ -280,6 +280,7 @@
<Compile Include="Traits\Air\FlyAwayOnIdle.cs" />
<Compile Include="Traits\Air\FallsToEarth.cs" />
<Compile Include="Traits\Air\ReturnOnIdle.cs" />
<Compile Include="Traits\AppearsOnMapPreview.cs" />
<Compile Include="Traits\Armament.cs" />
<Compile Include="Traits\Armor.cs" />
<Compile Include="Traits\AttackMove.cs" />
@@ -565,6 +566,7 @@
<Compile Include="Traits\World\Locomotor.cs" />
<Compile Include="Traits\World\JumpjetLocomotor.cs" />
<Compile Include="Traits\World\PaletteFromEmbeddedSpritePalette.cs" />
<Compile Include="Traits\World\ResourceType.cs" />
<Compile Include="Traits\World\SubterraneanLocomotor.cs" />
<Compile Include="Traits\World\LoadWidgetAtGameStart.cs" />
<Compile Include="Traits\World\MPStartLocations.cs" />