1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

crystal334: help line shows coordinates in the cheat mode

This commit is contained in:
Zeno Rogue 2019-10-12 13:15:46 +02:00
parent 06cfce6e23
commit 60ff50e8e2

View File

@ -817,6 +817,18 @@ EX void describeMouseover() {
}
}
#if CAP_CRYSTAL
if(geometry == gCrystal344 && cheater && crystal::view_coordinates) {
out += " (";
auto co = crystal::get_coord(c->master);
for(int i=0; i<4; i++) {
if(i) out += ",";
out += its(co[i]);
}
out += ")";
}
#endif
if(c->wall && !(c->wall == waChasm && c->land == laDual && ctof(c)) &&
!(c->land == laMemory) &&
!((c->wall == waFloorA || c->wall == waFloorB) && c->item)) {