diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-01 18:07:04 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-01 18:07:04 -0400 |
commit | bec6f657f405cb27939ec42ae35c0cc9d524bbb9 (patch) | |
tree | d7cef60e532041b650ef9c54c8645607f21c3b12 /ext/wittle_generator/Panel.cpp | |
parent | 63624385ccc66f6a2f40797baad1972957e34863 (diff) | |
download | wittle-bec6f657f405cb27939ec42ae35c0cc9d524bbb9.tar.gz wittle-bec6f657f405cb27939ec42ae35c0cc9d524bbb9.tar.bz2 wittle-bec6f657f405cb27939ec42ae35c0cc9d524bbb9.zip |
invisible symmetry!
Diffstat (limited to 'ext/wittle_generator/Panel.cpp')
-rw-r--r-- | ext/wittle_generator/Panel.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ext/wittle_generator/Panel.cpp b/ext/wittle_generator/Panel.cpp index 892d4cc..879d205 100644 --- a/ext/wittle_generator/Panel.cpp +++ b/ext/wittle_generator/Panel.cpp | |||
@@ -225,9 +225,13 @@ std::string Panel::Write() { | |||
225 | } | 225 | } |
226 | 226 | ||
227 | serializer.writeInt(0); | 227 | serializer.writeInt(0); |
228 | serializer.writeByte(Serializer::NegationsCancelNegations | | 228 | |
229 | Serializer::PrecisePolyominos | | 229 | char settings = Serializer::NegationsCancelNegations | |
230 | Serializer::FlashForErrors); | 230 | Serializer::PrecisePolyominos | Serializer::FlashForErrors; |
231 | if (_invisible_symmetry) { | ||
232 | settings |= Serializer::InvisibleSymmetry; | ||
233 | } | ||
234 | serializer.writeByte(settings); | ||
231 | 235 | ||
232 | return serializer.str(); | 236 | return serializer.str(); |
233 | } | 237 | } |