OSDN Git Service

(・∀・)
authormozipi <mozipi@users.sourceforge.jp>
Sat, 9 Mar 2013 09:20:06 +0000 (18:20 +0900)
committermozipi <mozipi@users.sourceforge.jp>
Sat, 9 Mar 2013 09:20:06 +0000 (18:20 +0900)
common/pcc/chemicraft/ChemiCraft.java
common/pcc/chemicraft/gui/GuiPyrolysisTable.java
common/pcc/chemicraft/tileentity/TileEntityPyrolysisTable.java
resources/pcc/chemicraft/entityParticles/dust.png

index fb8b3fb..399b4c2 100644 (file)
@@ -22,6 +22,7 @@ import pcc.chemicraft.debug.CommandDeleteItem;
 import pcc.chemicraft.debug.CommandGenDebugRoom;
 import pcc.chemicraft.debug.CommandSetTile;
 import pcc.chemicraft.entity.EntityDust;
 import pcc.chemicraft.debug.CommandGenDebugRoom;
 import pcc.chemicraft.debug.CommandSetTile;
 import pcc.chemicraft.entity.EntityDust;
+import pcc.chemicraft.gen.EnumOreSpawnFrequency;
 import pcc.chemicraft.item.ItemAtoms;
 import pcc.chemicraft.item.ItemAtomsGrenade;
 import pcc.chemicraft.item.ItemChemiCell;
 import pcc.chemicraft.item.ItemAtoms;
 import pcc.chemicraft.item.ItemAtomsGrenade;
 import pcc.chemicraft.item.ItemChemiCell;
index 6a68008..6b130ca 100644 (file)
@@ -20,6 +20,10 @@ public class GuiPyrolysisTable extends GuiContainer{
        protected void drawGuiContainerBackgroundLayer(float var1, int var2, int var3) {
                this.mc.renderEngine.bindTexture(this.mc.renderEngine.getTexture(ChemiCraft.instance.GUI_PYROLYSIS_TEXTURE));
                this.drawTexturedModalRect(this.guiLeft, this.guiTop, 0, 0, this.xSize, this.ySize);
        protected void drawGuiContainerBackgroundLayer(float var1, int var2, int var3) {
                this.mc.renderEngine.bindTexture(this.mc.renderEngine.getTexture(ChemiCraft.instance.GUI_PYROLYSIS_TEXTURE));
                this.drawTexturedModalRect(this.guiLeft, this.guiTop, 0, 0, this.xSize, this.ySize);
+               System.out.println((int) (13F / this.tileentity.getFuelRestTime()));
+               System.out.println(this.tileentity.getFuelRestTime());
+               this.drawTexturedModalRect(this.guiLeft + 28, this.guiTop + 48, 176, 0, 13, (int) (13F / this.tileentity.getFuelRestTime()));
+
        }
 
        @Override
        }
 
        @Override
index 399fb40..50e2ea9 100644 (file)
@@ -499,4 +499,8 @@ public class TileEntityPyrolysisTable extends TileEntity {
                recipeList.put(material, result);
        }
 
                recipeList.put(material, result);
        }
 
+       public float getFuelRestTime() {
+               return fuelRestTime;
+       }
+
 }
 }
index 58404a8..6bc667f 100644 (file)
Binary files a/resources/pcc/chemicraft/entityParticles/dust.png and b/resources/pcc/chemicraft/entityParticles/dust.png differ