Fixed #3133 (probably) / Logic icon draw command
This commit is contained in:
@@ -31,6 +31,7 @@ public class Generators{
|
||||
0x454545ff, 0x00000000,//0x32394bff,
|
||||
0x00000099, 0x00000000//0x000000ff
|
||||
);
|
||||
static final Cicon logicIcon = Cicon.medium;
|
||||
|
||||
public static void generate(){
|
||||
ObjectMap<Block, Image> gens = new ObjectMap<>();
|
||||
@@ -302,6 +303,10 @@ public class Generators{
|
||||
Image scaled = new Image(icon.size, icon.size);
|
||||
scaled.drawScaled(image);
|
||||
scaled.save("../ui/block-" + block.name + "-" + icon.name());
|
||||
|
||||
if(icon == logicIcon && block.synthetic() && !block.isHidden()){
|
||||
image.save(block.name + "-icon-logic");
|
||||
}
|
||||
}
|
||||
|
||||
boolean hasEmpty = false;
|
||||
@@ -373,6 +378,10 @@ public class Generators{
|
||||
if(icon == Cicon.medium){
|
||||
image.save("../ui/" + item.getContentType() + "-" + item.name + "-icon");
|
||||
}
|
||||
|
||||
if(icon == logicIcon){
|
||||
image.save(item.name + "-icon-logic");
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -489,6 +498,10 @@ public class Generators{
|
||||
|
||||
scaled.drawScaled(image);
|
||||
scaled.save("../ui/unit-" + type.name + "-" + icon.name());
|
||||
|
||||
if(icon == logicIcon){
|
||||
scaled.save(type.name + "-icon-logic");
|
||||
}
|
||||
}
|
||||
|
||||
}catch(IllegalArgumentException e){
|
||||
|
||||
Reference in New Issue
Block a user