Clap Your Feet
Useful Allegro Functions on 2.23.2008 -
/***********
* Purpose: draw the buffer behind an image
* Precondition: image to use
* Postcondition: returns the image with the buffer behind it
***********/
BITMAP *blitBigger(BITMAP *image)
{
clear(buffer); //clear the buffer (or leave it if you want the old image there)
blit(image, buffer, 0, 0, x, y, image->w, image->h);
//now copy the buffer image back into image (to make the smaller image
centered in the screen for blitting later)
image = create_bitmap(SCREEN_W, ...
1 results found