Add preference how to display alternate card states in deck views

This commit is contained in:
Bug Hunter
2021-05-02 14:25:35 +00:00
committed by Michael Kamensky
parent a3fc74c44e
commit c13e379908
12 changed files with 80 additions and 29 deletions

View File

@@ -338,13 +338,18 @@ public final class ForgeConstants {
public static final String STACK_EFFECT_NOTIFICATION_ALWAYS = "Always";
public static final String STACK_EFFECT_NOTIFICATION_AI_AND_TRIGGERED = "AI cast/activated, or triggered by any player";
// Constants for LAnd played notification policy
// Constants for Land played notification policy
public static final String LAND_PLAYED_NOTIFICATION_NEVER = "Never";
public static final String LAND_PLAYED_NOTIFICATION_ALWAYS = "Always";
public static final String LAND_PLAYED_NOTIFICATION_ALWAYS_FOR_NONBASIC_LANDS = "Always, but only for nonbasic lands";
public static final String LAND_PLAYED_NOTIFICATION_AI = "Lands entering a battlefield because of an action of a AI player";
public static final String LAND_PLAYED_NOTIFICATION_AI_FOR_NONBASIC_LANDS = "Nonbasic lands entering a battlefield because of an action of a AI player";
// Constants for Land played notification policy
public static final String SWITCH_CARDSTATES_DECK_NEVER = "Never";
public static final String SWITCH_CARDSTATES_DECK_ALWAYS = "Always";
public static final String SWITCH_CARDSTATES_DECK_HOVER = "Switch back on hover";
// Set boolean constant for landscape mode for gdx port
public static final boolean isGdxPortLandscape = FileUtil.doesFileExist(ASSETS_DIR + "switch_orientation.ini");

View File

@@ -157,6 +157,7 @@ public class ForgePreferences extends PreferencesStore<ForgePreferences.FPref> {
UI_DEFAULT_FONT_SIZE("12"),
UI_SELECT_FROM_CARD_DISPLAYS("true"),
UI_FOR_TOUCHSCREN("false"),
UI_SWITCH_STATES_DECKVIEW("Always"),
UI_VIBRATE_ON_LIFE_LOSS("true"),
UI_VIBRATE_ON_LONG_PRESS("true"),