static char *image_filename[NUM_PICTURES] =
{
"RocksScreen.pcx",
+ "RocksElements.pcx",
"RocksDoor.pcx",
"RocksHeroes.pcx",
"RocksToons.pcx",
image_files = getCurrentImageList();
+ printf("D> %d\n", image_files[GFX_BD_DIAMOND].parameter[GFXARG_NUM_FRAMES]);
+ printf("W> %d\n", image_files[GFX_ROBOT_WHEEL].parameter[GFXARG_NUM_FRAMES]);
+
for(i=0; i<MAX_GRAPHICS; i++)
{
/* always start with reliable default values */
getGraphicSource(i, &graphic_info[i].bitmap,
&graphic_info[i].src_x, &graphic_info[i].src_y);
}
+
+#if 1
+ graphic_info[GFX_ABLENK].bitmap = getBitmapFromImageID(GFX_ROBOT_WHEEL);
+ graphic_info[GFX_ABLENK].src_x = 0;
+ graphic_info[GFX_ABLENK].src_y = 0;
+
+ graphic_info[GFX_ABLENK + 1].bitmap = getBitmapFromImageID(GFX_ROBOT_WHEEL);
+ graphic_info[GFX_ABLENK + 2].bitmap = getBitmapFromImageID(GFX_ROBOT_WHEEL);
+ graphic_info[GFX_ABLENK + 3].bitmap = getBitmapFromImageID(GFX_ROBOT_WHEEL);
+ graphic_info[GFX_ABLENK + 1].src_x = 1 * TILEX;
+ graphic_info[GFX_ABLENK + 2].src_x = 2 * TILEX;
+ graphic_info[GFX_ABLENK + 3].src_x = 3 * TILEX;
+ graphic_info[GFX_ABLENK + 1].src_y = 0;
+ graphic_info[GFX_ABLENK + 2].src_y = 0;
+ graphic_info[GFX_ABLENK + 3].src_y = 0;
+#endif
}
static void InitSoundInfo()