]> 4ch.mooo.com Git - 16.git/blobdiff - src/pcxtest2.c
branch is in the master swap branch code added to swap the files out ^^
[16.git] / src / pcxtest2.c
index aea2eb9a542bfecb1ca81e07808547083a5f0472..167e1f6a46f955f2b8071112cec982b1ad1bad63 100755 (executable)
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123\r
+ * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
  *\r
  * This file is part of Project 16.\r
  *\r
@@ -25,7 +25,7 @@
 #include <string.h>\r
 #include "src/lib/modex16.h"\r
 #include "src/lib/bitmap.h"\r
-#include "src/lib/planar.h"\r
+//----#include "src/lib/planar.h"\r
 \r
 global_game_variables_t gvar;\r
 \r
@@ -56,7 +56,7 @@ DrawPBuf(page_t *page, int x, int y, planar_buf_t *p, byte sprite)
 \r
 void main() {\r
        bitmap_t bmp;\r
-       planar_buf_t *p;\r
+//---- planar_buf_t *p;\r
        int i;\r
        word start;\r
        int plane;\r
@@ -87,7 +87,7 @@ void main() {
        bmp = bitmapLoadPcx("data/chikyuu.pcx");\r
 //     bmp = bitmapLoadPcx("data/koishi^^.pcx");\r
 //     bmp = bitmapLoadPcx("16/PCX_LIB/chikyuu.pcx");\r
-       p = planar_buf_from_bitmap(&bmp);\r
+//---- p = planar_buf_from_bitmap(&bmp);\r
        VGAmodeX(1, 1, &gvar);\r
        gvar.video.page[0]=modexDefaultPage(&gvar.video.page[0]);\r
        gvar.video.page[0].sw+=32;\r