Add RGBA cursor support.

This commit is contained in:
Paul Chote
2019-12-29 18:46:04 +00:00
committed by abcdefg30
parent 522861e484
commit 4fd475f7c2
3 changed files with 58 additions and 47 deletions

View File

@@ -37,6 +37,7 @@ namespace OpenRA.Graphics
pals[p.Palette] = p;
Palettes = nodesDict["Cursors"].Nodes.Select(n => n.Value.Value)
.Where(p => p != null)
.Distinct()
.ToDictionary(p => p, p => pals[p].ReadPalette(modData.DefaultFileSystem))
.AsReadOnly();