mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
colors no longer silently modified in linepatterns
This commit is contained in:
parent
962a448a21
commit
c5bf7cb95c
16
pattern2.cpp
16
pattern2.cpp
@ -1807,31 +1807,23 @@ namespace linepatterns {
|
||||
|
||||
case patTriNet:
|
||||
forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2)) if(celldist(c) != celldist(c2)) {
|
||||
queueline(tC0(V), gmatrix[c2]*C0,
|
||||
darkena(backcolor ^ 0xFFFFFF, 0, col),
|
||||
2);
|
||||
queueline(tC0(V), gmatrix[c2]*C0, col, 2);
|
||||
}
|
||||
break;
|
||||
|
||||
case patTriRings:
|
||||
forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && celldist(c) == celldist(c2))
|
||||
queueline(tC0(V), gmatrix[c2]*C0,
|
||||
darkena(backcolor ^ 0xFFFFFF, 0, col),
|
||||
2);
|
||||
queueline(tC0(V), gmatrix[c2]*C0, col, 2);
|
||||
break;
|
||||
|
||||
case patHepta:
|
||||
forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && pseudohept(c) == pseudohept(c2))
|
||||
queueline(tC0(V), gmatrix[c2]*C0,
|
||||
darkena(backcolor ^ 0xFFFFFF, 0, col),
|
||||
2);
|
||||
queueline(tC0(V), gmatrix[c2]*C0, col, 2);
|
||||
break;
|
||||
|
||||
case patRhomb:
|
||||
forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && pseudohept(c) != pseudohept(c2))
|
||||
queueline(tC0(V), gmatrix[c2]*C0,
|
||||
darkena(backcolor ^ 0xFFFFFF, 0, col),
|
||||
2);
|
||||
queueline(tC0(V), gmatrix[c2]*C0, col, 2);
|
||||
break;
|
||||
|
||||
case patPalace: {
|
||||
|
Loading…
Reference in New Issue
Block a user