1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

conformal:: 'spiral' now works for bands (actually it worked already, but some texts have been replaced)

This commit is contained in:
Zeno Rogue 2018-11-27 21:39:39 +01:00
parent 35b826645c
commit d4d7239575

View File

@ -596,7 +596,7 @@ namespace conformal {
vector<pair<int, int> > torus_zeros;
void match_torus_period() { // fix cylinder
void match_torus_period() {
torus_zeros.clear();
for(int y=0; y<=200; y++)
for(int x=-200; x<=200; x++) {
@ -822,7 +822,7 @@ namespace conformal {
dialog::editNumber(spiral_y, -20, 20, 1, 10, XLAT("spiral period: y"), "");
});
if(euwrap) {
dialog::addSelItem(XLAT("match the period of the torus"), its(spiral_id), 'n');
dialog::addSelItem(XLAT("match the period"), its(spiral_id), 'n');
dialog::add_action(match_torus_period);
}
}