added PaletteType enum
This commit is contained in:
@@ -5,13 +5,10 @@ namespace OpenRa.Game.Graphics
|
||||
{
|
||||
class HardwarePalette : Sheet
|
||||
{
|
||||
public const int Shadow = 8;
|
||||
public const int Invuln = 9;
|
||||
public const int Chrome = 10;
|
||||
|
||||
const int maxEntries = 16;
|
||||
int allocated = 0;
|
||||
|
||||
//Note: addPalette calls should match the ordering in PaletteType.cs
|
||||
public HardwarePalette(Renderer renderer, Map map)
|
||||
: base(renderer,new Size(256, maxEntries))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user