mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 09:57:41 +00:00
Wax walls in Canvas now not only in 3D
This commit is contained in:
@@ -3078,7 +3078,7 @@ EX void setdist(cell *c, int d, cell *from) {
|
|||||||
color_t col = ccolor::generateCanvas(c);
|
color_t col = ccolor::generateCanvas(c);
|
||||||
c->landparam = col;
|
c->landparam = col;
|
||||||
c->wall = canvas_default_wall;
|
c->wall = canvas_default_wall;
|
||||||
if((GDIM == 3 || geom3::flipped) && (col & 0x1000000)) c->wall = waWaxWall;
|
if(col & 0x1000000) c->wall = waWaxWall;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CAP_FIELD
|
#if CAP_FIELD
|
||||||
|
@@ -1567,7 +1567,6 @@ EX namespace ccolor {
|
|||||||
EX int rwalls = 50;
|
EX int rwalls = 50;
|
||||||
|
|
||||||
EX void edit_rwalls() {
|
EX void edit_rwalls() {
|
||||||
if(WDIM == 2) return;
|
|
||||||
dialog::editNumber(rwalls, 0, 100, 10, 50, XLAT("probability of a wall (%)"), "");
|
dialog::editNumber(rwalls, 0, 100, 10, 50, XLAT("probability of a wall (%)"), "");
|
||||||
dialog::get_di().reaction = [] { stop_game(); start_game(); };
|
dialog::get_di().reaction = [] { stop_game(); start_game(); };
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user