diff options
Diffstat (limited to 'src/steps.c')
| -rw-r--r-- | src/steps.c | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/src/steps.c b/src/steps.c index 79f609b..cfd9a23 100644 --- a/src/steps.c +++ b/src/steps.c | |||
| @@ -121,6 +121,27 @@ optimal_light_HTM = { | |||
| 121 | .ntables = 2, | 121 | .ntables = 2, |
| 122 | }; | 122 | }; |
| 123 | 123 | ||
| 124 | /* Optimal after EO ******************/ | ||
| 125 | |||
| 126 | Step | ||
| 127 | eofin_eo = { | ||
| 128 | .shortname = "eofin", | ||
| 129 | .name = "Optimal solve after EO without breaking EO (detected)", | ||
| 130 | |||
| 131 | .final = true, | ||
| 132 | .is_done = is_solved, | ||
| 133 | .estimate = estimate_nxopt31_HTM, | ||
| 134 | .ready = check_eofb, | ||
| 135 | .ready_msg = check_eo_msg, | ||
| 136 | .is_valid = always_valid, | ||
| 137 | .moveset = &moveset_eofb, | ||
| 138 | |||
| 139 | .detect = detect_pretrans_eofb, | ||
| 140 | |||
| 141 | .tables = {&pd_nxopt31_HTM, &pd_corners_HTM}, | ||
| 142 | .ntables = 2, | ||
| 143 | }; | ||
| 144 | |||
| 124 | Step | 145 | Step |
| 125 | eofbfin_eofb = { | 146 | eofbfin_eofb = { |
| 126 | .shortname = "eofbfin", | 147 | .shortname = "eofbfin", |
| @@ -140,6 +161,44 @@ eofbfin_eofb = { | |||
| 140 | .ntables = 2, | 161 | .ntables = 2, |
| 141 | }; | 162 | }; |
| 142 | 163 | ||
| 164 | Step | ||
| 165 | eorlfin_eorl = { | ||
| 166 | .shortname = "eorlfin", | ||
| 167 | .name = "Optimal after EO on R/L without breaking EO", | ||
| 168 | |||
| 169 | .final = true, | ||
| 170 | .is_done = is_solved, | ||
| 171 | .estimate = estimate_nxopt31_HTM, | ||
| 172 | .ready = check_eofb, | ||
| 173 | .ready_msg = check_eo_msg, | ||
| 174 | .is_valid = always_valid, | ||
| 175 | .moveset = &moveset_eofb, | ||
| 176 | |||
| 177 | .pre_trans = ur, | ||
| 178 | |||
| 179 | .tables = {&pd_nxopt31_HTM, &pd_corners_HTM}, | ||
| 180 | .ntables = 2, | ||
| 181 | }; | ||
| 182 | |||
| 183 | Step | ||
| 184 | eoudfin_eoud = { | ||
| 185 | .shortname = "eoudfin", | ||
| 186 | .name = "Optimal after EO on U/D without breaking EO", | ||
| 187 | |||
| 188 | .final = true, | ||
| 189 | .is_done = is_solved, | ||
| 190 | .estimate = estimate_nxopt31_HTM, | ||
| 191 | .ready = check_eofb, | ||
| 192 | .ready_msg = check_eo_msg, | ||
| 193 | .is_valid = always_valid, | ||
| 194 | .moveset = &moveset_eofb, | ||
| 195 | |||
| 196 | .pre_trans = fd, | ||
| 197 | |||
| 198 | .tables = {&pd_nxopt31_HTM, &pd_corners_HTM}, | ||
| 199 | .ntables = 2, | ||
| 200 | }; | ||
| 201 | |||
| 143 | /* EO steps **************************/ | 202 | /* EO steps **************************/ |
| 144 | Step | 203 | Step |
| 145 | eoany_HTM = { | 204 | eoany_HTM = { |
| @@ -880,7 +939,11 @@ htrfin_htr = { | |||
| 880 | Step *steps[NSTEPS] = { | 939 | Step *steps[NSTEPS] = { |
| 881 | &optimal_HTM, /* first is default */ | 940 | &optimal_HTM, /* first is default */ |
| 882 | &optimal_light_HTM, | 941 | &optimal_light_HTM, |
| 942 | |||
| 943 | &eofin_eo, | ||
| 883 | &eofbfin_eofb, | 944 | &eofbfin_eofb, |
| 945 | &eorlfin_eorl, | ||
| 946 | &eoudfin_eoud, | ||
| 884 | 947 | ||
| 885 | &eoany_HTM, | 948 | &eoany_HTM, |
| 886 | &eofb_HTM, | 949 | &eofb_HTM, |
