void main() {\r
bitmap_t bmp;
planar_buf_t *p;\r
- //int i;
- dword i;\r
+ int i;
page_t page;\r
word start;
int plane;\r
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