1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-26 07:03:19 +00:00

web version did not draw lines for some reason

This commit is contained in:
Zeno Rogue 2020-03-16 21:11:03 +01:00
parent 90393f8c99
commit 5f93ac20b9

View File

@ -737,6 +737,8 @@ void draw_ncee() {
hyperpoint vmap[256][256];
pair<int, int> mpt = {(mousex - xc - cd->xcenter - x0) / siz, (mousey - yc - cd->ycenter - y0) / siz};
queueline(h(0,0), h(0,-1), 0x1010101);
const color_t gridcol = 0xFFFFFFFF;
if(inHighQual) ;
@ -762,8 +764,11 @@ void draw_ncee() {
for(int x=0; x<=X; x++) queueline(h(x,0), h(x,Y), 0x80808080);
for(int y=0; y<=Y; y++) queueline(h(0,y), h(X,y), 0x80808080);
quickqueue();
queueline(h(0,0), h(0,-1), 0x1010101);
quickqueue();
glflush();
}
int ncee_map_prepared;