]> 4ch.mooo.com Git - 16.git/blobdiff - src/pcxtest.c
trying to figure out the issue with player sprite with pcx i have no idea wwww
[16.git] / src / pcxtest.c
index 5325303c9bd6c4b1a749018136cee484105ed62e..1f366fed8c0d626965a7cf0a8b1c9519e7def1cc 100755 (executable)
@@ -25,7 +25,7 @@
 #include <string.h>\r
 #include "src/lib/16_vl.h"\r
 #include "src/lib/bitmap.h"\r
-//----#include "src/lib/planar.h"\r
+#include "src/lib/16render.h"\r
 \r
 static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */\r
 \r
@@ -33,9 +33,7 @@ void main() {
        static global_game_variables_t gvar;\r
        bitmap_t bmp;\r
 //---- planar_buf_t *p;\r
-       int i;\r
        word start;\r
-       int plane;\r
        float t1, t2;\r
 \r
        // DOSLIB: check our environment\r
@@ -60,7 +58,7 @@ void main() {
        }\r
 \r
 //0000 bmp = bitmapLoadPcx("data/koishi~~.pcx");\r
-       bmp = bitmapLoadPcx("data/chikyuu.pcx");\r
+       bmp = bitmapLoadPcx("data/chikyuu.pcx", &gvar);\r
 //     bmp = bitmapLoadPcx("data/koishi^^.pcx");\r
 //     bmp = bitmapLoadPcx("16/PCX_LIB/chikyuu.pcx");\r
 //---- p = planar_buf_from_bitmap(&bmp);\r