1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-11 21:51:57 +00:00

eye/hair colors are now used by Thief powers

This commit is contained in:
Zeno Rogue
2025-12-08 17:43:35 +01:00
parent 00de7a42ef
commit 4bc5a3e32a
2 changed files with 4 additions and 4 deletions

View File

@@ -626,7 +626,7 @@ struct snake : public enemy {
};
struct disnake : public snake {
color_t color() override { return 0x2020F0FF; }
color_t color() override { return m.hair.col; }
void act() override;
bool is_disarmer() override { return true; }
string get_name() override { return "hairsnake"; }

View File

@@ -271,7 +271,7 @@ void man::draw() {
curvepoint(eupush(h.x, h.y) * C0);
}
vid.linewidth *= 3;
queuecurve(scrm, 0x800080, 0, PPR::LINE);
queuecurve(scrm, m.eye.col, 0, PPR::LINE);
vid.linewidth /= 3;
current_room->bfs(xy_to_block(m.where), [&] (intxy xy) {
if(hdist(h0, block_to_hyper(xy)) > r) return false;
@@ -307,7 +307,7 @@ void man::draw() {
curvepoint(eupush(h.x, h.y) * C0);
}
vid.linewidth *= 3;
queuecurve(scrm, 0xFF000080, 0, PPR::LINE);
queuecurve(scrm, m.eye.col, 0, PPR::LINE);
vid.linewidth /= 3;
}
}
@@ -330,7 +330,7 @@ void man::draw() {
if(!(walls[what].flags & W_TRANS)) break;
}
vid.linewidth *= 3;
queuecurve(scrm, 0x800080, 0, PPR::LINE);
queuecurve(scrm, m.eye.col, 0, PPR::LINE);
vid.linewidth /= 3;
}
}