1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

rogueviz:: draw better lines in solv/sl2 visualizations

This commit is contained in:
Zeno Rogue 2024-07-21 21:30:50 +02:00
parent 63cc3af2f8
commit 94064a18af

View File

@ -621,11 +621,16 @@ bool drawVertex(const shiftmatrix &V, cell *c, shmup::monster *m) {
if(callhandlers(false, hooks_alt_edges, ei, false)) ;
else if(pmodel && !fat_edges) {
else if(sl2)
rots::queueline_correct(h1, h2, col, 2 + vid.linequality, PPR::STRUCT0);
else if(sol && !fat_edges)
sn::queueline_lie(h1, h2, col, 2 + vid.linequality, PPR::STRUCT0);
else if(pmodel && !fat_edges && !sol) {
queueline(h1, h2, col, 2 + vid.linequality).prio = PPR::STRUCT0;
}
else {
cell *center = multidraw ? c : centerover;
if(!multidraw && ei->orig && ei->orig != center && celldistance(ei->orig, center) > 3)