mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-10 03:04:06 +00:00
fixup to 3D, now changeable and named correctly
This commit is contained in:
parent
743800dcfd
commit
1bffc16386
@ -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; i<c->type; 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) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user