Revision 688f7712
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/objects/FactorySticker.java | ||
---|---|---|
289 | 289 |
|
290 | 290 |
float cx5 = left + (0.5f+F/2-radius2)*TEXTURE_HEIGHT; |
291 | 291 |
float cx6 = left + (0.5f-F/2+radius2)*TEXTURE_HEIGHT; |
292 |
float cy1 = top + (0.5f+G/3-radius2)*TEXTURE_HEIGHT;;
|
|
292 |
float cy1 = top + (0.5f+G/3-radius2)*TEXTURE_HEIGHT; |
|
293 | 293 |
float R2 = TEXTURE_HEIGHT*radius2; |
294 | 294 |
|
295 | 295 |
canvas.drawArc( cx5-R2, cy1-R2, cx5+R2, cy1+R2, 0, 90, false ,paint); |
src/main/java/org/distorted/objects/TwistyRex.java | ||
---|---|---|
518 | 518 |
} |
519 | 519 |
|
520 | 520 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
521 |
// only needed for solvers - there are no Rex solvers ATM)
|
|
521 |
// only needed for solvers - there are no Rex solvers ATM |
|
522 | 522 |
|
523 | 523 |
public String retObjectString() |
524 | 524 |
{ |
src/main/java/org/distorted/scores/RubikScores.java | ||
---|---|---|
42 | 42 |
public static final long NO_RECORD = Long.MAX_VALUE; |
43 | 43 |
private static RubikScores mThis; |
44 | 44 |
|
45 |
private long[][][] mRecords; |
|
46 |
private int [][][] mSubmitted; |
|
45 |
private final long[][][] mRecords;
|
|
46 |
private final int [][][] mSubmitted;
|
|
47 | 47 |
|
48 | 48 |
private String mName, mCountry; |
49 | 49 |
private boolean mNameIsVerified; |
src/main/java/org/distorted/scores/RubikScoresDownloader.java | ||
---|---|---|
87 | 87 |
"%f8", "%f9", "%fa", "%fb", "%fc", "%fd", "%fe", "%ff" |
88 | 88 |
}; |
89 | 89 |
|
90 |
private static final int mTotal = ObjectList.getTotal(); |
|
91 |
private static final String[][][] mCountry = new String[mTotal][MAX_LEVEL][MAX_PLACES]; |
|
92 |
private static final String[][][] mName = new String[mTotal][MAX_LEVEL][MAX_PLACES]; |
|
93 |
private static final float[][][] mTime = new float[mTotal][MAX_LEVEL][MAX_PLACES]; |
|
94 |
private static final int[][] mPlaces = new int[mTotal][MAX_LEVEL]; |
|
95 |
|
|
96 |
private static RubikScoresDownloader mThis; |
|
97 |
private static String mScores = ""; |
|
90 | 98 |
private static boolean mRunning = false; |
91 | 99 |
private static int mMode = IDLE; |
92 | 100 |
private static Receiver mReceiver; |
93 | 101 |
private static String mVersion; |
94 | 102 |
|
95 |
private static int mTotal = ObjectList.getTotal(); |
|
96 |
private static String mScores = ""; |
|
97 |
private static String[][][] mCountry = new String[mTotal][MAX_LEVEL][MAX_PLACES]; |
|
98 |
private static String[][][] mName = new String[mTotal][MAX_LEVEL][MAX_PLACES]; |
|
99 |
private static float[][][] mTime = new float[mTotal][MAX_LEVEL][MAX_PLACES]; |
|
100 |
|
|
101 |
private static int[][] mPlaces = new int[mTotal][MAX_LEVEL]; |
|
102 |
private static RubikScoresDownloader mThis; |
|
103 |
|
|
104 | 103 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
105 | 104 |
|
106 | 105 |
private static String computeHash(String stringToHash, byte[] salt) |
Also available in: Unified diff
Cleanups