fprintf(stderr,"Something is very wrong. I can't find any image to load for %s, and all the alternates fail too. I'm too bummed to continue.\n", imagedir);
exit(1);
}
}
}
/*
Takes an array of image pointers, NULL terminated, and combines them
to produce a new image.
All images are written centered, and the combined image is just large
enough to hold the largest passed image. If one image has more frames
than the others, the largest frame size is used and the smaller frame
images are replicated over the entire sequence. [BDyess]
*/
W_Image *
W_CreateCombinedImage(imagelist,color)
W_Image **imagelist;
W_Color color;
{
int width = 1, height = 1, frames = 1, i, centerx, centery;