1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-19 11:44:48 +00:00

display Compass beason on radar

This commit is contained in:
Zeno Rogue 2024-05-09 21:10:53 +02:00
parent 2097fde609
commit a130fbbc50

View File

@ -878,6 +878,7 @@ EX bool mark_compass(cell *c, shiftpoint& P1) {
// queuestr(V, 1, its(compassDist(c)), 0x10101 * int(128 - 100 * sin(ticks / 150.)), 1);
queue_goal_text(P1, 1, its(-compassDist(c)), 0x10101 * int(128 - 100 * sintick(150)));
addauraspecial(P1, 0xFF0000, 0);
addradar(P, 'X', iinf[itCompass].color, 0xFF, true);
}
return true;
}