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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user