]> 4ch.mooo.com Git - 16.git/blobdiff - src/pcxtest.c
help.... ><
[16.git] / src / pcxtest.c
index 26aea719d45d658b2be76ca20f128b2e525b3eeb..ea8bfdf0b6cfd53be4d4659b0abca6a69f57cc01 100644 (file)
@@ -64,14 +64,14 @@ void main() {
        page=modexDefaultPage();\r
 \r
 //0000 bmp = bitmapLoadPcx("data/koishi~~.pcx");
-       bmp = bitmapLoadPcx("data/chikyuu.pcx");
-//     bmp = bitmapLoadPcx("data/koishi^^.pcx");
+//     bmp = bitmapLoadPcx("data/chikyuu.pcx");
+       bmp = bitmapLoadPcx("data/koishi^^.pcx");
 //     bmp = bitmapLoadPcx("16/PCX_LIB/chikyuu.pcx");
 //0000 p = planar_buf_from_bitmap(&bmp);\r
        modexEnter();\r
 \r
        /* fix up the palette and everything */\r
-//++++ modexPalUpdate(&bmp, 0, 0, 0);\r
+       modexPalUpdate1(bmp.palette);\r
 \r
        /* clear and draw one sprite and one bitmap */\r
        modexClearRegion(&page, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 1);\r