Use custom colors ingame; requires a map format change to kill the obsoleted "palette" field

This commit is contained in:
Paul Chote
2010-07-16 23:47:33 +12:00
parent c4442f07da
commit bce5f2c681
3 changed files with 12 additions and 9 deletions

View File

@@ -18,6 +18,7 @@
*/
#endregion
using System.Drawing;
namespace OpenRA.FileFormats
{
public class PlayerReference
@@ -27,6 +28,8 @@ namespace OpenRA.FileFormats
public readonly string Race;
public readonly bool OwnsWorld = false;
public readonly bool NonCombatant = false;
public readonly Color Color = Color.FromArgb(238,238,238);
public readonly Color Color2 = Color.FromArgb(44,28,24);
public PlayerReference(MiniYaml my)
{