1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-15 13:17:13 +00:00

arb:: sliders

This commit is contained in:
Zeno Rogue
2020-06-02 02:29:31 +02:00
parent c8ce9c9826
commit b55503dc9f
4 changed files with 94 additions and 12 deletions

View File

@@ -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));