Submission for sector 20
This commit is contained in:
@@ -62,6 +62,7 @@ public class SectorSubmissions{
|
||||
registerSerpuloSector(0, "iqtik123", "https://discord.com/channels/391020510269669376/1379926780860698784/1431356682834940115");
|
||||
registerSerpuloSector(103, "enwyz", "https://discord.com/channels/391020510269669376/1379926839559979030/1429203869514207255");
|
||||
registerSerpuloSector(30, "cyan", "https://discord.com/channels/391020510269669376/1379926800854945823/1423932799647481910");
|
||||
registerSerpuloSector(20, "Namero", "https://discord.com/channels/391020510269669376/1379926794114961634/1406768731471872162");
|
||||
|
||||
/* UNUSED SECTORS:
|
||||
registerHiddenSectors(serpulo,
|
||||
|
||||
@@ -46,7 +46,7 @@ import static mindustry.ui.dialogs.PlanetDialog.Mode.*;
|
||||
|
||||
public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
||||
//if true, enables launching anywhere for testing
|
||||
public static boolean debugSelect = false, debugSectorAttackEdit;
|
||||
public static boolean debugSelect = false, debugSectorAttackEdit, debugShowNumbers = false;
|
||||
public static float sectorShowDuration = 60f * 2.4f;
|
||||
|
||||
public final FrameBuffer buffer = new FrameBuffer(2, 2, true);
|
||||
@@ -550,6 +550,17 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if(debugShowNumbers && (sec.hasEnemyBase() || sec.preset != null)){
|
||||
planets.drawPlane(sec, () -> {
|
||||
Fonts.outline.getData().setScale(0.5f);
|
||||
Fonts.outline.setColor(sec.preset == null ? Color.scarlet : Color.white);
|
||||
|
||||
Fonts.outline.draw(sec.id + "", 0f, 0f, Align.center);
|
||||
Fonts.outline.setColor(Color.white);
|
||||
Fonts.outline.getData().setScale(1f);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Draw.reset();
|
||||
|
||||
Reference in New Issue
Block a user