push resources, increase assembly table output size to 3x4, fix ledger icon blending bug

This commit is contained in:
Adrian 2015-05-06 20:03:45 +02:00
parent 3cdb0342ec
commit d0e5807c35
3 changed files with 5 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -545,7 +545,8 @@ public abstract class GuiBuildCraft extends GuiContainer {
}
protected void drawIcon(IIcon icon, int x, int y) {
GL11.glDisable(GL11.GL_BLEND);
GL11.glEnable(GL11.GL_ALPHA_TEST);
GL11.glColor4f(1.0f, 1.0f, 1.0f, 1.0F);
drawTexturedModelRectFromIcon(x, y, icon, 16, 16);
}

View file

@ -95,9 +95,9 @@ public class GuiAssemblyTable extends GuiAdvancedInterface {
xSize = 176;
ySize = 207;
for (int j = 0; j < 2; ++j) {
for (int j = 0; j < 3; ++j) {
for (int i = 0; i < 4; ++i) {
slots.add(new RecipeSlot(134 + 18 * j, 36 + 18 * i));
slots.add(new RecipeSlot(116 + 18 * j, 36 + 18 * i));
}
}
@ -164,7 +164,7 @@ public class GuiAssemblyTable extends GuiAdvancedInterface {
int h = table.getProgressScaled(70);
drawTexturedModalRect(guiLeft + 95, guiTop + 36 + 70 - h, 176, 18, 4, h);
drawTexturedModalRect(guiLeft + 86, guiTop + 36 + 70 - h, 176, 18, 4, h);
drawBackgroundSlots();
}