]> 4ch.mooo.com Git - 16.git/blobdiff - src/pcxtest.c
====XMS MOSTLY translated but crashes EXMMTEST.EXE ====
[16.git] / src / pcxtest.c
index d73171e7bf6bfc83134f0788060b9877cbbb114b..2f61443de3d0a72af5148d8fdba8e3680fbd019f 100755 (executable)
 #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
 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
@@ -62,7 +62,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
 \r