1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +00:00

removed the 2D info from the projection dialog in 3D

This commit is contained in:
Zeno Rogue 2019-06-01 19:25:24 +02:00
parent 7c8cf2e065
commit b1276e2184

View File

@ -1112,7 +1112,7 @@ void projectionDialog() {
"for more models.")); "for more models."));
dialog::extra_options = [] () { dialog::extra_options = [] () {
dialog::addBreak(100); dialog::addBreak(100);
dialog::addHelp(XLAT( if(GDIM == 2) dialog::addHelp(XLAT(
"If we are viewing an equidistant g absolute units below a plane, " "If we are viewing an equidistant g absolute units below a plane, "
"from a point c absolute units above the plane, this corresponds " "from a point c absolute units above the plane, this corresponds "
"to viewing a Minkowski hyperboloid from a point " "to viewing a Minkowski hyperboloid from a point "
@ -1284,7 +1284,11 @@ void show3D() {
dialog::addSelItem(XLAT(GDIM == 2 ? "Camera level above the plane" : "Z shift"), fts(vid.camera), 'c'); dialog::addSelItem(XLAT(GDIM == 2 ? "Camera level above the plane" : "Z shift"), fts(vid.camera), 'c');
dialog::addSelItem(XLAT("Ground level below the plane"), fts(vid.depth), 'g'); dialog::addSelItem(XLAT("Ground level below the plane"), fts(vid.depth), 'g');
dialog::addSelItem(XLAT("Projection at the ground level"), fts(vid.alpha), 'a'); if(GDIM == 2)
dialog::addSelItem(XLAT("Projection at the ground level"), fts(vid.alpha), 'p');
else if(pmodel != mdPerspective)
dialog::addSelItem(XLAT("Projection distance"), fts(vid.alpha), 'p');
dialog::addBreak(50); dialog::addBreak(50);
dialog::addSelItem(XLAT("Height of walls"), fts(vid.wall_height), 'w'); dialog::addSelItem(XLAT("Height of walls"), fts(vid.wall_height), 'w');