improvements to patterns; codenumbers also display directions

This commit is contained in:
Zeno Rogue committed 2017-12-09 08:06:41 +01:00
1 parent 4fa764c175
commit 9933f373d2
10 files changed
+529 -463

No files matched your search

+2 -5
View File
@@ -82,12 +82,9 @@ int arg::readCommon() {
shift();
char *c = args();
using namespace patterns;
sym01 = sym02 = sym03 = symRotation = false;
subpattern_flags = 0;
while(*c) {
if(*c == '1') sym01 = true;
else if(*c == '2') sym02 = true;
else if(*c == '3') sym03 = true;
else if(*c == '0') symRotation = true;
if(*c >= '0' && *c <= '9') subpattern_flags ^= (*c - '0');
else whichPattern = *c;
c++;
}