Revision 4e722678
Added by Leszek Koltunski 12 months ago
| src/main/java/org/distorted/phasedsolver/SolverActivity.java | ||
|---|---|---|
| 187 | 187 |
{ {12,13,16,17} }, // white cross - all at once
|
| 188 | 188 |
{ {0}, {1}, {2}, {3} }, // white corners - one by one
|
| 189 | 189 |
{ {8}, {9},{10},{11} }, // 2nd layer edges - one by one
|
| 190 |
{ {14,1} } // cyclic (cubit,quatIndex) - yellow cross
|
|
| 190 |
{ {14,1} }, // cyclic (cubit,quatIndex) - yellow cross
|
|
| 191 |
{ { 4,1} } // cyclic (cubit,quatIndex) - yellow corners
|
|
| 191 | 192 |
}; |
| 192 | 193 |
int[] modes = {
|
| 193 | 194 |
PhasedSolver.MODE_NOT_CYCLIC, |
| 194 | 195 |
PhasedSolver.MODE_NOT_CYCLIC, |
| 195 | 196 |
PhasedSolver.MODE_NOT_CYCLIC, |
| 196 |
PhasedSolver.MODE_CYCLIC_O_FIRST |
|
| 197 |
PhasedSolver.MODE_CYCLIC_O_FIRST, |
|
| 198 |
PhasedSolver.MODE_CYCLIC_P_FIRST |
|
| 197 | 199 |
}; |
| 198 | 200 |
|
| 199 | 201 |
PhasedSolver ps = new PhasedSolver(so,params,modes); |
| src/main/java/org/distorted/phasedsolver/SolverLowerPane.java | ||
|---|---|---|
| 77 | 77 |
if( mMoves!=null && mCanMove && mCurrMove>0 ) |
| 78 | 78 |
{
|
| 79 | 79 |
mCanMove = false; |
| 80 |
setText(act); |
|
| 81 | 80 |
int[] move = mMoves[--mCurrMove]; |
| 81 |
setText(act); |
|
| 82 | 82 |
|
| 83 | 83 |
mControl = act.getControl(); |
| 84 | 84 |
mControl.blockTouch(MOVES_PLACE_0); |
| ... | ... | |
| 93 | 93 |
if( mMoves!=null && mCanMove && mCurrMove<mNumMoves ) |
| 94 | 94 |
{
|
| 95 | 95 |
mCanMove = false; |
| 96 |
setText(act); |
|
| 97 | 96 |
int[] move = mMoves[mCurrMove++]; |
| 97 |
setText(act); |
|
| 98 | 98 |
|
| 99 | 99 |
mControl = act.getControl(); |
| 100 | 100 |
mControl.blockTouch(MOVES_PLACE_1); |
Also available in: Unified diff
Bugfix for the PhasedSolver app.