@@ -19,10 +19,11 @@ namespace OpenRA.Support
|
|||||||
public static class PerfHistory
|
public static class PerfHistory
|
||||||
{
|
{
|
||||||
static readonly Color[] Colors = { Color.Red, Color.Green,
|
static readonly Color[] Colors = { Color.Red, Color.Green,
|
||||||
Color.Orange, Color.Yellow,
|
Color.Orange, Color.Yellow,
|
||||||
Color.Fuchsia, Color.Lime,
|
Color.Fuchsia, Color.Lime,
|
||||||
Color.LightBlue, Color.Blue,
|
Color.LightBlue, Color.Blue,
|
||||||
Color.White, Color.Teal };
|
Color.White, Color.Teal };
|
||||||
|
|
||||||
static int nextColor;
|
static int nextColor;
|
||||||
|
|
||||||
public static Cache<string, PerfItem> Items = new Cache<string, PerfItem>(
|
public static Cache<string, PerfItem> Items = new Cache<string, PerfItem>(
|
||||||
|
|||||||
@@ -122,9 +122,9 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly string race;
|
readonly string race;
|
||||||
readonly RenderSpritesInfo info;
|
readonly RenderSpritesInfo info;
|
||||||
readonly Dictionary<string, AnimationWrapper> anims = new Dictionary<string, AnimationWrapper>();
|
readonly Dictionary<string, AnimationWrapper> anims = new Dictionary<string, AnimationWrapper>();
|
||||||
string cachedImage;
|
string cachedImage;
|
||||||
|
|
||||||
public static Func<int> MakeFacingFunc(Actor self)
|
public static Func<int> MakeFacingFunc(Actor self)
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ namespace OpenRA.Mods.D2k.Traits
|
|||||||
{
|
{
|
||||||
public class LaysTerrainInfo : ITraitInfo, Requires<BuildingInfo>
|
public class LaysTerrainInfo : ITraitInfo, Requires<BuildingInfo>
|
||||||
{
|
{
|
||||||
[Desc("The terrain template to place. If the template is PickAny, then" +
|
[Desc("The terrain template to place. If the template is PickAny, then " +
|
||||||
"the actor footprint will be filled with this tile.")]
|
"the actor footprint will be filled with this tile.")]
|
||||||
public readonly ushort Template = 0;
|
public readonly ushort Template = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user