about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-05 20:38:27 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-05 20:38:27 -0500
commit960984443e224bd8565f559d842f519e45d778da (patch)
treea5f9f0e673055309e2c81e46da50ed35e001ab89
parent5ebd720812764a0850af8c97478117ea872de24f (diff)
downloadwittle-960984443e224bd8565f559d842f519e45d778da.tar.gz
wittle-960984443e224bd8565f559d842f519e45d778da.tar.bz2
wittle-960984443e224bd8565f559d842f519e45d778da.zip
taking no name's advice on this one
-rw-r--r--ext/wittle_generator/wittle_generator.cpp82
1 files changed, 41 insertions, 41 deletions
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
@@ -974,47 +974,6 @@ Rice::Object wittle_generator_generate_medium(Rice::Object /* self */) {
974 }, 974 },
975 [](Generate& generator) { 975 [](Generate& generator) {
976 generator.setFlag(Generate::RegularStartEnd); 976 generator.setFlag(Generate::RegularStartEnd);
977 generator.generate(
978 4, 4,
979 {{{Decoration::Triangle | Decoration::Color::Orange, 15},
980 {Decoration::Eraser | Decoration::Color::Purple, 1}}});
981 },
982 [](Generate& generator) {
983 generator.setFlag(Generate::RegularStartEnd);
984 generator.generate(
985 4, 4,
986 {{{Decoration::Stone | Decoration::Color::White, 1},
987 {Decoration::Stone | Decoration::Color::Black, 2},
988 {Decoration::Stone | Decoration::Color::Red, 2},
989 {Decoration::Star | Decoration::Color::White, 4},
990 {Decoration::Star | Decoration::Color::Black, 3},
991 {Decoration::Star | Decoration::Color::Red, 3},
992 {Decoration::Decoration::Eraser | Decoration::Color::Green, 1}}});
993 },
994 [](Generate& generator) {
995 generator.setFlag(Generate::RegularStartEnd);
996 generator.generate(
997 4, 4,
998 {{{Decoration::Poly | Decoration::Color::Yellow, 1},
999 {Decoration::Poly | Decoration::Color::Yellow |
1000 Decoration::Can_Rotate,
1001 1},
1002 {Decoration::Triangle | Decoration::Color::Orange, 3}}});
1003 },
1004 [](Generate& generator) {
1005 generator.setFlag(Generate::RegularStartEnd);
1006 generator.generate(
1007 4, 4,
1008 {{{Decoration::Poly | Decoration::Color::Yellow, 2},
1009 {Decoration::Poly | Decoration::Color::Yellow |
1010 Decoration::Can_Rotate,
1011 1},
1012 {Decoration::Triangle | Decoration::Color::Orange, 2},
1013 {Decoration::Stone | Decoration::Color::Black, 2},
1014 {Decoration::Stone | Decoration::Color::White, 2}}});
1015 },
1016 [](Generate& generator) {
1017 generator.setFlag(Generate::RegularStartEnd);
1018 generator.setSymmetry(Panel::Vertical); 977 generator.setSymmetry(Panel::Vertical);
1019 generator.generate( 978 generator.generate(
1020 7, 7, {{{Decoration::Poly | Decoration::Color::Yellow, 5}}}); 979 7, 7, {{{Decoration::Poly | Decoration::Color::Yellow, 5}}});
@@ -1548,6 +1507,47 @@ Rice::Object wittle_generator_generate_expert(Rice::Object /* self */) {
1548 {Decoration::Dot | Decoration::Color::Yellow, 2}, 1507 {Decoration::Dot | Decoration::Color::Yellow, 2},
1549 {Decoration::Triangle | Decoration::Color::Orange, 4}}}); 1508 {Decoration::Triangle | Decoration::Color::Orange, 4}}});
1550 }, 1509 },
1510 [](Generate& generator) {
1511 generator.setFlag(Generate::RegularStartEnd);
1512 generator.generate(
1513 4, 4,
1514 {{{Decoration::Triangle | Decoration::Color::Orange, 15},
1515 {Decoration::Eraser | Decoration::Color::Purple, 1}}});
1516 },
1517 [](Generate& generator) {
1518 generator.setFlag(Generate::RegularStartEnd);
1519 generator.generate(
1520 4, 4,
1521 {{{Decoration::Stone | Decoration::Color::White, 1},
1522 {Decoration::Stone | Decoration::Color::Black, 2},
1523 {Decoration::Stone | Decoration::Color::Red, 2},
1524 {Decoration::Star | Decoration::Color::White, 4},
1525 {Decoration::Star | Decoration::Color::Black, 3},
1526 {Decoration::Star | Decoration::Color::Red, 3},
1527 {Decoration::Decoration::Eraser | Decoration::Color::Green, 1}}});
1528 },
1529 [](Generate& generator) {
1530 generator.setFlag(Generate::RegularStartEnd);
1531 generator.generate(
1532 4, 4,
1533 {{{Decoration::Poly | Decoration::Color::Yellow, 1},
1534 {Decoration::Poly | Decoration::Color::Yellow |
1535 Decoration::Can_Rotate,
1536 1},
1537 {Decoration::Triangle | Decoration::Color::Orange, 3}}});
1538 },
1539 [](Generate& generator) {
1540 generator.setFlag(Generate::RegularStartEnd);
1541 generator.generate(
1542 4, 4,
1543 {{{Decoration::Poly | Decoration::Color::Yellow, 2},
1544 {Decoration::Poly | Decoration::Color::Yellow |
1545 Decoration::Can_Rotate,
1546 1},
1547 {Decoration::Triangle | Decoration::Color::Orange, 2},
1548 {Decoration::Stone | Decoration::Color::Black, 2},
1549 {Decoration::Stone | Decoration::Color::White, 2}}});
1550 },
1551 }; 1551 };
1552 1552
1553 Generate generator; 1553 Generate generator;