- Fix compile (clean up imports)

This commit is contained in:
Michael Kamensky
2021-02-18 22:11:24 +03:00
parent 0116ccdc1d
commit 65a25d6111
3 changed files with 4 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
-dontpreverify -dontpreverify
-verbose -verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable
-libraryjars /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar
-dontwarn afu.org.checkerframework.** -dontwarn afu.org.checkerframework.**
-dontwarn io.netty.** -dontwarn io.netty.**

View File

@@ -43,12 +43,12 @@ public class Main {
} }
// Set this to "true" to make the mobile game port run as a full-screen desktop application // Set this to "true" to make the mobile game port run as a full-screen desktop application
boolean desktopMode = cmd.hasOption("fullscreen"); boolean desktopMode = true;//cmd.hasOption("fullscreen");
// Set this to the location where you want the mobile game port to look for assets when working as a full-screen desktop application // Set this to the location where you want the mobile game port to look for assets when working as a full-screen desktop application
// (uncomment the bottom version and comment the top one to load the res folder from the current folder the .jar is in if you would // (uncomment the bottom version and comment the top one to load the res folder from the current folder the .jar is in if you would
// like to make the game load from a desktop game folder configuration). // like to make the game load from a desktop game folder configuration).
String desktopModeAssetsDir = "../forge-gui/"; //String desktopModeAssetsDir = "../forge-gui/";
//String desktopModeAssetsDir = "./"; String desktopModeAssetsDir = "./";
// Assets directory used when the game fully emulates smartphone/tablet mode (desktopMode = false), useful when debugging from IDE // Assets directory used when the game fully emulates smartphone/tablet mode (desktopMode = false), useful when debugging from IDE
String assetsDir = AssetsDownloader.SHARE_DESKTOP_ASSETS ? "../forge-gui/" : "testAssets/"; String assetsDir = AssetsDownloader.SHARE_DESKTOP_ASSETS ? "../forge-gui/" : "testAssets/";

View File

@@ -17,7 +17,6 @@ import com.badlogic.gdx.graphics.g2d.TextureRegion;
import forge.FThreads; import forge.FThreads;
import forge.assets.FSkinImage.SourceFile; import forge.assets.FSkinImage.SourceFile;
import forge.card.CardFaceSymbols; import forge.card.CardFaceSymbols;
import forge.card.CardImageRenderer;
import forge.model.FModel; import forge.model.FModel;
import forge.properties.ForgeConstants; import forge.properties.ForgeConstants;
import forge.properties.ForgePreferences; import forge.properties.ForgePreferences;