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

a bit larger bounded well

This commit is contained in:
Zeno Rogue 2020-10-26 19:38:07 +01:00
parent d037aa0fef
commit 201990aca0

View File

@ -1476,12 +1476,19 @@ void get_level() {
if(geometry == g45) { if(geometry == g45) {
set<cell*> all; set<cell*> all;
well_center = currentmap->gamestart(); well_center = currentmap->gamestart();
all.insert(well_center);
for(int i=0; i<4; i++) for(int i=0; i<4; i++)
for(int l: {-1, 0, 1})
for(int j=0; j<4; j++) for(int j=0; j<4; j++)
for(int k: {-1, 1}) { for(int k: {-1, 1}) {
cellwalker cw(well_center, i); cellwalker cw(well_center, i);
cw += wstep; cw += wstep;
all.insert(cw.at); all.insert(cw.at);
if(l) {
cw += l;
cw += wstep;
all.insert(cw.at);
}
cw += j; cw += j;
cw += wstep; cw += wstep;
all.insert(cw.at); all.insert(cw.at);