]> 4ch.mooo.com Git - 16.git/blobdiff - 16/dos_gfx.cpp
modified: 16/DOS_GFX.EXE
[16.git] / 16 / dos_gfx.cpp
index f26fd4f7de71450862b08013513d66713b964c11..7e3327b531019f22c7c3c3cdae8b180e3ea27c74 100644 (file)
@@ -19,7 +19,7 @@ byte *vga = (byte *) MK_FP(0xA000, 0);
  * to be included.\r
  */\r
 #define TESTING\r
-#define TILE\r
+//#define TILE\r
 \r
 /////////////////////////////////////////////////////////////////////////////\r
 //                                                                         //\r
@@ -90,7 +90,7 @@ short colortest(){
 \r
 //color \82Ä\82·\82Æ\r
 short colorz(){\r
-               if(gq < HGQ){\r
+               if(gq <= HGQ){\r
 //----           cls(gq, vaddr);\r
                                cls(gq, vga);\r
                                gq++;\r
@@ -127,7 +127,7 @@ short ding(int q){
                ||q==16\r
                ) && gq == BONK){\r
                                                if(coor < HGQ && coor < LGQ) coor = LGQ;\r
-                                               if(coor < HGQ-1){\r
+                                               if(coor < HGQ){\r
                                                                coor++;\r
                                }else{ coor = LGQ;\r
                                                bakax = rand()%3; bakay = rand()%3;\r
@@ -145,7 +145,7 @@ short ding(int q){
                }\r
 \r
                if(q==7||q==9){\r
-                               if(gq < HGQ){\r
+                               if(gq <= HGQ){\r
                                                if(q == 7) ssd(q);\r
                                                if(q == 9){ ssd(q); coor++; }\r
                                                gq++;\r
@@ -310,7 +310,7 @@ int main(void)
                                                setvideo(1);\r
                                }\r
                }*/ // else off\r
-               mxFillBox(0, 0, VW, BH, 10, OP_SET);\r
+               //mxFillBox(0, 0, VW, BH, 10, OP_SET);\r
                while(1){ // conditions of screen saver\r
                while(!kbhit()){\r
                        ding(key);\r