mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-03 13:30:25 +07:00
Cleanup
This commit is contained in:
parent
d2728c2bf0
commit
03d676403f
@ -299,7 +299,7 @@ project(":core"){
|
||||
|
||||
compileOnly project(":annotations")
|
||||
annotationProcessor project(":annotations")
|
||||
annotationProcessor 'com.github.bsideup.jabel:jabel-javac-plugin:0.3.0'
|
||||
annotationProcessor 'com.github.Anuken:jabel:40eec868af'
|
||||
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 186 KiB After Width: | Height: | Size: 179 KiB |
Binary file not shown.
Before Width: | Height: | Size: 187 KiB After Width: | Height: | Size: 180 KiB |
@ -97,17 +97,15 @@ public class Drawf{
|
||||
}
|
||||
|
||||
public static void liquid(TextureRegion region, float x, float y, float alpha, Color color, float rotation){
|
||||
Draw.color(color);
|
||||
Draw.alpha(alpha);
|
||||
Draw.color(color, alpha);
|
||||
Draw.rect(region, x, y, rotation);
|
||||
Draw.reset();
|
||||
Draw.color();
|
||||
}
|
||||
|
||||
public static void liquid(TextureRegion region, float x, float y, float alpha, Color color){
|
||||
Draw.color(color);
|
||||
Draw.alpha(alpha);
|
||||
Draw.color(color, alpha);
|
||||
Draw.rect(region, x, y);
|
||||
Draw.reset();
|
||||
Draw.color();
|
||||
}
|
||||
|
||||
public static void dashCircle(float x, float y, float rad, Color color){
|
||||
|
@ -103,10 +103,7 @@ public class Conduit extends LiquidBlock implements Autotiler{
|
||||
Draw.color(botColor);
|
||||
Draw.rect(sliced(botRegions[bits], slice), x, y, rotation);
|
||||
|
||||
Draw.color(liquids.current().color);
|
||||
Draw.alpha(smoothLiquid);
|
||||
Draw.rect(sliced(botRegions[bits], slice), x, y, rotation);
|
||||
Draw.color();
|
||||
Drawf.liquid(sliced(botRegions[bits], slice), x, y, smoothLiquid, liquids.current().color, rotation);
|
||||
|
||||
Draw.rect(sliced(topRegions[bits], slice), x, y, rotation);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user