mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 06:51:30 -08:00
Rollback
This commit is contained in:
parent
f8914d0543
commit
9f979cba0d
3 changed files with 4 additions and 4 deletions
|
|
@ -186,7 +186,7 @@ public class Control implements ApplicationListener, Loadable{
|
|||
if(state.isCampaign()){
|
||||
ui.announce("[accent]" + state.rules.sector.name() + "\n" +
|
||||
(state.rules.sector.info.resources.any() ? "[lightgray]" + bundle.get("sectors.resources") + "[white] " +
|
||||
state.rules.sector.info.resources.toString(" ", UnlockableContent::emoji) : ""), 5);
|
||||
state.rules.sector.info.resources.toString(" ", u -> u.emoji()) : ""), 5);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ public class MenuRenderer implements Disposable{
|
|||
private void generate(){
|
||||
world.beginMapLoad();
|
||||
Tiles tiles = world.resize(width, height);
|
||||
Seq<Block> ores = content.blocks().select(OreBlock.class::isInstance);
|
||||
Seq<Block> ores = content.blocks().select(b -> b instanceof OreBlock);
|
||||
shadows = new FrameBuffer(width, height);
|
||||
int offset = Mathf.random(100000);
|
||||
Simplex s1 = new Simplex(offset);
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import arc.math.*;
|
|||
import arc.util.*;
|
||||
|
||||
public enum LogicOp{
|
||||
add("+", Double::sum),
|
||||
add("+", (a, b) -> a + b),
|
||||
sub("-", (a, b) -> a - b),
|
||||
mul("*", (a, b) -> a * b),
|
||||
div("/", (a, b) -> a / b),
|
||||
|
|
@ -29,7 +29,7 @@ public enum LogicOp{
|
|||
noise("noise", LExecutor.noise::rawNoise2D),
|
||||
|
||||
not("not", a -> ~(long)(a)),
|
||||
abs("abs", Math::abs),
|
||||
abs("abs", a -> Math.abs(a)),
|
||||
log("log", Math::log),
|
||||
log10("log10", Math::log10),
|
||||
sin("sin", d -> Math.sin(d * 0.017453292519943295D)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue