1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-31 14:02:59 +00:00

arb:: new command cscale

This commit is contained in:
Zeno Rogue
2020-05-30 20:00:09 +02:00
parent 07b1eaeda5
commit 21e256fe12
2 changed files with 14 additions and 0 deletions

View File

@@ -597,6 +597,13 @@ void geometry_information::prepare_basics() {
rhexf = u->rhexf * fake::scale;
hexvdist = u->hexvdist * fake::scale;
}
if(arb::in()) {
auto& csc = arb::current.cscale;
scalefactor = csc;
hcrossf = crossf = orbsize = hcrossf7 * csc;
hexf = rhexf = hexvdist = csc * .5;
}
if(scale_used()) scalefactor *= vid.creature_scale;