Minor cloud bugfixes / Removed flow rate option
This commit is contained in:
@@ -841,7 +841,6 @@ setting.blockreplace.name = Automatic Block Suggestions
|
||||
setting.linear.name = Linear Filtering
|
||||
setting.hints.name = Hints
|
||||
setting.logichints.name = Logic Hints
|
||||
setting.flow.name = Display Resource Flow Rate
|
||||
setting.backgroundpause.name = Pause In Background
|
||||
setting.buildautopause.name = Auto-Pause Building
|
||||
setting.doubletapmine.name = Double-Tap to Mine
|
||||
|
||||
@@ -375,6 +375,7 @@ public class Renderer implements ApplicationListener{
|
||||
|
||||
Draw.reset();
|
||||
|
||||
if(state.rules.cloudColor.a > 0.0001f){
|
||||
//clouds
|
||||
float scaling = cloudScaling;
|
||||
float sscl = Math.max(1f + Mathf.clamp(fin + cfinOffset)* cfinScl, 0f) * landscale;
|
||||
@@ -394,6 +395,7 @@ public class Renderer implements ApplicationListener{
|
||||
Draw.reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void drawThrusters(CoreBlock block, float x, float y, float rotation, float frame){
|
||||
float length = block.thrusterLength * (frame - 1f) - 1f/4f;
|
||||
|
||||
@@ -1102,7 +1102,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
table.row();
|
||||
table.table(this::displayConsumption).growX();
|
||||
|
||||
boolean displayFlow = (block.category == Category.distribution || block.category == Category.liquid) && Core.settings.getBool("flow") && block.displayFlow;
|
||||
boolean displayFlow = (block.category == Category.distribution || block.category == Category.liquid) && block.displayFlow;
|
||||
|
||||
if(displayFlow){
|
||||
String ps = " " + StatUnit.perSecond.localized();
|
||||
|
||||
@@ -451,8 +451,6 @@ public class SettingsMenuDialog extends Dialog{
|
||||
if(!mobile){
|
||||
Core.settings.put("swapdiagonal", false);
|
||||
}
|
||||
|
||||
graphics.checkPref("flow", true);
|
||||
}
|
||||
|
||||
public void exportData(Fi file) throws IOException{
|
||||
|
||||
Reference in New Issue
Block a user