auto-adjusted plevel

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:13 +02:00
1 parent da87291ea4
commit ecfef817a9
5 files changed
+12 -7

No files matched your search

+4
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();