This commit is contained in:
Anuken
2025-08-30 10:27:38 -04:00
parent df36007728
commit b3afa14d07
2 changed files with 3 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ public class DrawTurret extends DrawBlock{
@Override @Override
public void drawPlan(Block block, BuildPlan plan, Eachable<BuildPlan> list){ public void drawPlan(Block block, BuildPlan plan, Eachable<BuildPlan> list){
Draw.rect(base, plan.drawx(), plan.drawy()); Draw.rect(base, plan.drawx(), plan.drawy());
Draw.rect(preview, plan.drawx(), plan.drawy(), plan.rotation * 90f - 90f); Draw.rect(preview, plan.drawx(), plan.drawy(), block.rotate ? plan.rotation * 90f - 90f : 0f);
} }
@Override @Override

View File

@@ -52,12 +52,8 @@ public class DesktopLauncher extends ClientLauncher{
switch(name){ switch(name){
case "width" -> width = Strings.parseInt(arg[i + 1], width); case "width" -> width = Strings.parseInt(arg[i + 1], width);
case "height" -> height = Strings.parseInt(arg[i + 1], height); case "height" -> height = Strings.parseInt(arg[i + 1], height);
case "glMajor" -> { case "glMajor" -> gl30Major = Strings.parseInt(arg[i + 1], gl30Major);
gl30Major = Strings.parseInt(arg[i + 1], gl30Major); case "glMinor" -> gl30Minor = Strings.parseInt(arg[i + 1], gl30Minor);
}
case "glMinor" -> {
gl30Minor = Strings.parseInt(arg[i + 1], gl30Minor);
}
case "gl3" -> gl30 = true; case "gl3" -> gl30 = true;
case "gl2" -> gl30 = false; case "gl2" -> gl30 = false;
case "coreGl" -> coreProfile = true; case "coreGl" -> coreProfile = true;