1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-18 14:35:47 +00:00

windmap comment

This commit is contained in:
Zeno Rogue 2024-10-11 12:36:21 +02:00
parent 08d73c507f
commit c3306cd632

View File

@ -3645,7 +3645,7 @@ EX namespace windmap {
// cw.spin = 0; // cw.spin = 0;
neighbors.emplace_back(); neighbors.emplace_back();
auto &v = neighbors.back(); auto &v = neighbors.back();
if(NONSTDVAR && !sphere && !arcm::in() && !mhybrid && !INVERSE) if(NONSTDVAR && !sphere && !arcm::in() && !mhybrid && !INVERSE && WDIM == 2)
for(int l=0; l<S7; l++) { for(int l=0; l<S7; l++) {
v.push_back(getId(cw + cth + l + wstep + cth)); v.push_back(getId(cw + cth + l + wstep + cth));
} }
@ -3709,6 +3709,7 @@ EX namespace windmap {
tries++; tries++;
if(tries < maxtries) goto tryagain; if(tries < maxtries) goto tryagain;
} }
println(hlog, "windmap: tries = ", tries, " N = ", N);
if(tries >= maxtries && maxtries >= 20) { if(tries >= maxtries && maxtries >= 20) {
addMessage("Failed to generate an interesting wind/lava pattern."); addMessage("Failed to generate an interesting wind/lava pattern.");
} }