Emissive planet system upgrades / Indexed vertices for planets

This commit is contained in:
Anuken
2025-05-28 21:21:21 -04:00
parent fcb5b42d58
commit 43fb2e7cdc
15 changed files with 193 additions and 82 deletions

View File

@@ -97,12 +97,6 @@ public class Universe{
}
}
public void setSimulationSeconds(int seconds){
this.seconds = seconds;
save();
}
public void clearLoadoutInfo(){
lastLoadout = null;
lastLaunchResources = new ItemSeq();
@@ -328,6 +322,13 @@ public class Universe{
return net.client() ? netSeconds : seconds;
}
public void setSeconds(float seconds){
this.seconds = (int)seconds;
this.secondCounter = seconds - this.seconds;
save();
}
public float secondsf(){
return seconds() + secondCounter;
}