mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 11:10:50 +03:00
Minor doc fixes
This commit is contained in:
@@ -137,7 +137,7 @@ public class PhysicsProcess implements AsyncProcess{
|
||||
public static class PhysicRef{
|
||||
public Unit entity;
|
||||
public PhysicsBody body;
|
||||
//x or y at simulation start step
|
||||
//position before simulation start
|
||||
public float startX, startY;
|
||||
public int lastLayer;
|
||||
|
||||
@@ -158,7 +158,6 @@ public class PhysicsProcess implements AsyncProcess{
|
||||
private final QuadTree<PhysicsBody> tree;
|
||||
private final Seq<PhysicsBody> bodies = new Seq<>(false, 16, PhysicsBody.class);
|
||||
private final Seq<PhysicsBody> seq = new Seq<>(PhysicsBody.class);
|
||||
//private final Rect rect = new Rect();
|
||||
private final Vec2 vec = new Vec2();
|
||||
private final Rand rand = new Rand();
|
||||
|
||||
@@ -180,7 +179,6 @@ public class PhysicsProcess implements AsyncProcess{
|
||||
var bodyItems = bodies.items;
|
||||
int bodySize = bodies.size;
|
||||
|
||||
//mobile has weak CPU cores, and there's no need for high fidelity sims in multiplayer
|
||||
int iterations = Vars.net.client() || OS.isMobile ? mobileIterations : desktopIterations;
|
||||
|
||||
for(int iter = 0; iter < iterations; iter++){
|
||||
|
||||
@@ -260,7 +260,7 @@ public class MapImagesView implements AssetView{
|
||||
b.defaults().size((size - 10f) / 4f);
|
||||
var istyle = Styles.emptyi;
|
||||
b.button(Icon.pencil, istyle, () -> {
|
||||
ui.showTextInput("@save.rename", "@patch.path", image.path, res -> {
|
||||
ui.showTextInput("@save.rename", "@patch.path", 1000, image.path, res -> {
|
||||
if(!res.endsWith(".png")) res = res + ".png";
|
||||
|
||||
if(!DataAsset.validPath(res)){
|
||||
|
||||
Reference in New Issue
Block a user