remove references to OldGuiNewGame

This commit is contained in:
slapshot5
2012-01-07 07:13:59 +00:00
parent 593e1be7f8
commit a01445c3f6
2 changed files with 2 additions and 16 deletions

View File

@@ -146,10 +146,10 @@ public class ForgePreferences extends Preferences {
this.setPlayForAnte(this.getBoolean("play.for.ante", false));
this.setUILayout(this.get("gui.layout", ""));
this.setStackAiLand(this.getBoolean("AI.stack.land", false));
this.setMillingLossCondition(this.getBoolean("loss.condition.milling", true));
this.setMillingLossCondition(this.getBoolean("loss.condition.milling", false));
this.setHandView(this.getBoolean("developer.handview", true));
this.setLibraryView(this.getBoolean("developer.libraryview", true));
this.setUnlimitedLand(this.getBoolean("developer.unlimitedland", true));
this.setUnlimitedLand(this.getBoolean("developer.unlimitedland", false));
this.setDeveloperMode(this.getBoolean("developer.mode", false));
this.setUploadDraftAI(this.getBoolean("upload.Draft.AI", true));

View File

@@ -39,9 +39,6 @@ import forge.properties.ForgePreferences;
import forge.view.FView;
import forge.view.GuiTopLevel;
import forge.view.home.SplashFrame;
import forge.view.swing.OldGuiNewGame.CardSizesAction;
import forge.view.swing.OldGuiNewGame.CardStackAction;
import forge.view.swing.OldGuiNewGame.CardStackOffsetAction;
import forge.view.toolbox.FSkin;
/**
@@ -116,20 +113,9 @@ public class ApplicationView implements FView {
final ForgePreferences preferences = model.getPreferences();
OldGuiNewGame.getSmoothLandCheckBox().setSelected(preferences.isStackAiLand());
OldGuiNewGame.getDevModeCheckBox().setSelected(preferences.isDeveloperMode());
OldGuiNewGame.getCardOverlay().setSelected(preferences.isCardOverlay());
// FindBugs doesn't like the next line.
ImageCache.setScaleLargerThanOriginal(preferences.isScaleLargerThanOriginal());
OldGuiNewGame.getCardScale().setSelected(preferences.isScaleLargerThanOriginal());
CardStackOffsetAction.set(preferences.getStackOffset());
CardStackAction.setVal(preferences.getMaxStackSize());
CardSizesAction.set(preferences.getCardSize());
OldGuiNewGame.getUpldDrftCheckBox().setSelected(preferences.isUploadDraftAI());
OldGuiNewGame.getFoilRandomCheckBox().setSelected(preferences.isRandCFoil());
} catch (final Exception exn) {
Log.error("Error loading preferences: " + exn);
}