mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-15 13:17:13 +00:00
arb:: sliders
This commit is contained in:
@@ -636,7 +636,7 @@ void geometry_information::prepare_basics() {
|
||||
}
|
||||
|
||||
if(arb::in()) {
|
||||
auto& csc = arb::current.cscale;
|
||||
auto csc = arb::current_or_slided().cscale;
|
||||
scalefactor = csc;
|
||||
hcrossf = crossf = orbsize = hcrossf7 * csc;
|
||||
hexf = rhexf = hexvdist = csc * .5;
|
||||
@@ -996,6 +996,11 @@ EX string cgi_string() {
|
||||
V("GEO", its(int(geometry)));
|
||||
V("VAR", its(int(variation)));
|
||||
|
||||
if(arb::in() && arb::using_slided) {
|
||||
for(auto& sl: arb::current.sliders)
|
||||
V("AS", fts(sl.current));
|
||||
}
|
||||
|
||||
if(fake::in()) {
|
||||
if(hyperbolic) V("H", fts(fake::around));
|
||||
if(euclid) V("E", fts(fake::around));
|
||||
|
||||
Reference in New Issue
Block a user