From 50992a6ab44321fe925c2becaa856a31696076ea Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Mon, 25 Nov 2019 18:02:59 -0800 Subject: Simplified / added two more --- Source/Randomizer2.cpp | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'Source/Randomizer2.cpp') diff --git a/Source/Randomizer2.cpp b/Source/Randomizer2.cpp index 107950d..d2046bb 100644 --- a/Source/Randomizer2.cpp +++ b/Source/Randomizer2.cpp @@ -208,6 +208,53 @@ void Randomizer2::RandomizeSymmetry() { _serializer.WritePuzzle(p, 0x59); } + { // Back wall 4 + Puzzle p; + p.NewGrid(5, 8); + p.symmetry = Puzzle::Symmetry::X; + p.grid[2][16].start = true; + p.grid[8][16].start = true; + p.grid[4][0].end = Cell::Dir::UP; + p.grid[6][0].end = Cell::Dir::UP; + std::vector cutEdges = Randomizer2Core::CutSymmetricalEdgePairs(p, 15); + for (int i=0; i