diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2021-08-21 17:12:29 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2021-08-21 17:12:29 -0400 |
| commit | c60df0e75e63f488d94fd744ad70df8124dc7724 (patch) | |
| tree | 92940cd8c0da9102c7f1f9ef37ed4d4b5d341985 /Source/Randomizer2Core.h | |
| parent | 02327bf40bb9f6ef8d5e17fa982da70a3fe93eb4 (diff) | |
| download | witness-tutorializer-c60df0e75e63f488d94fd744ad70df8124dc7724.tar.gz witness-tutorializer-c60df0e75e63f488d94fd744ad70df8124dc7724.tar.bz2 witness-tutorializer-c60df0e75e63f488d94fd744ad70df8124dc7724.zip | |
Souped up the UI
Diffstat (limited to 'Source/Randomizer2Core.h')
| -rw-r--r-- | Source/Randomizer2Core.h | 17 |
1 files changed, 0 insertions, 17 deletions
| diff --git a/Source/Randomizer2Core.h b/Source/Randomizer2Core.h deleted file mode 100644 index df98de8..0000000 --- a/Source/Randomizer2Core.h +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | class Randomizer2Core { | ||
| 4 | public: | ||
| 5 | // CAUTION: These do not actually cut edges, they just returns a list of suggested cuts. | ||
| 6 | static std::vector<Pos> CutEdges(const Puzzle& p, size_t numEdges); | ||
| 7 | static std::vector<Pos> CutInsideEdges(const Puzzle& p, size_t numEdges); | ||
| 8 | static std::vector<Pos> CutSymmetricalEdgePairs(const Puzzle& p, size_t numEdges); | ||
| 9 | |||
| 10 | private: | ||
| 11 | static std::vector<Pos> CutEdgesInternal(const Puzzle& p, int xMin, int xMax, int yMin, int yMax, size_t numEdges); | ||
| 12 | static void DebugColorGrid(const std::vector<std::vector<int>>& colorGrid); | ||
| 13 | static void FloodFill(const Puzzle& p, std::vector<std::vector<int>>& colorGrid, int color, int x, int y); | ||
| 14 | static void FloodFillOutside(const Puzzle& p, std::vector<std::vector<int>>& colorGrid, int x, int y); | ||
| 15 | static std::tuple<std::vector<std::vector<int>>, int> CreateColorGrid(const Puzzle& p); | ||
| 16 | }; | ||
| 17 | |||
