mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-31 19:36:16 +00:00
never_invert flag, mainly for debugging
This commit is contained in:
parent
fb2a3a7931
commit
29d1a0c191
@ -1275,6 +1275,7 @@ geom3::eSpatialEmbedding embed_by_name(string ss) {
|
|||||||
return seNone;
|
return seNone;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto ah_embed = arg::add2("-seo", [] { arg::shift(); invoke_embed(embed_by_name(arg::args())); });
|
auto ah_embed = arg::add2("-seo", [] { arg::shift(); invoke_embed(embed_by_name(arg::args())); })
|
||||||
|
+ arg::add2("-never-invert", [] { never_invert = true; });
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -450,7 +450,9 @@ EX bool no_easy_spin() {
|
|||||||
return NONSTDVAR || arcm::in() || WDIM == 3 || bt::in() || kite::in();
|
return NONSTDVAR || arcm::in() || WDIM == 3 || bt::in() || kite::in();
|
||||||
}
|
}
|
||||||
|
|
||||||
EX bool dont_inverse() { return PURE && cgi.emb->is_euc_in_noniso(); }
|
EX bool never_invert;
|
||||||
|
|
||||||
|
EX bool dont_inverse() { return never_invert || (PURE && cgi.emb->is_euc_in_noniso()); }
|
||||||
|
|
||||||
ld hrmap_standard::spin_angle(cell *c, int d) {
|
ld hrmap_standard::spin_angle(cell *c, int d) {
|
||||||
if(WDIM == 3) return SPIN_NOT_AVAILABLE;
|
if(WDIM == 3) return SPIN_NOT_AVAILABLE;
|
||||||
|
Loading…
Reference in New Issue
Block a user