1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-16 11:08:05 +00:00

configurable field patterns

This commit is contained in:
Zeno Rogue
2017-11-07 00:40:46 +01:00
parent 64a37d3ba2
commit d007580967
5 changed files with 127 additions and 9 deletions

View File

@@ -695,7 +695,12 @@ void info() {
printf("cases found = %d (%d hard)\n", cases, hard);
}
fpattern current_quotient_field(0);
bool quotient_field_changed;
fpattern& getcurrfp() {
if(quotient == 2 && quotient_field_changed)
return current_quotient_field;
if(S7 == 8 && S3 == 3) {
static fpattern fp(17);
return fp;