]> 4ch.mooo.com Git - 16.git/blobdiff - src/0.c
added stuff to help me study 0.exe it is a complex program wwww what is getting to...
[16.git] / src / 0.c
diff --git a/src/0.c b/src/0.c
index 635a4f3eb1a3c34bc01ecb452268055e21abc2f9..4a315f19c341ed4231bb04aa350722423c3b9cf4 100755 (executable)
--- a/src/0.c
+++ b/src/0.c
@@ -75,6 +75,8 @@ int main(int argc,char **argv)
        }\r
        VGAmodeX(1, 1, &gvar);\r
 \r
+       modexPalUpdate0(palette);\r
+\r
        /* load color palette */\r
        fd = open(bakapee2,O_RDONLY|O_BINARY);\r
        if (fd >= 0) {\r
@@ -128,7 +130,7 @@ int main(int argc,char **argv)
        TESTBG;\r
 #endif\r
 \r
-       DRAWCORNERBOXES;\r
+       //DRAWCORNERBOXES;\r
 \r
        /* make distinctive pattern offscreen, render sprite, copy onscreen.\r
         * this time, we render the distinctive pattern to another offscreen location and just copy.\r
@@ -153,7 +155,7 @@ int main(int argc,char **argv)
 #else\r
        TESTBG;\r
 #endif\r
-               DRAWCORNERBOXES;\r
+               //DRAWCORNERBOXES;\r
 \r
                /* starting coords. note: this technique is limited to x coordinates of multiple of 4 */\r
                x = -(gvar.video.page[0].dx);\r
@@ -180,7 +182,7 @@ int main(int argc,char **argv)
                                player[0].q = 1; player[0].d = 2;\r
                                x=y=0;\r
                                xdir=ydir=1;\r
-                               TESTBG;\r
+                               //TESTBG;\r
                                DRAWCORNERBOXES;\r
                        } //R\r
                        FUNCTIONKEYFUNCTIONS0EXE;\r