1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-29 04:47:41 +00:00

stretch:: renamed rots_twist to stretch, also implemented for slr

This commit is contained in:
Zeno Rogue
2020-05-09 10:41:15 +02:00
parent ecb88d8501
commit fd9ea8793e
6 changed files with 101 additions and 52 deletions

View File

@@ -826,6 +826,20 @@ EX void showEuclideanMenu() {
});
}
if(stretch::applicable()) {
dialog::addSelItem(XLAT("stretched geometry"), fts(stretch::factor), 'S');
dialog::add_action([] {
dialog::editNumber(stretch::factor, -1, 9, 0.1, 0, XLAT("stretched geometry"),
XLAT(
"Stretch the metric along the fibers. This can currently be done in rotation spaces and in 8-cell, 24-cell and 120-cell. "
"Value of 0 means not stretched, -1 means S2xE or H2xE (works only in the limit). "
"Only the raycaster is implemented for stretched geometry, so you will see only walls."
)
);
dialog::reaction = ray::reset_raycaster;
});
}
dialog::addBreak(100);
dialog::addSelItem(XLAT("land"), XLAT1(linf[specialland].name), 'l');
dialog::add_action_push(ge_land_selection);