1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 06:03:23 +00:00

qtm:: spheredemo included

This commit is contained in:
Zeno Rogue 2020-05-08 21:20:06 +02:00
parent e3cff7f383
commit ee0f57f28b

View File

@ -100,6 +100,28 @@ int args() {
qtm_on = true;
}
else if(argis("-spheredemo")) {
start_game();
auto c = currentmap->allcells();
for(cell* cx: c) cx->wall = waNone, cx->item = itNone, cx->land = laCanvas, cx->landparam = 0;
c[1]->wall = waPalace;
c[1]->land = laPalace;
int N = isize(c);
int i = 1+N/4;
int j = 1+2*N/4 + 4;
int k = 1+3*N/4;
c[i]->wall = waIcewall;
c[i]->land = laIce;
c[j]->wall = waBigTree;
c[j]->land = laDryForest;
c[k]->wall = waWaxWall;
c[k]->landparam = 0xFF0000;
}
else return 1;
return 0;
}