Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -78,7 +78,7 @@ public class StackConveyor extends Block implements Autotiler{
|
||||
|
||||
for(int i = 0; i < 4; i++){
|
||||
if((bits[3] & (1 << i)) == 0){
|
||||
Draw.rect(edgeRegion, req.drawx(), req.drawy(), (req.rotation - i) * 90);
|
||||
Draw.rect(edgeRegion, req.drawx(), req.drawy(), region.getWidth() * Draw.scl * req.animScale, region.getHeight() * Draw.scl * req.animScale, (req.rotation - i) * 90);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,8 +9,8 @@ import mindustry.world.meta.*;
|
||||
|
||||
public class LiquidBlock extends Block{
|
||||
public @Load("@-liquid") TextureRegion liquidRegion;
|
||||
public @Load("@-top") TextureRegion bottomRegion;
|
||||
public @Load("@-bottom") TextureRegion topRegion;
|
||||
public @Load("@-top") TextureRegion topRegion;
|
||||
public @Load("@-bottom") TextureRegion bottomRegion;
|
||||
|
||||
public LiquidBlock(String name){
|
||||
super(name);
|
||||
|
||||
@@ -3,6 +3,7 @@ package mindustry.world.blocks.production;
|
||||
import arc.*;
|
||||
import arc.graphics.*;
|
||||
import arc.graphics.g2d.*;
|
||||
import mindustry.annotations.Annotations.*;
|
||||
import mindustry.type.*;
|
||||
import mindustry.ui.*;
|
||||
import mindustry.world.*;
|
||||
@@ -12,6 +13,7 @@ import mindustry.world.meta.*;
|
||||
import static mindustry.Vars.*;
|
||||
|
||||
public class Pump extends LiquidBlock{
|
||||
public @Load("pump-liquid") TextureRegion liquidRegion;
|
||||
public final int timerContentCheck = timers++;
|
||||
|
||||
/** Pump amount, total. */
|
||||
|
||||
Reference in New Issue
Block a user