1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-16 10:19:58 +00:00

net drawn in netgen

This commit is contained in:
Zeno Rogue 2019-05-22 00:06:37 +02:00
parent 15f87d151a
commit a6dd48cec0

View File

@ -622,6 +622,7 @@ namespace hr { namespace netgen {
cmode = sm::SIDE; cmode = sm::SIDE;
gamescreen(0); gamescreen(0);
if(true) { if(true) {
initquickqueue();
for(int i=0; i<CELLS; i++) { for(int i=0; i<CELLS; i++) {
int t = ct[i]; int t = ct[i];
int ofs = t == 7 ? 0 : 5; int ofs = t == 7 ? 0 : 5;
@ -635,6 +636,7 @@ namespace hr { namespace netgen {
queueline(hvec(i, (e+ofs)%t), hvec(i, (e+1+ofs)%t), (col << 8) + 0xFF, 3); queueline(hvec(i, (e+ofs)%t), hvec(i, (e+1+ofs)%t), (col << 8) + 0xFF, 3);
} }
} }
quickqueue();
} }
if(mode != 2) { if(mode != 2) {
dialog::init("paper model creator"); dialog::init("paper model creator");