1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-28 04:17:39 +00:00

auto-adjusted plevel

This commit is contained in:
Zeno Rogue
2019-08-18 21:16:27 +02:00
parent da87291ea4
commit ecfef817a9
5 changed files with 12 additions and 7 deletions

View File

@@ -121,6 +121,8 @@ struct geometry_information {
ld asteroid_size[8];
ld wormscale;
ld tentacle_length;
/** level in product geometries */
ld plevel;
/** various parameters related to the 3D view */
ld INFDEEP, BOTTOM, HELLSPIKE, LAKE, WALL, FLOOR, STUFF,
@@ -553,6 +555,8 @@ void geometry_information::prepare_basics() {
floorrad1 = rhexf * (GDIM == 3 ? 1 : .8);
}
plevel = vid.plevel_factor * scalefactor;
set_sibling_limit();
prepare_compute3();