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));
|
||||
|
||||
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)
|
||||
LoadSequencesForCursor(s.Key, s.Value);
|
||||
|
||||
@@ -438,7 +438,7 @@ namespace OpenRA.Mods.D2k.Widgets.Logic
|
||||
new string[] {"--shp", Path.Combine(PathToSHPs, "cranea.png"), "96"},
|
||||
new string[] {"--shp", Path.Combine(PathToSHPs, "craneh.png"), "96"},
|
||||
new string[] {"--shp", Path.Combine(PathToSHPs, "craneo.png"), "96"},
|
||||
new string[] {"--shp", Path.Combine(PathToSHPs, "windtrap_anim.png"), "96"},
|
||||
new string[] {"--shp", Path.Combine(PathToSHPs, "windtrap_anim.png"), "96"},
|
||||
new string[] {"--shp", Path.Combine(PathToSHPs, "missile_launch.png"), "96"},
|
||||
new string[] {"--shp", Path.Combine(PathToSHPs, "mouse.png"), "48"},
|
||||
new string[] {"--shp", Path.Combine(PathToSHPs, "spice0.png"), "32"},
|
||||
@@ -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}.png".F(set)));
|
||||
File.Delete(Path.Combine(PathToTilesets, "{0}.yaml".F(set.ToLower())));
|
||||
File.Delete(Path.Combine(PathToTilesets, "{0}.pal".F(set.ToLower())));
|
||||
c++;
|
||||
}
|
||||
|
||||
|
||||
@@ -1004,18 +1004,6 @@
|
||||
<template>
|
||||
<cell x="2" y="15" />
|
||||
</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>
|
||||
<cell x="8" y="14" />
|
||||
</template>
|
||||
@@ -1199,23 +1187,6 @@
|
||||
<cell x="18" y="27" />
|
||||
<cell x="18" y="28" />
|
||||
</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>
|
||||
<cell x="11" y="30" />
|
||||
<cell x="12" y="30" />
|
||||
@@ -1641,20 +1612,6 @@
|
||||
<cell x="14" y="24" />
|
||||
<cell x="14" y="23" />
|
||||
</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>
|
||||
<cell x="10" y="24" />
|
||||
<cell x="10" y="25" />
|
||||
@@ -1945,4 +1902,63 @@
|
||||
<cell x="16" y="34" />
|
||||
<cell x="16" y="33" />
|
||||
</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>
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user