about summary refs log tree commit diff stats
path: root/Source/Randomizer2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Randomizer2.cpp')
-rw-r--r--Source/Randomizer2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Randomizer2.cpp b/Source/Randomizer2.cpp index adf8eb6..00b584e 100644 --- a/Source/Randomizer2.cpp +++ b/Source/Randomizer2.cpp
@@ -34,6 +34,7 @@ void Randomizer2::RandomizeTutorial() {
34 Puzzle p; 34 Puzzle p;
35 p.NewGrid(6, 6); 35 p.NewGrid(6, 6);
36 36
37 // @Bug: Mid-segment endpoints are not yet supported.
37 switch (Random::RandInt(1, 4)) { 38 switch (Random::RandInt(1, 4)) {
38 case 1: 39 case 1:
39 p.grid[Random::RandInt(0, p.width-1)][0].end = Cell::Dir::UP; 40 p.grid[Random::RandInt(0, p.width-1)][0].end = Cell::Dir::UP;
@@ -93,6 +94,7 @@ void Randomizer2::RandomizeTutorial() {
93 p.grid[12][12].start = true; 94 p.grid[12][12].start = true;
94 p.grid[6][0].end = Cell::Dir::UP; 95 p.grid[6][0].end = Cell::Dir::UP;
95 96
97 // @Cleanup
96 std::vector<Pos> cuts; 98 std::vector<Pos> cuts;
97 bool toTheRight; 99 bool toTheRight;
98 // Start by generating a cut line, to ensure one of the two startpoints is inaccessible 100 // Start by generating a cut line, to ensure one of the two startpoints is inaccessible