This reverts commit
f00dbcf8.
The behaviour "fixed" in the above commit as being a bug is in fact
the correct and intended behaviour, as Deflektor style polarizors are
to be treated as solid, tile-filling blocks, not as tiles with a
little bit free space around them, as suggested by the graphics (and
as it is the case with the Mirror Magic variant of these tiles).
#define MM_MASK_GRID_2 5
#define MM_MASK_GRID_3 6
#define MM_MASK_GRID_4 7
-#define MM_MASK_GRID_CLOSED 8
-#define MM_MASK_RECTANGLE 9
-#define MM_MASK_CIRCLE 10
+#define MM_MASK_RECTANGLE 8
+#define MM_MASK_CIRCLE 9
-#define NUM_MM_MASKS 11
+#define NUM_MM_MASKS 10
// element masks for scanning pixels of MM elements
static const char mm_masks[NUM_MM_MASKS][16][16 + 1] =
" XXX XXXX ",
" XX XXXXX ",
},
- {
- " XXXXXX XXXXXX ",
- "XXXXXXXXXXXXXXXX",
- "XXXXXXXXXXXXXXXX",
- "XXXXXXXXXXXXXXXX",
- "XXXXXXXXXXXXXXXX",
- "XXXXXXXXXXXXXXXX",
- "XXXXXXXXXXXXXXXX",
- " XXXXXXXXXXXXXX ",
- " XXXXXXXXXXXXXX ",
- "XXXXXXXXXXXXXXXX",
- "XXXXXXXXXXXXXXXX",
- "XXXXXXXXXXXXXXXX",
- "XXXXXXXXXXXXXXXX",
- "XXXXXXXXXXXXXXXX",
- "XXXXXXXXXXXXXXXX",
- " XXXXXX XXXXXX ",
- },
{
"XXXXXXXXXXXXXXXX",
"XXXXXXXXXXXXXXXX",
else if (IS_GRID(element))
return MM_MASK_GRID_1 + get_element_phase(element);
else if (IS_DF_GRID(element))
- return MM_MASK_GRID_CLOSED;
+ return MM_MASK_RECTANGLE;
else if (IS_RECTANGLE(element))
return MM_MASK_RECTANGLE;
else