1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-05 20:07:58 +00:00

compass/Yendor targets now should be displayed in VR

This commit is contained in:
Zeno Rogue
2024-03-24 11:14:05 +01:00
parent 65e9f68bc7
commit 007a111eab
2 changed files with 35 additions and 23 deletions

View File

@@ -2497,15 +2497,8 @@ void celldrawer::draw_item_full() {
if(doHighlight()) asciiborder = kind_outline(it) >> 8;
if(it == itCompass && isPlayerOn(c)) {
cell *c1 = c ? findcompass(c) : NULL;
if(c1) {
shiftmatrix P = ggmatrix(c1);
shiftpoint P1 = tC0(P);
queuestr(P1, 2*vid.fsize, "X", 0x10100 * int(128 + 100 * sintick(150)));
queuestr(P1, vid.fsize, its(-compassDist(c)), 0x10101 * int(128 - 100 * sintick(150)));
addauraspecial(P1, 0xFF0000, 0);
}
shiftpoint dummy;
mark_compass(c, dummy);
}
}