001 package jagafa.flags;
002
003 public abstract class TestingFlags {
004
005 /* GUI FLAGS */
006 public static boolean showRoundStats_ = true;
007
008 public static boolean showAllHands_ = false;
009
010 /* GAME FLOW FLAGS */
011 public static boolean paused_ = false;
012
013 /* DUMP FLAGS */
014 public static boolean ruleSetChoiceDump_ = false;
015
016 public static boolean probTableDump_ = false;
017
018 public static boolean probAIDump_ = false;
019
020 public static boolean aiStrategyDump_ = false;
021
022 public static boolean showHand_[] = { false, false, false, false };
023
024 public static boolean playerIsHuman_[] = {true, false, false, false };
025
026 /* TEST AUTOMATION FLAGS */
027 public static boolean automatedTest_ = false;
028
029 public static boolean repeatedTest_ = false;
030
031 public static boolean silentTest_ = false;
032
033 public static boolean speedUp_ = false;
034
035 public static boolean redirectSystemOut_ = false;
036
037 public static int repeats_ = 0;
038
039 public static int maxRepeats_ = 0;
040
041 /* TIMER CONSTANTS */
042 public static final int FAST_AI_DELAY = 0;
043
044 public static final int NORMAL_AI_DELAY = 750;
045
046 public static final int RESTART_DELAY = 4000;
047
048 public static final int UI_REFRESH_DELAY = 1500;
049
050 public static final int FAST_UI_REFRESH_DELAY = 0;
051
052
053 /* RESOURCE URL CONSTANTS */
054 public static final String RESOURCE_DIR = "images/swiss/";
055
056 public static final String RESOURCE_DIR2 = "images/french/";
057
058 public static final String EMPTY_IMAGE = "Empty.gif";
059
060 static public final String IMAGE_EXTENSION = ".gif";
061
062
063 /* CARDBUTTON, HAND and BOARD display parameters */
064 public static final double CARD_RATIO = 145.0/195.0;
065
066 public static final int CARD_HEIGHT = 120;
067
068 public static final int CARD_OVERLAP = 50;
069
070 }