mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 22:39:53 +00:00
crystal334: help line shows coordinates in the cheat mode
This commit is contained in:
parent
06cfce6e23
commit
60ff50e8e2
12
help.cpp
12
help.cpp
@ -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)) &&
|
if(c->wall && !(c->wall == waChasm && c->land == laDual && ctof(c)) &&
|
||||||
!(c->land == laMemory) &&
|
!(c->land == laMemory) &&
|
||||||
!((c->wall == waFloorA || c->wall == waFloorB) && c->item)) {
|
!((c->wall == waFloorA || c->wall == waFloorB) && c->item)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user