]> 4ch.mooo.com Git - 16.git/commitdiff
modified: 16/DOS_GFX.EXE
authorsparky4 <sparky4@4ch.maidlab.jp>
Tue, 6 May 2014 00:16:59 +0000 (19:16 -0500)
committersparky4 <sparky4@4ch.maidlab.jp>
Tue, 6 May 2014 00:16:59 +0000 (19:16 -0500)
modified:   16/dos_gfx.cpp

16/DOS_GFX.EXE
16/dos_gfx.cpp

index d3df3f89e3dbf4dfcca1123e0ce6f53b21ad9b54..fb077d121af3cfc717657f0e43c2940f07bdf07c 100644 (file)
Binary files a/16/DOS_GFX.EXE and b/16/DOS_GFX.EXE differ
index c1d9f135759496947c31c43793e6b6ef5ae7deff..e5e4c6ed237822777572bfde8f84b8acc5bc3616 100644 (file)
@@ -294,19 +294,18 @@ void drawline(int x1, int y1, int x2, int y2, char col)
 \r
 void drawrect(int x1, int y1, int x2, int y2, char color)\r
 {\r
-       /*drawline(x1,y1,x2,y1,color);\r
+       drawline(x1,y1,x2,y1,color);\r
        drawline(x1,y2,x2,y2,color);\r
        drawline(x1,y1,x1,y2,color);\r
-       drawline(x2,y1,x2,y2+1,color);*/
-       //_fmemset(vga+x1+y2, color, 16*16);
-       byte far *p;
+       drawline(x2,y1,x2,y2+1,color);
+       /*byte far *p;
        
        p=vga+y1*width+x1;  // make p point to the start of the line
        while((y2-y1))                  // repeat for entire line height
                {
-               _fmemset(p, color, x2-x1);      // set one line
+               _fmemset(vga, color, x2-x1);    // set one line
                p+=width;               // move down one row
-               }\r
+               }*/\r
 }\r
 \r
 \r