Add multi-resolution badge support.
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using OpenRA.Graphics;
|
||||
|
||||
namespace OpenRA
|
||||
{
|
||||
@@ -59,12 +58,16 @@ namespace OpenRA
|
||||
public class PlayerBadge
|
||||
{
|
||||
public readonly string Label;
|
||||
public readonly Sprite Icon24;
|
||||
public readonly string Icon;
|
||||
public readonly string Icon2x;
|
||||
public readonly string Icon3x;
|
||||
|
||||
public PlayerBadge(string label, Sprite icon24)
|
||||
public PlayerBadge(string label, string icon, string icon2x, string icon3x)
|
||||
{
|
||||
Label = label;
|
||||
Icon24 = icon24;
|
||||
Icon = icon;
|
||||
Icon2x = icon2x;
|
||||
Icon3x = icon3x;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user