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

qtm:: fixed a crash on small spheres, and created new patterns -two-way and -one-center

This commit is contained in:
Zeno Rogue 2020-05-15 11:51:33 +02:00
parent 2f76a23d99
commit 40e7f80ca9

View File

@ -137,6 +137,7 @@ int args() {
int i = 1+N/4;
int j = 1+2*N/4 + 4;
int k = 1+3*N/4;
j %= N;
c[i]->wall = waIcewall;
c[i]->land = laIce;
@ -148,6 +149,21 @@ int args() {
c[k]->landparam = 0xFF0000;
}
else if(argis("-two-way")) {
start_game();
cwt.at->move(0)->wall = waWaxWall;
cwt.at->move(0)->landparam = 0xFF0000;
cwt.at->move(6)->wall = waWaxWall;
cwt.at->move(6)->landparam = 0xFFFF40;
}
else if(argis("-one-center")) {
start_game();
cwt.at->wall = waWaxWall;
cwt.at->landparam = 0xFFD500;
}
else return 1;
return 0;
}