From 960984443e224bd8565f559d842f519e45d778da Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 5 Nov 2023 20:38:27 -0500 Subject: taking no name's advice on this one --- ext/wittle_generator/wittle_generator.cpp | 82 +++++++++++++++---------------- 1 file changed, 41 insertions(+), 41 deletions(-) (limited to 'ext') diff --git a/ext/wittle_generator/wittle_generator.cpp b/ext/wittle_generator/wittle_generator.cpp index 1a3d287..77096c7 100644 --- a/ext/wittle_generator/wittle_generator.cpp +++ b/ext/wittle_generator/wittle_generator.cpp @@ -972,47 +972,6 @@ Rice::Object wittle_generator_generate_medium(Rice::Object /* self */) { 2}, {Decoration::Start, 1}}}); }, - [](Generate& generator) { - generator.setFlag(Generate::RegularStartEnd); - generator.generate( - 4, 4, - {{{Decoration::Triangle | Decoration::Color::Orange, 15}, - {Decoration::Eraser | Decoration::Color::Purple, 1}}}); - }, - [](Generate& generator) { - generator.setFlag(Generate::RegularStartEnd); - generator.generate( - 4, 4, - {{{Decoration::Stone | Decoration::Color::White, 1}, - {Decoration::Stone | Decoration::Color::Black, 2}, - {Decoration::Stone | Decoration::Color::Red, 2}, - {Decoration::Star | Decoration::Color::White, 4}, - {Decoration::Star | Decoration::Color::Black, 3}, - {Decoration::Star | Decoration::Color::Red, 3}, - {Decoration::Decoration::Eraser | Decoration::Color::Green, 1}}}); - }, - [](Generate& generator) { - generator.setFlag(Generate::RegularStartEnd); - generator.generate( - 4, 4, - {{{Decoration::Poly | Decoration::Color::Yellow, 1}, - {Decoration::Poly | Decoration::Color::Yellow | - Decoration::Can_Rotate, - 1}, - {Decoration::Triangle | Decoration::Color::Orange, 3}}}); - }, - [](Generate& generator) { - generator.setFlag(Generate::RegularStartEnd); - generator.generate( - 4, 4, - {{{Decoration::Poly | Decoration::Color::Yellow, 2}, - {Decoration::Poly | Decoration::Color::Yellow | - Decoration::Can_Rotate, - 1}, - {Decoration::Triangle | Decoration::Color::Orange, 2}, - {Decoration::Stone | Decoration::Color::Black, 2}, - {Decoration::Stone | Decoration::Color::White, 2}}}); - }, [](Generate& generator) { generator.setFlag(Generate::RegularStartEnd); generator.setSymmetry(Panel::Vertical); @@ -1548,6 +1507,47 @@ Rice::Object wittle_generator_generate_expert(Rice::Object /* self */) { {Decoration::Dot | Decoration::Color::Yellow, 2}, {Decoration::Triangle | Decoration::Color::Orange, 4}}}); }, + [](Generate& generator) { + generator.setFlag(Generate::RegularStartEnd); + generator.generate( + 4, 4, + {{{Decoration::Triangle | Decoration::Color::Orange, 15}, + {Decoration::Eraser | Decoration::Color::Purple, 1}}}); + }, + [](Generate& generator) { + generator.setFlag(Generate::RegularStartEnd); + generator.generate( + 4, 4, + {{{Decoration::Stone | Decoration::Color::White, 1}, + {Decoration::Stone | Decoration::Color::Black, 2}, + {Decoration::Stone | Decoration::Color::Red, 2}, + {Decoration::Star | Decoration::Color::White, 4}, + {Decoration::Star | Decoration::Color::Black, 3}, + {Decoration::Star | Decoration::Color::Red, 3}, + {Decoration::Decoration::Eraser | Decoration::Color::Green, 1}}}); + }, + [](Generate& generator) { + generator.setFlag(Generate::RegularStartEnd); + generator.generate( + 4, 4, + {{{Decoration::Poly | Decoration::Color::Yellow, 1}, + {Decoration::Poly | Decoration::Color::Yellow | + Decoration::Can_Rotate, + 1}, + {Decoration::Triangle | Decoration::Color::Orange, 3}}}); + }, + [](Generate& generator) { + generator.setFlag(Generate::RegularStartEnd); + generator.generate( + 4, 4, + {{{Decoration::Poly | Decoration::Color::Yellow, 2}, + {Decoration::Poly | Decoration::Color::Yellow | + Decoration::Can_Rotate, + 1}, + {Decoration::Triangle | Decoration::Color::Orange, 2}, + {Decoration::Stone | Decoration::Color::Black, 2}, + {Decoration::Stone | Decoration::Color::White, 2}}}); + }, }; Generate generator; -- cgit 1.4.1