1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

lines behind sphere are now drawn (darker); better 'behind' colors when background color changes

This commit is contained in:
Zeno Rogue 2017-11-13 01:59:07 +01:00
parent 7bf5fcc2b9
commit 672f4d7b9e

View File

@ -822,9 +822,9 @@ void drawqueue() {
#else
polytodraw& ptd (*ptds2[i]);
#endif
if(ptd.kind == pkPoly) {
if(ptd.kind == pkPoly || ptd.kind == pkLine) {
unsigned c = ptd.col;
ptd.col = ((c & 0xFCFCFC00) >> 2) | (c & 0xFF);
ptd.col = (gradient(c>>8, backcolor, 0, .75, 1)<<8) | 0xFF;
drawqueueitem(ptd);
ptd.col = c;
}