moved PaletteType enum into HardwarePalette.cs

This commit is contained in:
Alli
2009-12-23 22:35:37 +13:00
parent 2a0623a601
commit 77f56405b8
3 changed files with 2 additions and 13 deletions

View File

@@ -3,12 +3,12 @@ using OpenRa.FileFormats;
namespace OpenRa.Game.Graphics
{
public enum PaletteType { Gold, Blue, Red, Orange, Teal, Salmon, Green, Gray, Shadow, Invuln, Chrome };
class HardwarePalette : Sheet
{
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))
{