mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
rogueviz::som:: an option to make floor invisible
This commit is contained in:
parent
41bfaeaf36
commit
6291da56c4
@ -151,6 +151,8 @@ double maxudist;
|
||||
|
||||
neuron *distfrom;
|
||||
|
||||
eWall som_floor = waNone;
|
||||
|
||||
void coloring() {
|
||||
if(noshow) return;
|
||||
setindex(false);
|
||||
@ -216,7 +218,7 @@ void coloring() {
|
||||
part(net[i].where->landparam_color, pid) = 32 + (191 * (listing[i] - minl)) / (maxl - minl);
|
||||
|
||||
for(int i=0; i<cells; i++)
|
||||
net[i].where->wall = waNone;
|
||||
net[i].where->wall = som_floor;
|
||||
|
||||
vid.wallmode = 2;
|
||||
}
|
||||
@ -1776,6 +1778,9 @@ int readArgs() {
|
||||
start_game();
|
||||
verify_crawlers();
|
||||
}
|
||||
else if(argis("-som-no-floor")) {
|
||||
som_floor = waInvisibleFloor;
|
||||
}
|
||||
else if(argis("-somrestrict")) {
|
||||
shift(); kohrestrict = argi();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user