1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-05 16:04:07 +00:00

rogueviz::seuphorica::fixed scrying

This commit is contained in:
Zeno Rogue 2025-03-08 16:38:22 +01:00
parent 27e0e8db34
commit 02dff7d074

View File

@ -648,7 +648,7 @@ struct tilebox {
write_in_space(ASP * eupush(*x2 - marginsize, *y2 - marginsize), 72, 50/3, its(cash) + "$", darkena(col, 0, 0xFF), 16, 16);
}
if(hr::isize(snapshots) || (ptset == &deck && scry_active)) return;
if(hr::isize(snapshots)) return;
int idx = 0;
for(auto& t: *ptset) {
@ -664,6 +664,8 @@ struct tilebox {
render_tile(ASP * eupush(lt) * euscalexx(tilesize), t, nullptr, ptset, idx++);
}
if(ptset == &deck && scry_active) return;
int cx = 0;
auto sortbutton = [&] (string title, string desc, auto action) {
if(displayfr(*x1 + 12 + vid.fsize * (++cx)/2 - vid.fsize/4, *y2 - 12 - vid.fsize/2 + vid.fsize/4, 1, vid.fsize/2, title, col, 8)) {