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:
parent
06cfce6e23
commit
60ff50e8e2
12
help.cpp
12
help.cpp
@ -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) &&
|
||||
|
Loading…
Reference in New Issue
Block a user