make cursor always transparent, fix Arrakis tileset
transparency bugs some cnc cursors, slice BLOXBASE better
This commit is contained in:
@@ -27,7 +27,7 @@ namespace OpenRA.Graphics
|
|||||||
var sequences = new MiniYaml(null, sequenceFiles.Select(s => MiniYaml.FromFile(s)).Aggregate(MiniYaml.MergeLiberal));
|
var sequences = new MiniYaml(null, sequenceFiles.Select(s => MiniYaml.FromFile(s)).Aggregate(MiniYaml.MergeLiberal));
|
||||||
|
|
||||||
foreach (var s in sequences.NodesDict["Palettes"].Nodes)
|
foreach (var s in sequences.NodesDict["Palettes"].Nodes)
|
||||||
Game.modData.Palette.AddPalette(s.Key, new Palette(FileSystem.Open(s.Value.Value), false));
|
Game.modData.Palette.AddPalette(s.Key, new Palette(FileSystem.Open(s.Value.Value), true));
|
||||||
|
|
||||||
foreach (var s in sequences.NodesDict["Cursors"].Nodes)
|
foreach (var s in sequences.NodesDict["Cursors"].Nodes)
|
||||||
LoadSequencesForCursor(s.Key, s.Value);
|
LoadSequencesForCursor(s.Key, s.Value);
|
||||||
|
|||||||
@@ -487,6 +487,7 @@ namespace OpenRA.Mods.D2k.Widgets.Logic
|
|||||||
File.Delete(Path.Combine(PathToTilesets, "{0}.tsx".F(set)));
|
File.Delete(Path.Combine(PathToTilesets, "{0}.tsx".F(set)));
|
||||||
File.Delete(Path.Combine(PathToTilesets, "{0}.png".F(set)));
|
File.Delete(Path.Combine(PathToTilesets, "{0}.png".F(set)));
|
||||||
File.Delete(Path.Combine(PathToTilesets, "{0}.yaml".F(set.ToLower())));
|
File.Delete(Path.Combine(PathToTilesets, "{0}.yaml".F(set.ToLower())));
|
||||||
|
File.Delete(Path.Combine(PathToTilesets, "{0}.pal".F(set.ToLower())));
|
||||||
c++;
|
c++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1004,18 +1004,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<cell x="2" y="15" />
|
<cell x="2" y="15" />
|
||||||
</template>
|
</template>
|
||||||
<template>
|
|
||||||
<cell x="3" y="15" />
|
|
||||||
<cell x="3" y="16" />
|
|
||||||
<cell x="4" y="16" />
|
|
||||||
<cell x="4" y="15" />
|
|
||||||
</template>
|
|
||||||
<template>
|
|
||||||
<cell x="6" y="15" />
|
|
||||||
<cell x="6" y="16" />
|
|
||||||
<cell x="7" y="16" />
|
|
||||||
<cell x="7" y="15" />
|
|
||||||
</template>
|
|
||||||
<template>
|
<template>
|
||||||
<cell x="8" y="14" />
|
<cell x="8" y="14" />
|
||||||
</template>
|
</template>
|
||||||
@@ -1199,23 +1187,6 @@
|
|||||||
<cell x="18" y="27" />
|
<cell x="18" y="27" />
|
||||||
<cell x="18" y="28" />
|
<cell x="18" y="28" />
|
||||||
</template>
|
</template>
|
||||||
<template>
|
|
||||||
<cell x="12" y="27" />
|
|
||||||
<cell x="13" y="27" />
|
|
||||||
<cell x="14" y="27" />
|
|
||||||
<cell x="15" y="27" />
|
|
||||||
<cell x="16" y="27" />
|
|
||||||
<cell x="16" y="28" />
|
|
||||||
<cell x="16" y="29" />
|
|
||||||
<cell x="15" y="29" />
|
|
||||||
<cell x="14" y="29" />
|
|
||||||
<cell x="13" y="29" />
|
|
||||||
<cell x="12" y="29" />
|
|
||||||
<cell x="12" y="28" />
|
|
||||||
<cell x="13" y="28" />
|
|
||||||
<cell x="14" y="28" />
|
|
||||||
<cell x="15" y="28" />
|
|
||||||
</template>
|
|
||||||
<template>
|
<template>
|
||||||
<cell x="11" y="30" />
|
<cell x="11" y="30" />
|
||||||
<cell x="12" y="30" />
|
<cell x="12" y="30" />
|
||||||
@@ -1641,20 +1612,6 @@
|
|||||||
<cell x="14" y="24" />
|
<cell x="14" y="24" />
|
||||||
<cell x="14" y="23" />
|
<cell x="14" y="23" />
|
||||||
</template>
|
</template>
|
||||||
<template>
|
|
||||||
<cell x="11" y="23" />
|
|
||||||
<cell x="12" y="23" />
|
|
||||||
<cell x="13" y="23" />
|
|
||||||
<cell x="13" y="24" />
|
|
||||||
<cell x="12" y="24" />
|
|
||||||
<cell x="11" y="24" />
|
|
||||||
<cell x="11" y="25" />
|
|
||||||
<cell x="12" y="25" />
|
|
||||||
<cell x="13" y="25" />
|
|
||||||
<cell x="13" y="26" />
|
|
||||||
<cell x="12" y="26" />
|
|
||||||
<cell x="11" y="26" />
|
|
||||||
</template>
|
|
||||||
<template>
|
<template>
|
||||||
<cell x="10" y="24" />
|
<cell x="10" y="24" />
|
||||||
<cell x="10" y="25" />
|
<cell x="10" y="25" />
|
||||||
@@ -1945,4 +1902,63 @@
|
|||||||
<cell x="16" y="34" />
|
<cell x="16" y="34" />
|
||||||
<cell x="16" y="33" />
|
<cell x="16" y="33" />
|
||||||
</template>
|
</template>
|
||||||
|
<template>
|
||||||
|
<cell x="3" y="15" />
|
||||||
|
</template>
|
||||||
|
<template>
|
||||||
|
<cell x="4" y="15" />
|
||||||
|
</template>
|
||||||
|
<template>
|
||||||
|
<cell x="4" y="16" />
|
||||||
|
</template>
|
||||||
|
<template>
|
||||||
|
<cell x="3" y="16" />
|
||||||
|
</template>
|
||||||
|
<template>
|
||||||
|
<cell x="11" y="25" />
|
||||||
|
<cell x="12" y="25" />
|
||||||
|
<cell x="13" y="25" />
|
||||||
|
<cell x="13" y="26" />
|
||||||
|
<cell x="12" y="26" />
|
||||||
|
<cell x="11" y="26" />
|
||||||
|
</template>
|
||||||
|
<template>
|
||||||
|
<cell x="11" y="24" />
|
||||||
|
<cell x="12" y="24" />
|
||||||
|
<cell x="13" y="24" />
|
||||||
|
<cell x="13" y="23" />
|
||||||
|
<cell x="12" y="23" />
|
||||||
|
<cell x="11" y="23" />
|
||||||
|
</template>
|
||||||
|
<template>
|
||||||
|
<cell x="12" y="27" />
|
||||||
|
<cell x="12" y="28" />
|
||||||
|
<cell x="13" y="28" />
|
||||||
|
<cell x="14" y="28" />
|
||||||
|
<cell x="15" y="28" />
|
||||||
|
<cell x="16" y="28" />
|
||||||
|
<cell x="16" y="27" />
|
||||||
|
<cell x="15" y="27" />
|
||||||
|
<cell x="14" y="27" />
|
||||||
|
<cell x="13" y="27" />
|
||||||
|
</template>
|
||||||
|
<template>
|
||||||
|
<cell x="15" y="29" />
|
||||||
|
</template>
|
||||||
|
<template>
|
||||||
|
<cell x="16" y="29" />
|
||||||
|
</template>
|
||||||
|
<template>
|
||||||
|
<cell x="6" y="15" />
|
||||||
|
<cell x="7" y="15" />
|
||||||
|
</template>
|
||||||
|
<template>
|
||||||
|
<cell x="7" y="16" />
|
||||||
|
<cell x="6" y="16" />
|
||||||
|
</template>
|
||||||
|
<template>
|
||||||
|
<cell x="12" y="29" />
|
||||||
|
<cell x="13" y="29" />
|
||||||
|
<cell x="14" y="29" />
|
||||||
|
</template>
|
||||||
</tileset>
|
</tileset>
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user