extra options to change canvas_sky_style and grid_layers

This commit is contained in:
Zeno Rogue committed 2026-11-15 22:10:32 +01:00
1 parent d93ea565a3
commit d29fa04dcc
3 files changed
+10 -4

No files matched your search

+4 -2
View File
@@ -442,6 +442,8 @@ EX void queue_transparent_wall(const shiftmatrix& V, hpcshape& sh, color_t color
}
}
EX int canvas_sky_style = 3;
#if MAXMDIM >= 4
EX int ceiling_category(cell *c) {
switch(c->land) {
@@ -545,8 +547,8 @@ EX int ceiling_category(cell *c) {
return 3;
case laCanvas:
if(canvas_default_wall == waInvisibleFloor) return 0;
return 3;
if(canvas_default_wall == waInvisibleFloor && canvas_sky_style == 3) return 0;
return canvas_sky_style;
case laPalace:
case laPrincessQuest: