mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-29 00:23:08 +00:00
fake curvature
This commit is contained in:
1 parent
a5a49ce5c9
commit
1b96658a05
15 files changed
+434
-11
No files matched your search
@@ -1085,6 +1085,7 @@ EX bool quotient_field_changed;
|
||||
#define STR(x) string(x, sizeof(x))
|
||||
|
||||
EX struct fpattern& getcurrfp() {
|
||||
if(fake::in()) return *FPIU(&getcurrfp());
|
||||
if(geometry == gFieldQuotient && quotient_field_changed)
|
||||
return current_quotient_field;
|
||||
if(geometry == gSpace535) {
|
||||
@@ -1156,6 +1157,7 @@ EX struct fpattern& getcurrfp() {
|
||||
DEBB(DF_FIELD, ("set prime = ", fp.Prime));
|
||||
return fp;
|
||||
}
|
||||
if(!hyperbolic) return fp_invalid;
|
||||
if(S7 == 8 && S3 == 3 && !bt::in()) {
|
||||
static fpattern fp(17);
|
||||
return fp;
|
||||
|
||||
Reference in new issue
Block a user