// planar_buf_t data; //supposively the sprite sheet data\r
////0000----\r
#ifdef __WATCOMC__\r
- struct sprite *spri; //supposively the sprite sheet data\r
+ struct sprite *spri; //supposively the sprite sheet data\r
+ memptr gr;\r
#endif\r
bitmap_t *data; //supposively the sprite sheet data//old format\r
sword hp; //hitpoints of the player\r
sword bakapee;\r
pan_t pan;\r
//debugswitches\r
-boolean panswitch=0;\r
+boolean panswitch=0,baka=0;\r
//extern boolean pageflipflop=1;\r
unsigned int i;\r
const char *cpus;\r
//mappalptr = map.tiles->btdata->palette;\r
\r
/* data */\r
- player[0].data = malloc(48*128); //TODO use exmm\r
- *player[0].data = bitmapLoadPcx("data/chikyuu.pcx"); // load sprite\r
+ if(CA_LoadFile("data/spri/chikyuu.vrs", &(player[0].gr), &gvar)) baka=1; else baka=0;\r
\r
/* create the planar buffer */\r
////++++ (player[0].data) = *planar_buf_from_bitmap(&p);\r