]> 4ch.mooo.com Git - 16.git/blobdiff - src/test2.c
did some cleanings wwww
[16.git] / src / test2.c
index e10597f8f09d49cb38c182ed13ce1af92bbd4f75..b4c33ee3c7f5315f574e20e2a39a2586dfa86c0f 100755 (executable)
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669\r
+ * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
  *\r
  * This file is part of Project 16.\r
  *\r
 \r
 #include <stdio.h>\r
 #include <conio.h>\r
-#include "src/lib/modex16.h"\r
+#include "src/lib/16_vl.h"\r
 #include "src/lib/planar.h"\r
 //#include "src/lib/bitmap.h"\r
 \r
 void main() {\r
        FILE *file;\r
     bitmap_t bmp;\r
-    planar_buf_t *p;\r
+//----    planar_buf_t *p;\r
     word size;\r
     int i;\r
     int plane;\r
@@ -56,17 +56,17 @@ void main() {
     /* create the planar buffer */\r
     p = planar_buf_from_bitmap(&bmp);\r
 \r
-    /* print out the contents of each plane */\r
-    for(plane=0; plane < 4; plane++) {\r
-        i=0;\r
-       printf("Plane %d\n", plane);\r
-       for(y=0; y < p->height; y++) {\r
-           for(x=0; x < p->pwidth; x++) {\r
-               printf("%02X ", (int) p->plane[plane][i++]);\r
-           }\r
-           printf("\n");\r
+       /* print out the contents of each plane */\r
+       for(plane=0; plane < 4; plane++) {\r
+               i=0;\r
+               printf("Plane %d\n", plane);\r
+               for(y=0; y < p->height; y++) {\r
+                       for(x=0; x < p->pwidth; x++) {\r
+                               printf("%02X ", (int) p->plane[plane][i++]);\r
+                       }\r
+                       printf("\n");\r
+               }\r
        }\r
-    }\r
                /*__asm\r
                {\r
                        mov ah,31h\r