This commit is contained in:
Anuken 2020-03-01 15:41:10 -05:00
parent c6fc103bff
commit 9ddd76d6cb
6 changed files with 16 additions and 6 deletions

View File

@ -343,7 +343,6 @@ public class World{
dark = Math.max((edgeBlend - edgeDst) * (4f / edgeBlend), dark);
}
//TODO tweak noise and radius
if(state.hasSector()){
int circleBlend = 14;
//quantized angle

View File

@ -21,7 +21,6 @@ import mindustry.game.EventType.*;
import mindustry.gen.*;
import mindustry.graphics.*;
import mindustry.graphics.MultiPacker.*;
import mindustry.plugin.*;
import mindustry.type.*;
import mindustry.ui.*;

View File

@ -1,6 +1,4 @@
package mindustry.plugin;
import mindustry.mod.*;
package mindustry.mod;
/** Defines a special type of mod that is always hidden. */
public abstract class Plugin extends Mod{

View File

@ -55,6 +55,8 @@ public class Planet extends UnlockableContent{
public @NonNull Planet solarSystem;
/** All planets orbiting this one, in ascending order of radius. */
public Array<Planet> children = new Array<>();
/** Sattelites orbiting this planet. */
public Array<Satellite> satellites = new Array<>();
/** Loads the mesh. Clientside only. Defaults to a boring sphere mesh. */
protected Prov<PlanetMesh> meshLoader = () -> new SunMesh(this, 2);

View File

@ -0,0 +1,12 @@
package mindustry.type;
import arc.util.ArcAnnotate.*;
/** Any object that is orbiting a planet. */
public class Satellite{
public @NonNull Planet planet;
public Satellite(@NonNull Planet orbiting){
this.planet = orbiting;
}
}

View File

@ -1,3 +1,3 @@
org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m
archash=66e5566de0832e721ea552ccd31f0febfb6233d7
archash=e925e63ed9201fd2f20a06cc6736f07c936f6882