invuln etc palette need hacked too.

This commit is contained in:
Chris Forbes
2010-01-03 20:16:55 +13:00
parent a1fc5406ea
commit c35f3f0bfb
2 changed files with 6 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
using System.Linq;
using OpenRa.Game.Orders;
using System.Drawing;
using OpenRa.Game.Graphics;
namespace OpenRa.Game.Traits
{
@@ -109,7 +110,7 @@ namespace OpenRa.Game.Traits
var f = 1 - (animationTick * 1.0f / animationLength);
using (var bitmapCopy = new Bitmap(bmp))
for (int j = 0; j < 8; j++)
for (int j = 0; j < (int)PaletteType.Chrome; j++)
for (int i = 0; i < bmp.Width; i++)
{
var h = bitmapCopy.GetPixel(i, j).GetHue(); // 0-360

View File

@@ -0,0 +1,4 @@
[Settings]
NetworkHost=localhost
NetworkPort=1234
UseAftermath=yes