From 88ad92c9382a68532503a351b053de024d116774 Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Sun, 24 Nov 2019 13:56:33 -0800 Subject: next puzzle --- Source/Randomizer2.cpp | 25 ++++++++++++++++++++++--- Source/Randomizer2Core.cpp | 5 +++++ 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/Source/Randomizer2.cpp b/Source/Randomizer2.cpp index 993e7cc..107950d 100644 --- a/Source/Randomizer2.cpp +++ b/Source/Randomizer2.cpp @@ -175,20 +175,39 @@ void Randomizer2::RandomizeSymmetry() { p.grid[2][0].end = Cell::Dir::UP; p.grid[6][0].end = Cell::Dir::UP; std::vector cutEdges = Randomizer2Core::CutSymmetricalEdgePairs(p, 4); - bool alternate = false; for (int i=0; i cutEdges = Randomizer2Core::CutSymmetricalEdgePairs(p, 10); + for (int i=0; i Randomizer2Core::CutSymmetricalEdgePairs(const Puzzle& p, size_ for (int y=0; y