mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-07 22:50:10 +00:00
in fake, adjust sizes
This commit is contained in:
parent
5f9ad96959
commit
ae59e50b80
10
geometry.cpp
10
geometry.cpp
@ -581,6 +581,16 @@ void geometry_information::prepare_basics() {
|
|||||||
scalefactor = crossf / hcrossf7;
|
scalefactor = crossf / hcrossf7;
|
||||||
orbsize = crossf;
|
orbsize = crossf;
|
||||||
|
|
||||||
|
if(fake::in()) {
|
||||||
|
auto& u = fake::underlying_cgip;
|
||||||
|
crossf = u->crossf * fake::scale;
|
||||||
|
scalefactor = u->scalefactor * fake::scale;
|
||||||
|
orbsize = u->orbsize * fake::scale;
|
||||||
|
hexf = u->hexf * fake::scale;
|
||||||
|
rhexf = u->rhexf * fake::scale;
|
||||||
|
hexvdist = u->hexvdist * fake::scale;
|
||||||
|
}
|
||||||
|
|
||||||
if(scale_used()) scalefactor *= vid.creature_scale;
|
if(scale_used()) scalefactor *= vid.creature_scale;
|
||||||
|
|
||||||
zhexf = BITRUNCATED ? hexf : crossf* .55;
|
zhexf = BITRUNCATED ? hexf : crossf* .55;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user