mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
lines behind sphere are now drawn (darker); better 'behind' colors when background color changes
This commit is contained in:
parent
7bf5fcc2b9
commit
672f4d7b9e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user