mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-05 11:12:49 +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:
|
case patTriNet:
|
||||||
forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2)) if(celldist(c) != celldist(c2)) {
|
forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2)) if(celldist(c) != celldist(c2)) {
|
||||||
queueline(tC0(V), gmatrix[c2]*C0,
|
queueline(tC0(V), gmatrix[c2]*C0, col, 2);
|
||||||
darkena(backcolor ^ 0xFFFFFF, 0, col),
|
|
||||||
2);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case patTriRings:
|
case patTriRings:
|
||||||
forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && celldist(c) == celldist(c2))
|
forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && celldist(c) == celldist(c2))
|
||||||
queueline(tC0(V), gmatrix[c2]*C0,
|
queueline(tC0(V), gmatrix[c2]*C0, col, 2);
|
||||||
darkena(backcolor ^ 0xFFFFFF, 0, col),
|
|
||||||
2);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case patHepta:
|
case patHepta:
|
||||||
forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && pseudohept(c) == pseudohept(c2))
|
forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && pseudohept(c) == pseudohept(c2))
|
||||||
queueline(tC0(V), gmatrix[c2]*C0,
|
queueline(tC0(V), gmatrix[c2]*C0, col, 2);
|
||||||
darkena(backcolor ^ 0xFFFFFF, 0, col),
|
|
||||||
2);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case patRhomb:
|
case patRhomb:
|
||||||
forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && pseudohept(c) != pseudohept(c2))
|
forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && pseudohept(c) != pseudohept(c2))
|
||||||
queueline(tC0(V), gmatrix[c2]*C0,
|
queueline(tC0(V), gmatrix[c2]*C0, col, 2);
|
||||||
darkena(backcolor ^ 0xFFFFFF, 0, col),
|
|
||||||
2);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case patPalace: {
|
case patPalace: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user