From 1bffc16386231ab4af64b7807fd8305e8ff9ba5e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 14 Mar 2025 13:00:47 +0100 Subject: [PATCH] fixup to 3D, now changeable and named correctly --- rogueviz/fifteen.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rogueviz/fifteen.cpp b/rogueviz/fifteen.cpp index c4c7c69c..9a3148b9 100644 --- a/rogueviz/fifteen.cpp +++ b/rogueviz/fifteen.cpp @@ -157,7 +157,7 @@ void scramble() { bool mouse_over_button; -bool seupho3 = true; +bool fifteen3 = true; bool draw_fifteen(cell *c, const shiftmatrix& V) { hr::addaura(tC0(V), darkened(0x0000FF), 0); @@ -180,7 +180,7 @@ bool draw_fifteen(cell *c, const shiftmatrix& V) { } else { - if(seupho3) { + if(fifteen3) { set_floor(cgi.shFullFloor); ensure_floorshape_generated(shvid(c), c); for(int i=0; itype; i++) @@ -295,6 +295,8 @@ void edit_fifteen() { }); } + add_edit(fifteen3); + switch(state) { case state::edited: dialog::addInfo("edited"); @@ -602,6 +604,8 @@ auto fifteen_hook = + addHook(hooks_configfile, 100, [] { param_b(show_dots, "fifteen_dots"); param_b(show_triangles, "fifteen_tris"); + param_b(fifteen3, "fifteen_3d") + -> editable("3D Fifteen tile effects", '3'); }) + addHook_slideshows(120, [] (tour::ss::slideshow_callback cb) {