Browse Source

Increased the reduction max count to 10000

pull/1/head^2
David Srbecký 18 years ago
parent
commit
a455a6be02
  1. 173
      bin/Debug/output.cs
  2. 4
      src/MainForm.Designer.cs

173
bin/Debug/output.cs

@ -335,17 +335,26 @@ namespace Reversi
break; break;
} }
} }
if (!V_3) goto BasicBlock_415; if (!(!V_3)) {
if (V_4) goto BasicBlock_419; if (!(V_4)) {
BasicBlock_415: }
if (!V_3) goto BasicBlock_417; else {
if (V_6) goto BasicBlock_419; goto BasicBlock_419;
BasicBlock_417: }
if (!V_5) goto BasicBlock_420; }
if (!V_4) goto BasicBlock_420; if (!(!V_3)) {
if (!(V_6)) {
}
else {
goto BasicBlock_419;
}
}
if (!(!V_5)) {
if (!(!V_4)) {
BasicBlock_419: BasicBlock_419:
return 1; return 1;
BasicBlock_420: }
}
V_3 = 0; V_3 = 0;
V_4 = 0; V_4 = 0;
V_5 = 0; V_5 = 0;
@ -407,17 +416,26 @@ namespace Reversi
break; break;
} }
} }
if (!V_3) goto BasicBlock_440; if (!(!V_3)) {
if (V_4) goto BasicBlock_444; if (!(V_4)) {
BasicBlock_440: }
if (!V_3) goto BasicBlock_442; else {
if (V_6) goto BasicBlock_444; goto BasicBlock_444;
BasicBlock_442: }
if (!V_5) goto BasicBlock_445; }
if (!V_4) goto BasicBlock_445; if (!(!V_3)) {
if (!(V_6)) {
}
else {
goto BasicBlock_444;
}
}
if (!(!V_5)) {
if (!(!V_4)) {
BasicBlock_444: BasicBlock_444:
return 1; return 1;
BasicBlock_445: }
}
V_3 = 0; V_3 = 0;
V_4 = 0; V_4 = 0;
V_5 = 0; V_5 = 0;
@ -494,17 +512,26 @@ namespace Reversi
break; break;
} }
} }
if (!V_3) goto BasicBlock_467; if (!(!V_3)) {
if (V_4) goto BasicBlock_471; if (!(V_4)) {
BasicBlock_467: }
if (!V_3) goto BasicBlock_469; else {
if (V_6) goto BasicBlock_471; goto BasicBlock_471;
BasicBlock_469: }
if (!V_5) goto BasicBlock_472; }
if (!V_4) goto BasicBlock_472; if (!(!V_3)) {
if (!(V_6)) {
}
else {
goto BasicBlock_471;
}
}
if (!(!V_5)) {
if (!(!V_4)) {
BasicBlock_471: BasicBlock_471:
return 1; return 1;
BasicBlock_472: }
}
V_3 = 0; V_3 = 0;
V_4 = 0; V_4 = 0;
V_5 = 0; V_5 = 0;
@ -513,22 +540,26 @@ namespace Reversi
k = (col + 1); k = (col + 1);
for (;;) { for (;;) {
if (!(j < 0)) { if (!(j < 0)) {
if (k >= 8) break; if (!(k >= 8)) {
if (!V_3) goto BasicBlock_473; if (!(!V_3)) {
break; break;
BasicBlock_473: }
if ((@this.squares).Get(j, k) != (IL__ldsfld(Empty))) goto BasicBlock_475; if (!((@this.squares).Get(j, k) != (IL__ldsfld(Empty)))) {
V_3 = 1; V_3 = 1;
goto BasicBlock_478; goto BasicBlock_478;
BasicBlock_475: }
if ((@this.squares).Get(j, k) != i) goto BasicBlock_477; if (!((@this.squares).Get(j, k) != i)) {
goto BasicBlock_476; if (!((@this.safeDiscs).Get(j, k))) {
goto BasicBlock_477;
}
}
else {
goto BasicBlock_477;
}
BasicBlock_478: BasicBlock_478:
j = (j - 1); j = (j - 1);
k = (k + 1); k = (k + 1);
continue; continue;
BasicBlock_476:
if ((@this.safeDiscs).Get(j, k)) goto BasicBlock_478;
BasicBlock_477: BasicBlock_477:
V_5 = 1; V_5 = 1;
goto BasicBlock_478; goto BasicBlock_478;
@ -537,36 +568,66 @@ namespace Reversi
break; break;
} }
} }
else {
break;
}
}
j = (row + 1); j = (row + 1);
k = (col - 1); k = (col - 1);
for (;; k = (k - 1)) { for (;;) {
if (j >= 8) break; if (!(j >= 8)) {
if (k < 0) break; if (!(k < 0)) {
if (!V_4) goto BasicBlock_483; if (!(!V_4)) {
break; break;
BasicBlock_483: }
if ((@this.squares).Get(j, k) != (IL__ldsfld(Empty))) goto BasicBlock_485; if (!((@this.squares).Get(j, k) != (IL__ldsfld(Empty)))) {
V_4 = 1; V_4 = 1;
goto BasicBlock_488; goto BasicBlock_488;
BasicBlock_485: }
if ((@this.squares).Get(j, k) != i) goto BasicBlock_487; if (!((@this.squares).Get(j, k) != i)) {
if ((@this.safeDiscs).Get(j, k)) goto BasicBlock_488; if (!((@this.safeDiscs).Get(j, k))) {
BasicBlock_487: goto BasicBlock_487;
V_6 = 1; }
}
else {
goto BasicBlock_487;
}
BasicBlock_488: BasicBlock_488:
j = (j + 1); j = (j + 1);
k = (k - 1);
continue;
BasicBlock_487:
V_6 = 1;
goto BasicBlock_488;
}
else {
break;
}
}
else {
break;
}
}
if (!(!V_3)) {
if (!(V_4)) {
} }
if (!V_3) goto BasicBlock_494; else {
if (V_4) goto BasicBlock_498; goto BasicBlock_498;
BasicBlock_494: }
if (!V_3) goto BasicBlock_496; }
if (V_6) goto BasicBlock_498; if (!(!V_3)) {
BasicBlock_496: if (!(V_6)) {
if (!V_5) goto BasicBlock_499; }
if (!V_4) goto BasicBlock_499; else {
goto BasicBlock_498;
}
}
if (!(!V_5)) {
if (!(!V_4)) {
BasicBlock_498: BasicBlock_498:
return 1; return 1;
BasicBlock_499: }
}
return 0; return 0;
} }
} }

4
src/MainForm.Designer.cs generated

@ -56,7 +56,7 @@ namespace Decompiler
this.collapseCount.Size = new System.Drawing.Size(78, 26); this.collapseCount.Size = new System.Drawing.Size(78, 26);
this.collapseCount.TabIndex = 1; this.collapseCount.TabIndex = 1;
this.collapseCount.Value = new decimal(new int[] { this.collapseCount.Value = new decimal(new int[] {
1000, 10000,
0, 0,
0, 0,
0}); 0});
@ -74,7 +74,7 @@ namespace Decompiler
this.reduceCount.Size = new System.Drawing.Size(70, 26); this.reduceCount.Size = new System.Drawing.Size(70, 26);
this.reduceCount.TabIndex = 2; this.reduceCount.TabIndex = 2;
this.reduceCount.Value = new decimal(new int[] { this.reduceCount.Value = new decimal(new int[] {
1000, 10000,
0, 0,
0, 0,
0}); 0});

Loading…
Cancel
Save