1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 11:00:34 +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

@ -816,6 +816,18 @@ EX void describeMouseover() {
out += " ("+its(short(x))+","+its(short(y))+")";
}
}
#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) &&