diff options
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 | } |
