X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fpcxtest.c;h=ea8bfdf0b6cfd53be4d4659b0abca6a69f57cc01;hb=04099992453279d1870b4d209da4ee2eda4259a3;hp=26aea719d45d658b2be76ca20f128b2e525b3eeb;hpb=86121293a63d2017f58df55edbfef5c6197acc4a;p=16.git diff --git a/src/pcxtest.c b/src/pcxtest.c index 26aea719..ea8bfdf0 100644 --- a/src/pcxtest.c +++ b/src/pcxtest.c @@ -64,14 +64,14 @@ void main() { page=modexDefaultPage(); //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); modexEnter(); /* fix up the palette and everything */ -//++++ modexPalUpdate(&bmp, 0, 0, 0); + modexPalUpdate1(bmp.palette); /* clear and draw one sprite and one bitmap */ modexClearRegion(&page, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 1);